CPI版a-blog cms2.6.0.1でバックアップが復元できないトラブル

169 views
Skip to first unread message

株式会社データファーム 勝又孝幸

unread,
Mar 15, 2016, 8:57:12 PM3/15/16
to a-blog cms forum
簡単インストールを使ってタイトルのバージョンのa-blog cmsをインストールしました(簡単でした)
その上で、別のCPIにあるa-blog cmsにインストールしたバックアップを復元しようとしたところ、以下のエラーが出現しました。

: include(/usr/home/●●●●●●●/html/archives/backup_tmp/md5_hash.txt): failed to open stream: No such file or directory in /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2168

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2176

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2177

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2178

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2186

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2187

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php:37) in /usr/home/●●●●●●●/html/index.php on line 2192

以前のフォーラムの内容も確認して
・バックアップファイルに間違いがないか(archiveの方でないか)
なども確認しましたが正常でした。

その上で今度は
archiveの中にsqlのデータを展開して(backup_tmp)インポートも実行したのですが、こちらでも失敗でした。
(md5_hash.txtなどもある状態)

php.iniファイルを、CPIの提供のものを足してみたりしたのですがエラーは減ってもインポートは失敗しておりました。

: include(/usr/home/●●●●●●●/html/archives/backup_tmp/md5_hash.txt): failed to open stream: No such file or directory in /usr/home/●●●●●●●/html/php/ACMS/POST/Backup/Import.php on line 37

が残りました(確か…ですいません)

なにか他に参考になる情報はありますでしょうか。


山本一道@アップルップル

unread,
Mar 15, 2016, 9:12:58 PM3/15/16
to a-blog cms forum
エラーのメッセージを読むと /usr/home/●●●●●●●/html/archives/backup_tmp/md5_hash.txt が No such file or directory と出ております。
md5_hash.txt が見つからないというエラーです。 zip されている sql が大きすぎて解凍しきれていないのに、プログラムが動いてファイルが無いと言っています。

圧縮されているファイルをパソコン上で解凍して、/archives/backup_tmp に sql と md5_hash.txt アップロードして試してみるか、phpMyAdmin から SQL を実行してみてください。

株式会社データファーム 勝又孝幸

unread,
Mar 16, 2016, 1:09:01 AM3/16/16
to a-blog cms forum
/archives/backup_tmp に sql と md5_hash.txt をやってみたのですが、結局private/backup/にフォルダがある以上は、loopしちゃう感じですかね。ちょっと考えてみます。

2016年3月16日水曜日 10時12分58秒 UTC+9 山本一道@アップルップル:
phpMyAdmin から SQL を実行してみてください。

これはバックアップファイルがSQLで直接読めるといういみでしょうか? 

株式会社データファーム 勝又孝幸

unread,
Mar 16, 2016, 1:13:16 AM3/16/16
to a-blog cms forum
今確認したのですが、sqlファイルは191KBでした。
ファイルサイズが該当している雰囲気でもなかったです。

株式会社データファーム 勝又孝幸

unread,
Mar 16, 2016, 3:17:42 AM3/16/16
to a-blog cms forum
結局SQLに直接バックアップファイルを打ち込む形で解決しました。
一部調整をしましたが、ひとまず移行完了のご連絡まで。
ファイルサイズが問題んではないようです。

山本一道@アップルップル

unread,
Mar 16, 2016, 5:05:21 AM3/16/16
to a-blog cms forum
情報ありがとうございます。

株式会社データファーム 勝又孝幸

unread,
Mar 16, 2016, 5:57:10 AM3/16/16
to a-blog cms forum
正しいのか微妙ですが一応こんな形で作業しました。

伊藤淳

unread,
Mar 16, 2016, 9:28:37 PM3/16/16
to a-blog cms forum
お世話になっております。

情報ありがとうございます。大変助かります。
検証を行ってみたいと思います。

よろしくお願いいたします。
Reply all
Reply to author
Forward
0 new messages