Warning

If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

XWiki kļūdu novēršana

Information

Šajā lapā ir aprakstīti XWiki kļūdu novēršanas paņēmieni.

MySQL kļūdas

  1. Ja parādās kļūdas ziņojums:

    Error number 0 in 3: Exception while hibernate execute
    Wrapped Exception: could not insert: [[com.xpn.xwiki.doc.XWikiDeletedDocument]]
    ...
    com.mysql.jdbc.PacketTooBigException: Packet for query is too large (22344674 > 16776192). You can change this value on the server by setting the max_allowed_packet' variable.
    ...
  2. Atver failu /etc/mysql/my.cnf un tajā izmaina rindu:

    [[mysqld]]
    ...
    max_allowed_packet = 16M

    uz lielāku, piemēram:

    max_allowed_packet = 64M
  3. Pārstartē MySQL serveri.

 
 
Tags XWiki Kļūda
Created by Valdis Vītoliņš on 2013-11-09 11:22
Last modified by Valdis Vītoliņš on 2025-05-19 19:18
XWiki Powered
Creative Commons Attribution 3.0 Unported License