• Resolved cwscouten

    (@cwscouten)


    My front landing page looked very nice. I was trying to set up a template for product pages using plugins ShopEngine & Elementor. I saved a section and continued work. Later, I went to my site and discovered my front page totally broken. Internal pages were OK. After a brief panic, I realized I had it all backed up, most recently 4 days before, and went to Updraftplus to restore. Worked like a charm, I had to repeat things done in those 4 days. Then, abruptly, the landing page broke again, even worse. Ok, I know what to do. Go back to the last good backup and restore again, being careful to try to figure out what I was doing wrong. However, the restore operation failed. I scanned the log files, found the first negative indictor. Copied everything including and after that. See below for that. Talk of permission (nothing has changed about that) and not being able to delete old files. Bryce, I read the magazine article. It didn’t give me a way to fix this. I am not a programmer. Can anybody look at the errors, and tell me what I did wrong?

    Should I delete old files before trying again?

    “`using UpdraftPlus_ZipArchive, starting index 0
    0041.221 () Unzip progress: 10 out of 10 files (7.7 KB, error_log-old)
    0041.281 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 309, wp-admin/includes/class-wp-filesystem-direct.php)
    0041.520 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/home4/cwscouten/public_html/wp-content/mu-plugins)
    0041.536 () Restore failed…
    0041.536 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/home4/cwscouten/public_html/wp-content/mu-plugins)
    0041.536 () Restore failed
    0000.002 () Opened log file at time: Fri, 14 Jan 2022 15:10:51 +0000 on https://neurosciencetools.com
    0000.003 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.16.69 WP: 5.8.3 PHP: 7.4.27 (cgi-fcgi, Linux gator3013.hostgator.com 4.19.150-76.ELK.el6.x86_64 #1 SMP Wed Oct 7 01:34:10 CDT 2020 x86_64) MySQL: 5.6.41-84.1 (max packet size=268435456) WPLANG: en_US Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 80.7M | 83M) multisite: N openssl: OpenSSL 1.1.1m 14 Dec 2021 mcrypt: N LANG: ZipArchive::addFile: Y
    0000.058 () Free space on disk containing Updraft’s temporary directory: 142559.5 MB
    0000.087 () Restore setup, now closing connection and starting restore over AJAX.
    0000.014 () Opened log file at time: Fri, 14 Jan 2022 15:10:53 +0000 on https://neurosciencetools.com
    0000.014 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.16.69 WP: 5.8.3 PHP: 7.4.27 (cgi-fcgi, Linux gator3013.hostgator.com 4.19.150-76.ELK.el6.x86_64 #1 SMP Wed Oct 7 01:34:10 CDT 2020 x86_64) MySQL: 5.6.41-84.1 (max packet size=268435456) WPLANG: en_US Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 77.9M | 81M) multisite: N openssl: OpenSSL 1.1.1m 14 Dec 2021 mcrypt: N LANG: ZipArchive::addFile: Y
    0000.088 () Free space on disk containing Updraft’s temporary directory: 142559.4 MB
    0000.122 () Ensuring WP_Filesystem is setup for a restore
    0000.123 () WP_Filesystem is setup and ready for a restore
    0000.128 () Restore job started. Entities to restore: plugins, themes, others, db. Restore options: {“include_unspecified_tables”:false,”tables_to_restore”:[“wp_options”,”wp_users”,”wp_usermeta”,”wp_actionscheduler_actions”,”wp_actionscheduler_claims”,”wp_actionscheduler_groups”,”wp_actionscheduler_logs”,”wp_commentmeta”,”wp_comments”,”wp_links”,”wp_postmeta”,”wp_posts”,”wp_term_relationships”,”wp_term_taxonomy”,”wp_termmeta”,”wp_terms”,”wp_wc_category_lookup”,”wp_wc_product_meta_lookup”,”wp_wc_reserved_stock”,”wp_wc_tax_rate_classes”,”wp_woocommerce_order_itemmeta”,”wp_woocommerce_payment_tokenmeta”,”wp_gf_addon_feed”,”wp_gf_draft_submissions”,”wp_gf_entry”,”wp_gf_entry_meta”,”wp_gf_entry_notes”,”wp_gf_form”,”wp_gf_form_meta”,”wp_gf_form_revisions”,”wp_gf_form_view”,”wp_gf_rest_api_keys”,”wp_mailchimp_carts”,”wp_mailchimp_jobs”,”wp_mec_dates”,”wp_mec_events”,”wp_wc_admin_note_actions”,”wp_wc_admin_notes”,”wp_wc_customer_lookup”,”wp_wc_download_log”,”wp_wc_order_coupon_lookup”,”wp_wc_order_product_lookup”,”wp_wc_order_stats”,”wp_wc_order_tax_lookup”,”wp_wc_rate_limits”,”wp_wc_webhooks”,”wp_woocommerce_api_keys”,”wp_woocommerce_attribute_taxonomies”,”wp_woocommerce_downloadable_product_permissions”,”wp_woocommerce_log”,”wp_woocommerce_order_items”,”wp_woocommerce_payment_tokens”,”wp_woocommerce_sessions”,”wp_woocommerce_shipping_zone_locations”,”wp_woocommerce_shipping_zone_methods”,”wp_woocommerce_shipping_zones”,”wp_woocommerce_tax_rate_locations”,”wp_woocommerce_tax_rates”,”wp_yoast_indexable”,”wp_yoast_indexable_hierarchy”,”wp_yoast_migrations”,”wp_yoast_primary_term”,”wp_yoast_seo_links”,”wp_yoast_seo_meta”],”tables_to_skip”:[],”updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:false,”updraft_incremental_restore_point”:-1}
    0000.130 () Will not delete any archives after unpacking them, because there was no cloud storage for this backup
    0000.131 () Entity: others
    0000.131 () restore_backup(backup_file=backup_2022-01-08-2117_Neuroscience_Tools_b0d2998a3230-others.zip, type=others, info=a:2:{s:4:”path”;s:39:”/home4/cwscouten/public_html/wp-content”;s:11:”description”;s:6:”Others”;}, last_one=1)
    0000.131 () Unpacking backup… (backup_2022-01-08-2117_Neuroscience_Tools_b0d2998a3230-others.zip, 0 MB)
    0000.131 () Unpack resumption may be possible: zip_starting_index=0, last_exists=, last_size=n/a, last_status=a:3:{s:5:”index”;i:9;s:4:”info”;a:8:{s:4:”name”;s:13:”error_log-old”;s:5:”index”;i:9;s:3:”crc”;i:784033777;s:4:”size”;i:1;s:5:”mtime”;i:1635365420;s:9:”comp_size”;i:1;s:11:”comp_method”;i:0;s:17:”encryption_method”;i:0;}s:12:”size_written”;i:7920;}
    0000.135 () Unzipping backup_2022-01-08-2117_Neuroscience_Tools_b0d2998a3230-others.zip to /home4/cwscouten/public_html/wp-content/upgrade/f95a806e/ using UpdraftPlus_ZipArchive, starting index 0
    0000.139 () Unzip progress: 10 out of 10 files (7.7 KB, error_log-old)
    0000.142 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 309, wp-admin/includes/class-wp-filesystem-direct.php)
    0000.144 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/home4/cwscouten/public_html/wp-content/mu-plugins)
    0000.146 () Restore failed…
    0000.146 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/home4/cwscouten/public_html/wp-content/mu-plugins)
    0000.146 () Restore failed
    0000.005 () Opened log file at time: Sat, 15 Jan 2022 22:57:02 +0000 on https://neurosciencetools.com
    0000.006 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.22.1 WP: 5.8.3 PHP: 7.4.27 (cgi-fcgi, Linux gator3013.hostgator.com 4.19.150-76.ELK.el6.x86_64 #1 SMP Wed Oct 7 01:34:10 CDT 2020 x86_64) MySQL: 5.6.41-84.1 (max packet size=268435456) WPLANG: en_US Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 81.1M | 87M) multisite: N openssl: OpenSSL 1.1.1m 14 Dec 2021 mcrypt: N LANG: ZipArchive::addFile: Y
    0000.094 () Free space on disk containing Updraft’s temporary directory: 141465.8 MB
    0000.154 () Restore setup, now closing connection and starting restore over AJAX.
    0000.014 () Opened log file at time: Sat, 15 Jan 2022 22:57:04 +0000 on https://neurosciencetools.com
    0000.015 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.22.1 WP: 5.8.3 PHP: 7.4.27 (cgi-fcgi, Linux gator3013.hostgator.com 4.19.150-76.ELK.el6.x86_64 #1 SMP Wed Oct 7 01:34:10 CDT 2020 x86_64) MySQL: 5.6.41-84.1 (max packet size=268435456) WPLANG: en_US Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 77.9M | 81M) multisite: N openssl: OpenSSL 1.1.1m 14 Dec 2021 mcrypt: N LANG: ZipArchive::addFile: Y
    0000.117 () Free space on disk containing Updraft’s temporary directory: 141465.8 MB
    0000.159 () Ensuring WP_Filesystem is setup for a restore
    0000.161 () WP_Filesystem is setup and ready for a restore
    0000.175 () Restore job started. Entities to restore: plugins, themes, others, db. Restore options: {“include_unspecified_tables”:false,”tables_to_restore”:[“wp_options”,”wp_users”,”wp_usermeta”,”wp_actionscheduler_actions”,”wp_actionscheduler_claims”,”wp_actionscheduler_groups”,”wp_actionscheduler_logs”,”wp_commentmeta”,”wp_comments”,”wp_links”,”wp_postmeta”,”wp_posts”,”wp_term_relationships”,”wp_term_taxonomy”,”wp_termmeta”,”wp_terms”,”wp_wc_category_lookup”,”wp_wc_product_meta_lookup”,”wp_wc_reserved_stock”,”wp_wc_tax_rate_classes”,”wp_woocommerce_order_itemmeta”,”wp_woocommerce_payment_tokenmeta”,”wp_gf_addon_feed”,”wp_gf_draft_submissions”,”wp_gf_entry”,”wp_gf_entry_meta”,”wp_gf_entry_notes”,”wp_gf_form”,”wp_gf_form_meta”,”wp_gf_form_revisions”,”wp_gf_form_view”,”wp_gf_rest_api_keys”,”wp_mailchimp_carts”,”wp_mailchimp_jobs”,”wp_mec_dates”,”wp_mec_events”,”wp_wc_admin_note_actions”,”wp_wc_admin_notes”,”wp_wc_customer_lookup”,”wp_wc_download_log”,”wp_wc_order_coupon_lookup”,”wp_wc_order_product_lookup”,”wp_wc_order_stats”,”wp_wc_order_tax_lookup”,”wp_wc_rate_limits”,”wp_wc_webhooks”,”wp_woocommerce_api_keys”,”wp_woocommerce_attribute_taxonomies”,”wp_woocommerce_downloadable_product_permissions”,”wp_woocommerce_log”,”wp_woocommerce_order_items”,”wp_woocommerce_payment_tokens”,”wp_woocommerce_sessions”,”wp_woocommerce_shipping_zone_locations”,”wp_woocommerce_shipping_zone_methods”,”wp_woocommerce_shipping_zones”,”wp_woocommerce_tax_rate_locations”,”wp_woocommerce_tax_rates”,”wp_yoast_indexable”,”wp_yoast_indexable_hierarchy”,”wp_yoast_migrations”,”wp_yoast_primary_term”,”wp_yoast_seo_links”,”wp_yoast_seo_meta”],”tables_to_skip”:[],”updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:false,”updraft_incremental_restore_point”:-1}
    0000.278 () Will not delete any archives after unpacking them, because there was no cloud storage for this backup
    0000.279 () Entity: others
    0000.279 () restore_backup(backup_file=backup_2022-01-08-2117_Neuroscience_Tools_b0d2998a3230-others.zip, type=others, info=a:2:{s:4:”path”;s:39:”/home4/cwscouten/public_html/wp-content”;s:11:”description”;s:6:”Others”;}, last_one=1)
    0000.279 () Unpacking backup… (backup_2022-01-08-2117_Neuroscience_Tools_b0d2998a3230-others.zip, 0 MB)
    0000.280 () Unpack resumption may be possible: zip_starting_index=0, last_exists=, last_size=n/a, last_status=a:3:{s:5:”index”;i:9;s:4:”info”;a:8:{s:4:”name”;s:13:”error_log-old”;s:5:”index”;i:9;s:3:”crc”;i:784033777;s:4:”size”;i:1;s:5:”mtime”;i:1635365420;s:9:”comp_size”;i:1;s:11:”comp_method”;i:0;s:17:”encryption_method”;i:0;}s:12:”size_written”;i:7920;}
    0000.302 () Unzipping backup_2022-01-08-2117_Neuroscience_Tools_b0d2998a3230-others.zip to /home4/cwscouten/public_html/wp-content/upgrade/f95a806e/ using UpdraftPlus_ZipArchive, starting index 0
    0000.414 () Unzip progress: 10 out of 10 files (7.7 KB, error_log-old)
    0000.450 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 309, wp-admin/includes/class-wp-filesystem-direct.php)
    0000.455 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/home4/cwscouten/public_html/wp-content/mu-plugins)
    0000.457 () Restore failed…
    0000.458 () Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/home4/cwscouten/public_html/wp-content/mu-plugins)
    0000.458 () Restore failed

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    It appears that the backup folder permissions is not set properly.

    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

    Regards,
    Bryle

    Thread Starter cwscouten

    (@cwscouten)

    Bryle, thanks for replying. However, the answer is not helpful. I have seen it several places in the FAQ’s, and had already been to the magazine article. I am quite new to WordPress. And a startup company. I have mainteaine the article begins with “you can use this command in your server’s terminal:”
    Which server? Hostgator? WordPress? Do I have access to change somebodies server? it continues worse. You answer is to high level programming people. Any help for a newbie? Step through what, if anything, I can do from my computer. Don’t know what to do from somebodies else’s terminal.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    You can check for host specific articles like this on how to change file permission or ask your host/server admin to change the file permission for you.

    Thanks,
    Bryle

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updraft Plus failed to Restore’ is closed to new replies.