Cannot Restore from XML Backup when Confluence is Backed by MySQL

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When restoring a Confluence site or space XML backup, the progress bar eventually stops advancing and stays that way indefinitely.

No errors appear on screen or in the logs. The  atlassian-confluence.log indicates that the import has been started, but nothing follows:

2012-06-10 16:38:10,273 INFO [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Beginning import by user admin

原因

MySQL's packet size setting may be set too low. 

ソリューション

Set the MySQL packet size to 32M or larger and restart MySQL Server.

For MySQL versions 4.0 and later, use this syntax:

shell> mysqld --max_allowed_packet=32M

または、MySQLの my.cnfファイル (Windows OS では my.ini という名前が多い) を編集することで、MySQL サーバの設定で同じことを行うこともできます。ファイル内で [mysqld] セクションを見つけ、以下のパラメータを追加あるいは修正します。

[mysqld]
...
max_allowed_packet = 32M
...

For more information, please refer to MySQL manual: http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html.

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.