• Resolved brendanpijuan

    (@brendanpijuan)


    Here is the error report:

    [STEP] [2022-07-22 05:12:21] Initializing restore process
    [STEP] [2022-07-22 05:12:23] Looking for PHP CLI executable file.
    [INFO] [2022-07-22 05:12:24] PHP CLI Filename: php
    [INFO] [2022-07-22 05:12:24] PHP CLI Version: 7.4.30 (cli)
    [INFO] [2022-07-22 05:12:24] PHP CLI Memory limit: 512M/512M
    [INFO] [2022-07-22 05:12:24] PHP CLI Execution limit: 0/0
    [SUCCESS] [2022-07-22 05:12:24] We properly detected PHP CLI executable file.
    [WARN] [2022-07-22 05:12:26] No response from PHP CLI - plugin will try to recover the migration with traditional restore.
    [SUCCESS] [2022-07-22 05:12:26] Restore process responded
    [SUCCESS] [2022-07-22 05:12:26] Locking migration process
    [STEP] [2022-07-22 05:12:26] Initializing restore process
    [INFO] [2022-07-22 05:12:26] Backup & Migration version: 1.2.1
    [INFO] [2022-07-22 05:12:26] Initializing custom error handler
    [INFO] [2022-07-22 05:12:26] Site which will be restored: ***site_url***
    [INFO] [2022-07-22 05:12:26] PHP Version: 5.6.40
    [INFO] [2022-07-22 05:12:26] WP Version: 6.0.1
    [INFO] [2022-07-22 05:12:26] MySQL Version: 5.6.51
    [INFO] [2022-07-22 05:12:26] MySQL Max Length: 268435456
    [INFO] [2022-07-22 05:12:26] Web server: Apache
    [INFO] [2022-07-22 05:12:26] Max execution time (in seconds): 259200
    [SUCCESS] [2022-07-22 05:12:26] Restore process initialized successfully.
    [STEP] [2022-07-22 05:12:26] Free space checking...
    [INFO] [2022-07-22 05:12:26] Checking if there is enough amount of free space
    [INFO] [2022-07-22 05:12:26] Requires at least 520461841 bytes. [496.35 MB]
    [INFO] [2022-07-22 05:12:26] Disk free space function is not disabled - using it...
    [INFO] [2022-07-22 05:12:26] Checking this path/partition: ***ABSPATH***/wp-content/***backup_path***/backups
    [SUCCESS] [2022-07-22 05:12:26] There is 827,084.25 MB free. [807.7 GB]
    [SUCCESS] [2022-07-22 05:12:26] Great! We have enough space.
    [SUCCESS] [2022-07-22 05:12:26] Confirmed, there is enough space on the device, checked: 520461841 bytes.
    [STEP] [2022-07-22 05:12:26] Making new secret key for current restore process.
    [SUCCESS] [2022-07-22 05:12:26] Secret key generated, it will be returned to you (ping).
    [INFO] [2022-07-22 05:12:29] Secret key detected successfully (pong)!
    [INFO] [2022-07-22 05:12:29] Making temporary directory
    [STEP] [2022-07-22 05:12:29] Scanning archive...
    [INFO] [2022-07-22 05:12:32] Scan found files inside the backup.
    [ERROR] [2022-07-22 05:12:34] Something bad happened...
    [ERROR] [2022-07-22 05:12:34] SplFileObject::__construct(***ABSPATH***/wp-content/plugins/backup-backup/includes/htaccess/.restore_scan_1658466746): failed to open stream: No such file or directory
    [ERROR] [2022-07-22 05:12:34] 298 @ ***ABSPATH***/wp-content/plugins/backup-backup/includes/extracter/extract.php
    [INFO] [2022-07-22 05:12:34] Removing 3 files
    [ERROR] [2022-07-22 05:12:34] Aborting...
    [INFO] [2022-07-22 05:12:34] Unlocking migration
    [DOWNLOAD GENERATED] File downloaded on (server time): 2022-07-22 05:12:37
    [DOWNLOAD GENERATED] Last update (seconds): 16 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2022-07-22 05:12:21
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author iClyde

    (@iclyde)

    Hi @brendanpijuan

    It may mean that your website does not have permissions to write/replace files.

    You can verify that in site-health section:
    https://<your_domain>/wp-admin/site-health.php?tab=debug
    – Expand “Filesystem Permissions” section to see it (all should be “writable”)

    If “The main WordPress directory” is not writable our plugin can’t restore the backup, you will need to adjust permissions.

    Please follow these steps on the site where you experienced this error:
    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

    Once you do that, try to run your migration process using the same URL/backup.

    Let me know if your permissions are writable ??
    Thank you!

    Thread Starter brendanpijuan

    (@brendanpijuan)

    Thank you for your reply.

    Everything is shown as writable in the “Filesystem Permissions” section. The “The main WordPress directory” appears writable.

    Sorry I dont know how to get to the “Other options” section.

    Should I still go ahead and run the migration process again?
    Thank you

    Plugin Author iClyde

    (@iclyde)

    Hi @brendanpijuan

    My apologies for delayed reply.

    By “Other options” I meant, third section inside our plugin settings.
    Once you do that, you can try to run the restoration once again.

    Let me know if now it works ??
    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 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in migrating my WordPress site’ is closed to new replies.