Issue with Local (by flywheel) restore

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Issue with Local (by flywheel) restore

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #535768
    Leslee Langlands
    Participant

    When I try to restore my backup to my Local dev site I get errors. Has anyone else had this issue? I saw an old post, but nothing worked. Can I not upload files here to show screenshots?

    Thanks!
    Leslee

    #536164
    Bryle Crodua
    Moderator

    Hi Leslee,

    To help us work out the cause of your problem, can you please send us a copy of the migration log?
    You can find this log in the ‘wp-content/updraft’ directory of your new site location.
    You can send the log file as an attachment or copy the contents into an online tool (such as https://pastebin.com/ )

    For screenshots, you can use online tools like https://prnt.sc/ to take a screenshot and paste the link here. Alternatively, you can upload the screenshots to Dropbox or Google Drive and share the link here.

    Best Wishes,
    Bryle

    #536249
    Leslee Langlands
    Participant

    Hi there,

    Here is the error log and link to screenshots.

    https://drive.google.com/drive/folders/1BvNa7zDGpTRh4W-15_Nll9j0jHG0oZwe?usp=sharing

    0000.004 () Opened log file at time: Fri, 20 Mar 2020 17:13:18 +0000 on https://localhost:10011
    0000.005 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 2.16.22.1 WP: 5.3.2 PHP: 7.3.5 (fpm-fcgi, Darwin Leslees-MacBook-Pro.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64) MySQL: 8.0.16 WPLANG: en_US Server: nginx/1.16.0 safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 9.6M | 4M) multisite: N openssl: OpenSSL 1.1.1d 10 Sep 2019 mcrypt: N LANG: ZipArchive::addFile: Y
    0000.005 () Free space on disk containing Updraft’s temporary directory: 32173.1 MB
    0000.003 () Opened log file at time: Fri, 20 Mar 2020 17:13:19 +0000 on https://localhost:10011
    0000.003 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 2.16.22.1 WP: 5.3.2 PHP: 7.3.5 (fpm-fcgi, Darwin Leslees-MacBook-Pro.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64) MySQL: 8.0.16 WPLANG: en_US Server: nginx/1.16.0 safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 8.4M | 2M) multisite: N openssl: OpenSSL 1.1.1d 10 Sep 2019 mcrypt: N LANG: ZipArchive::addFile: Y
    0000.003 () Free space on disk containing Updraft’s temporary directory: 32171.9 MB
    0000.004 () Ensuring WP_Filesystem is setup for a restore
    0000.005 () WP_Filesystem is setup and ready for a restore
    0000.007 () Restore job started. Entities to restore: others. Restore options: {“updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:false,”updraft_incremental_restore_point”:-1}
    0000.009 () Will not delete any archives after unpacking them, because there was no cloud storage for this backup
    0000.010 () Entity: others
    0000.010 () restore_backup(backup_file=backup_2020-03-19-2003_RENUIT_Ventures_LTD_984f247864d0-others.zip, type=others, info=a:2:{s:4:”path”;s:66:”/Users/lesleelanglands/Local Sites/renuithxp/app/public/wp-content”;s:11:”description”;s:6:”Others”;}, last_one=1)
    0000.010 () Unpacking backup… (backup_2020-03-19-2003_RENUIT_Ventures_LTD_984f247864d0-others.zip, 6.1 MB)
    0000.037 () Unzipping backup_2020-03-19-2003_RENUIT_Ventures_LTD_984f247864d0-others.zip to /Users/lesleelanglands/Local Sites/renuithxp/app/public/wp-content/upgrade/ee2d7bb4/ using UpdraftPlus_ZipArchive, starting index 0
    0000.169 () Unzip progress: 48 out of 48 files (17.8 MB, wflogs-old/.htaccess)
    0000.176 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 281, wp-admin/includes/class-wp-filesystem-direct.php)
    0000.180 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/Users/lesleelanglands/Local Sites/renuithxp/app/public/wp-content/wflogs)
    0000.180 () Restore failed…
    0000.181 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/Users/lesleelanglands/Local Sites/renuithxp/app/public/wp-content/wflogs)
    0000.181 () Restore failed

    #536939
    Bryle Crodua
    Moderator

    Hi,

    There appears to be a file permission issue, meaning UpdraftPlus or WordPress does not have the correct read or write permission to a certain folder or file.

    The following article on Smashing Magazine is a good guide as to the file permissions/ownerships that are required for WordPress: https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/#file-and-folder-ownership-for-wordpress

    Kind Regards,
    Bryle

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Issue with Local (by flywheel) restore’ is closed to new replies.