KUSANAGI9 migrate –export 失敗

TOP Forums バグ報告と提案(Requests and Feedback) KUSANAGI9 migrate –export 失敗

KUSANAGI9 migrate –export 失敗

Viewing 2 reply threads
  • Author
    Posts
    • #1414
      oitan
      Participant
        kusanagi migrate --export hogehoge
        Target profile is hogehoge.
        tar: hogehoge/DocumentRoot/hoge/wp-content: file changed as we read it
        Execution failed: ionice -c 3 tar -czf /home/kusanagi/hogehoge-2024-08-19.tar.gz -C /home/kusanagi hogehoge
        Return code was 1
        Export to /home/kusanagi/hogehoge-2024-08-19.tar.gz failed.
        kusanagi migrate: error: command returned 1
        kusanagi migrate: error: migrate failed

        とエラーが表示され、exportに失敗します。

        手動でionice -c 3 tar -czf /home/kusanagi/hogehoge-2024-08-19.tar.gz -C /home/kusanagi hogehogeを実行したところ特にエラーなく終了しました。
        また、他のプロファイルでは正常にexportが完了されます。
        サイトの合計ファイルサイズが10GB近いのでそれが原因…?

        以下構成

        KUSANAGI Version 9.5.4-1.el9
        sakura
        CentOS Stream 9
        
        *** (inactive) nginx : nginx127 ***
        * nginx127.service - The NGINX HTTP and reverse proxy server
             Loaded: loaded (/usr/lib/systemd/system/nginx127.service; disabled; preset: disabled)
             Active: inactive (dead)
        
        *** (active) httpd : httpd24 ***
        * httpd.service - The Apache HTTP Server
             Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
             Active: active (running) since Mon 2024-08-19 03:18:27 JST; 33min ago
        
        *** (active) php : php83 ***
        * php-fpm.service - The PHP FastCGI Process Manager
             Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; preset: disabled)
             Active: active (running) since Mon 2024-08-19 03:18:27 JST; 33min ago
        
        *** (active) mariadb : mariadb10.11 ***
        * mariadb.service - MariaDB 10.11.9 database server
             Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: disabled)
             Active: active (running) since Sat 2024-08-17 11:22:18 JST; 1 day 16h ago
        
        *** (inactive) psql :  ***
        
        *** (inactive) pgpool-II :  ***
        
        *** python ***
        Python 3.9.19
        
        *** Cache status ***
        
        *** WAF ***
        off
        
        *** SELinux ***
        off (permanent)
      • #1415
        yosuke
        Participant

          oitan さん、こんにちわ。

          tar: hogehoge/DocumentRoot/hoge/wp-content: file changed as we read it

          tar でバックアップを取っている最中に変更が加えられたようです。
          ( WordPress にアクセスがあって更新された可能性があります。)

          nginx/httpd を止めるなどして、コンテンツに更新がかからない状態で、バックアップをとってみてください。

          • This reply was modified 3 weeks, 3 days ago by yosuke.
        • #1417
          oitan
          Participant

            yousuke さん

            コンテンツ更新を行っていそうなプラグイン等を止めたところ、無事exportできました。すみません検索すれば解決していたであろう所、エラーっぽくない文言に感じたので怠ってしまいお手数をおかけしました。ありがとうございました。

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.

        Next article

        フォーラムについて