Title: Critical error while restoring uploads
Last modified: February 13, 2024

---

# Critical error while restoring uploads

 *  Resolved [chaitanysharan](https://wordpress.org/support/users/chaitanysharan/)
 * (@chaitanysharan)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/critical-error-while-restoring-uploads/)
 * I have to move my website from one server to another. after creating my site 
   on new server, I tried to restore data from backup but it stopped while processing
   UPLOADS, stating there is critical error. I tried to restore again without the
   UPLOADS restore and it restored perfectly. again I tried with the UPLOADS only
   and got the same error.
 * Log File is here
 * 0000.007 () Opened log file at time: Tue, 13 Feb 2024 07:15:45 +0000 on [https://www.ladiesown.in](https://www.ladiesown.in)
   0000.008 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.23.16 WP: 6.4.3 PHP: 8.0.30 (litespeed, Linux ubuntu 5.15.0-94-generic #104-
   Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64) MySQL: 10.11.7-MariaDB-1:10.11.7
   +maria~ubu2204 (max packet size=16777216) WPLANG: en_US Server: LiteSpeed safe_mode:
   0 max_execution_time: 900 memory_limit: 512M (used: 54.7M | 62M) multisite: N
   openssl: OpenSSL 3.0.2 15 Mar 2022 mcrypt: N LANG: ZipArchive::addFile: Y 0000.008()
   Free space on disk containing Updraft’s temporary directory: 225143.3 MB 0000.025()
   Restore setup, now closing connection and starting restore over AJAX. 0000.006()
   Opened log file at time: Tue, 13 Feb 2024 07:15:47 +0000 on [https://www.ladiesown.in](https://www.ladiesown.in)
   0000.007 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.23.16 WP: 6.4.3 PHP: 8.0.30 (litespeed, Linux ubuntu 5.15.0-94-generic #104-
   Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64) MySQL: 10.11.7-MariaDB-1:10.11.7
   +maria~ubu2204 (max packet size=16777216) WPLANG: en_US Server: LiteSpeed safe_mode:
   0 max_execution_time: 900 memory_limit: 512M (used: 51.4M | 64M) multisite: N
   openssl: OpenSSL 3.0.2 15 Mar 2022 mcrypt: N LANG: ZipArchive::addFile: Y 0000.007()
   Free space on disk containing Updraft’s temporary directory: 225143.3 MB 0000.050()
   Ensuring WP_Filesystem is setup for a restore 0000.051 () WP_Filesystem is setup
   and ready for a restore 0000.058 () Restore job started. Entities to restore:
   uploads. Restore options: {“updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:
   false,”updraft_incremental_restore_point”:-1} 0000.059 () PHP event: code E_WARNING:
   mkdir(): File exists (line 558, wp-admin/includes/class-wp-filesystem-direct.
   php) 0000.066 () Entity: uploads 0000.066 () restore_backup(backup_file=backup_2024-
   02-12-0548_Ladies_Own_1c5688418fcc-uploads.zip, type=uploads, info=a:2:{s:4:”
   path”;s:49:”/home/ladiesown.in/public_html/wp-content/uploads”;s:11:”description”;
   s:7:”Uploads”;}, last_one=) 0000.066 () Unpacking backup… (backup_2024-02-12-
   0548_Ladies_Own_1c5688418fcc-uploads.zip, 1322.7 MB) 0000.067 () Unzipping backup_2024-
   02-12-0548_Ladies_Own_1c5688418fcc-uploads.zip to /home/ladiesown.in/public_html/
   wp-content/upgrade/bb4e2212/ using UpdraftPlus_ZipArchive, starting index 0 0000.074()
   PHP event: code E_WARNING: fopen(/home/ladiesown.in/public_html/wp-content/uploads/
   wc-logs/fatal-errors-2024-02-13-526d04576aaa543f431d525775ce81cf.log): Failed
   to open stream: No such file or directory (line 148, wp-content/plugins/woocommerce/
   includes/log-handlers/class-wc-log-handler-file.php) 0000.074 () PHP event: code
   E_WARNING: fopen(/home/ladiesown.in/public_html/wp-content/uploads/wc-logs/fatal-
   errors-2024-02-13-526d04576aaa543f431d525775ce81cf.log): Failed to open stream:
   No such file or directory (line 158, wp-content/plugins/woocommerce/includes/
   log-handlers/class-wc-log-handler-file.php) 0000.006 () Opened log file at time:
   Tue, 13 Feb 2024 07:17:50 +0000 on [https://www.ladiesown.in](https://www.ladiesown.in)
   0000.006 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.23.16 WP: 6.4.3 PHP: 8.0.30 (litespeed, Linux ubuntu 5.15.0-94-generic #104-
   Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64) MySQL: 10.11.7-MariaDB-1:10.11.7
   +maria~ubu2204 (max packet size=16777216) WPLANG: en_US Server: LiteSpeed safe_mode:
   0 max_execution_time: 900 memory_limit: 512M (used: 51.4M | 68M) multisite: N
   openssl: OpenSSL 3.0.2 15 Mar 2022 mcrypt: N LANG: ZipArchive::addFile: Y 0000.006()
   Free space on disk containing Updraft’s temporary directory: 225089.6 MB 0000.016()
   Ensuring WP_Filesystem is setup for a restore 0000.016 () WP_Filesystem is setup
   and ready for a restore 0000.017 () Restore job started. Entities to restore:
   uploads. Restore options: {“updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:
   false,”updraft_incremental_restore_point”:-1} 0000.018 () PHP event: code E_WARNING:
   mkdir(): File exists (line 558, wp-admin/includes/class-wp-filesystem-direct.
   php) 0000.018 () Entity: uploads 0000.018 () restore_backup(backup_file=backup_2024-
   02-12-0548_Ladies_Own_1c5688418fcc-uploads.zip, type=uploads, info=a:2:{s:4:”
   path”;s:49:”/home/ladiesown.in/public_html/wp-content/uploads”;s:11:”description”;
   s:7:”Uploads”;}, last_one=) 0000.018 () Unpacking backup… (backup_2024-02-12-
   0548_Ladies_Own_1c5688418fcc-uploads.zip, 1322.7 MB) 0000.024 () Unzipping backup_2024-
   02-12-0548_Ladies_Own_1c5688418fcc-uploads.zip to /home/ladiesown.in/public_html/
   wp-content/upgrade/bb4e2212/ using UpdraftPlus_ZipArchive, starting index 0 0000.029()
   PHP event: code E_WARNING: fopen(/home/ladiesown.in/public_html/wp-content/uploads/
   wc-logs/fatal-errors-2024-02-13-526d04576aaa543f431d525775ce81cf.log): Failed
   to open stream: No such file or directory (line 148, wp-content/plugins/woocommerce/
   includes/log-handlers/class-wc-log-handler-file.php) 0000.029 () PHP event: code
   E_WARNING: fopen(/home/ladiesown.in/public_html/wp-content/uploads/wc-logs/fatal-
   errors-2024-02-13-526d04576aaa543f431d525775ce81cf.log): Failed to open stream:
   No such file or directory (line 158, wp-content/plugins/woocommerce/includes/
   log-handlers/class-wc-log-handler-file.php)

Viewing 1 replies (of 1 total)

 *  Plugin Support [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * (@vupdraft)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/critical-error-while-restoring-uploads/#post-17421783)
 * The error that you are getting suggest that one of your wc log handlers folders
   isn’t installed properly,
 * Can you try installing a fresh copy of WooCommerce on the destination site and
   then restoring your uploads.
 * Do you still have access to your source site (the other option is to exclude 
   this from the backup in the settings tab if you do)

Viewing 1 replies (of 1 total)

The topic ‘Critical error while restoring uploads’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/critical-error-while-restoring-uploads/#post-17421783)
 * Status: resolved