• Resolved berndhennig

    (@berndhennig)


    G’Day,

    my first post, so sorry if I do something wrong.

    I took over a webside my daugther created for me with WP, I’m one of
    thise guys which wrote (from 1995 on) websides with vi (UNIX editor)
    typing HTML (sigh). So WP is “new” for me (double-sigh).

    First thing (as an old UNIX guy) I want to backup the webside, so
    I bought this tool to backup.

    After the update of WP to 6 I tried to restore the content and got
    this log with the error:

    [STEP] [2022-05-31 06:54:54] Wiederherstellung wird gestartet
    [STEP] [2022-05-31 06:54:55] Suche nach ausführbarer PHP-CLI-Datei.
    [WARN] [2022-05-31 06:54:55] Es konnte keine geeignete ausführbare PHP-CLI-Datei gefunden werden, dieser Prozess ist m?glicherweise instabil.
    [SUCCESS] [2022-05-31 06:54:55] Wiederherstellungsprozess best?tigt
    [SUCCESS] [2022-05-31 06:54:55] Migrationsprozesses wird gesperrt
    [STEP] [2022-05-31 06:54:55] Wiederherstellung wird gestartet
    [INFO] [2022-05-31 06:54:55] Backup & Migration-Version: 1.2.1
    [INFO] [2022-05-31 06:54:55] Custom-Error-Handler wird initiiert
    [INFO] [2022-05-31 06:54:55] Wiederherzustellende Website:https://www.streckenflug.de
    [INFO] [2022-05-31 06:54:55] PHP-Version: 7.3.33-1+ubuntu18.04.1+deb.sury.org+1
    [INFO] [2022-05-31 06:54:55] WP-Version: 6.0
    [INFO] [2022-05-31 06:54:55] MySQL Version: 5.7.38
    [INFO] [2022-05-31 06:54:55] MySQL Max Length: 16777216
    [INFO] [2022-05-31 06:54:55] Webserver: Apache/2.4.29 (Ubuntu)
    [INFO] [2022-05-31 06:54:55] Maximale Ausführungszeit (in Sekunden): 259200
    [INFO] [2022-05-31 06:54:55] Premium-Plugin ist freigeschaltet und aktiviert
    [SUCCESS] [2022-05-31 06:54:55] Wiederherstellungsprozess erfolgreich gestartet.
    [STEP] [2022-05-31 06:54:55] Prüfung von verfügbarem Speicherplatz…
    [INFO] [2022-05-31 06:54:55] Prüfe verfügbaren Speicherplatz
    [INFO] [2022-05-31 06:54:55] Erfordert mindestens 186954909Bytes. [178.29 MB]
    [INFO] [2022-05-31 06:54:55] disk_free_space()-Funktion wird verwendet…
    [INFO] [2022-05-31 06:54:55] Pfad/Partition wird überprüft:***ABSPATH***/wp-content/***backup_path***/backups
    [SUCCESS] [2022-05-31 06:54:55] Noch268,774.73 MB frei. [262.48 GB]
    [SUCCESS] [2022-05-31 06:54:55] Super! Es gibt genug Speicherplatz!
    [SUCCESS] [2022-05-31 06:54:55] Confirmed, there is enough space on the device, checked: 186954909 bytes.
    [STEP] [2022-05-31 06:54:55] Erstelle neuen Geheimschlüssel für den aktuellen Wiederherstellungsprozess.
    [SUCCESS] [2022-05-31 06:54:55] Geheimschlüssel wurde erstellt, er wird an dich zurückgesendet (ping).
    [INFO] [2022-05-31 06:54:55] Geheimer Schlüssel erfolgreich erkannt (pong)!
    [INFO] [2022-05-31 06:54:55] Erstellen eines tempor?ren Verzeichnisses
    [STEP] [2022-05-31 06:54:55] Scannen von Archiv…
    [INFO] [2022-05-31 06:54:56] Der Scan hat5250 Dateien im Backup gefunden.
    [STEP] [2022-05-31 06:54:56] Vorbereiten der Extrahierungstechnik…
    [INFO] [2022-05-31 06:54:56] Exportierte Dateien pro Batch:1000
    [ERROR] [2022-05-31 06:54:56] Etwas ist schief gegangen…
    [ERROR] [2022-05-31 06:54:56] PHP-ZIPv2: Directory not found, and unable to create it
    [ERROR] [2022-05-31 06:54:56] 606 @ ***ABSPATH***/wp-content/plugins/backup-backup/includes/zipper/src/zip.php
    [ERROR] [2022-05-31 06:54:56] Abbruch…
    [INFO] [2022-05-31 06:54:56] Migration wird freigeschaltet
    [DOWNLOAD ERSTELLT] Datei heruntergeladen am (Serverzeit): 2022-05-31 06:54:59
    [DOWNLOAD ERSTELLT] Zuletzt aktualisiert (Sekunden): 5Sekunden zuvor
    [DOWNLOAD ERSTELLT] Zuletzt aktualisiert (Datum): 2022-05-31 06:54:54

    (Sorry, most of the text is in german)

    – Error: [ERROR] [2022-05-31 06:54:56] 606 @ ***ABSPATH***/wp-content/plugins/backup-backup/includes/zipper/src/zip.php

    But (logged into the system):

    root@www /srv/virtuelle-webserver/streckenflug.de/wp-content/plugins/backup-backup/includes/zipper/src #
    total 40
    drwxr-xr-x 2 www-data www-data 4096 May 31 08:32 .
    drwxr-xr-x 3 www-data www-data 4096 May 31 08:32 ..
    -rwxr-xr-x 1 www-data www-data 30627 May 31 08:32 zip.php

    (chmod +x by me, didn’t help)

    So the error is WRONG (?) – zip.php is avaiable…..

    Thanks for help

    BR

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author iClyde

    (@iclyde)

    Hi @berndhennig

    That’s great that you know how to use shell, you will need it to resolve the issue.

    You was quite right, it looks like PHP does not have permissions to create directory in root directory of your WordPress instance.

    You can check file permissions here: https://www.streckenflug.de/wp-admin/site-health.php?tab=debug – scroll at the bottom tab named “Filesystem Permissions”.
    All of them should be “Writable”.

    The root directory for you should be:
    /srv/virtuelle-webserver/streckenflug.de

    So, simply apply:
    chmod -R 755 /srv/virtuelle-webserver/streckenflug.de

    And also make sure that PHP is not running under different user than www-data.

    Once you adjust the permissions, double check at the site-health page.

    When the fix is confirmed, open our plugin settings and follow:
    1. Go to “Other options” section
    2. Disable PHP CLI checking: https://prnt.sc/1sljr31
    3. Save “Other options” section
    4. Force stop both processes: https://prnt.sc/1trv1tm

    Then you can try to run the restoration once again.

    Let me know if that solves your issue ??
    Thank you!

    Plugin Author iClyde

    (@iclyde)

    As we didn’t hear any reply in last days.
    I can assume that you resolved the issue.

    Feel free to open new topic if I am wrong!
    Thank you ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘First try to backup – error’ is closed to new replies.