Title: theme restore failed
Last modified: August 24, 2019

---

# theme restore failed

 *  Resolved [edebe2](https://wordpress.org/support/users/edebe2/)
 * (@edebe2)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/theme-restore-failed/)
 * Theme restore failed – see log file below.
    Permissions are set: All files are
   664 All folders are 775 wp-config.php is 660
 * Please advise
 * 0000.055 () Opened log file at time: Fri, 23 Aug 2019 04:08:08 +0000 on [http://dev.bridgewatermarble.com](http://dev.bridgewatermarble.com)
   
   0000.057 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.16.16 WP: 5.2.2 PHP: 7.2.13 (fpm-fcgi, Linux ip-172-26-0-249 4.4.0-1074-aws#
   84-Ubuntu SMP Thu Dec 6 08:57:58 UTC 2018 x86_64) MySQL: 8.0.13 WPLANG: en_US
   Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used:
   13.9M | 8M) multisite: N openssl: OpenSSL 1.0.2q 20 Nov 2018 mcrypt: N LANG: 
   ZipArchive::addFile: Y 0000.057 () Free space on disk containing Updraft’s temporary
   directory: 13141.7 MB 0000.097 () Opened log file at time: Fri, 23 Aug 2019 04:
   08:09 +0000 on [http://dev.bridgewatermarble.com](http://dev.bridgewatermarble.com)
   0000.097 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.16.16 WP: 5.2.2 PHP: 7.2.13 (fpm-fcgi, Linux ip-172-26-0-249 4.4.0-1074-aws#
   84-Ubuntu SMP Thu Dec 6 08:57:58 UTC 2018 x86_64) MySQL: 8.0.13 WPLANG: en_US
   Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used:
   13.2M | 2M) multisite: N openssl: OpenSSL 1.0.2q 20 Nov 2018 mcrypt: N LANG: 
   ZipArchive::addFile: Y 0000.098 () Free space on disk containing Updraft’s temporary
   directory: 13141.6 MB 0000.098 () Ensuring WP_Filesystem is setup for a restore
   0000.098 () WP_Filesystem is setup and ready for a restore 0000.120 () Restore
   job started. Entities to restore: plugins, themes, others, db. Restore options:{“
   updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:false,”
   updraft_incremental_restore_point”:-1} 0000.131 () Entity: db 0000.131 () restore_backup(
   backup_file=backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   db.gz, type=db, info=a:0:{}, last_one=) 0000.131 () Unpacking backup… (backup_2019-
   08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-db.gz, 1.7 Mb) 0000.379()
   Database successfully unpacked 0000.380 () Restoring the database (on a large
   site this can take a long time – if it times out (which can happen if your web
   hosting company has configured your hosting to limit resources) then you should
   use a different method, such as phpMyAdmin)… 0000.380 () Using direct MySQL access;
   value of use_mysqli is: 1 0000.577 () Max packet size: 32 MB 0000.577 () Entering
   maintenance mode 0000.578 () Enabling Maintenance mode… 0000.581 () Backup of:
   [http://dev.bridgewatermarble.com](http://dev.bridgewatermarble.com) 0000.581()
   Content URL: [http://dev.bridgewatermarble.com/wp-content](http://dev.bridgewatermarble.com/wp-content)
   0000.581 () Uploads URL: [http://dev.bridgewatermarble.com/wp-content/uploads](http://dev.bridgewatermarble.com/wp-content/uploads)
   0000.581 () Old table prefix: wp_ 0000.581 () Site information: multisite=0 0000.589()
   New table prefix: wp_ 0000.641 () Processing table (InnoDB): wp_options 0001.272()
   Restoring prior UD configuration (table: wp_options; keys: 3) 0001.340 () Processing
   table (InnoDB): wp_users 0001.450 () Processing table (InnoDB): wp_usermeta 0001.552()
   Processing table (InnoDB): wp_commentmeta 0001.671 () Processing table (InnoDB):
   wp_comments 0001.780 () Processing table (InnoDB): wp_links 0001.873 () Processing
   table (InnoDB): wp_postmeta 0002.074 () Processing table (InnoDB): wp_posts 0002.544()
   Processing table (InnoDB): wp_term_relationships 0002.702 () Processing table(
   InnoDB): wp_term_taxonomy 0002.793 () Processing table (InnoDB): wp_termmeta 
   0002.878 () Processing table (InnoDB): wp_terms 0002.960 () Processing table (
   InnoDB): wp_db7_forms 0003.025 () Processing table (InnoDB): wp_wfblockediplog
   0003.099 () Processing table (InnoDB): wp_wfblocks7 0003.160 () Database queries
   processed: 50 in 2.77 seconds 0003.186 () Processing table (InnoDB): wp_wfconfig
   0003.693 () Processing table (InnoDB): wp_wfcrawlers 0003.745 () Processing table(
   InnoDB): wp_wffilechanges 0003.798 () Processing table (InnoDB): wp_wffilemods
   0004.170 () Processing table (InnoDB): wp_wfhits 0004.271 () Processing table(
   InnoDB): wp_wfhoover 0004.356 () Processing table (InnoDB): wp_wfissues 0004.446()
   Processing table (InnoDB): wp_wfknownfilelist 0005.248 () Processing table (InnoDB):
   wp_wflivetraffichuman 0005.310 () Processing table (InnoDB): wp_wflocs 0005.372()
   Processing table (InnoDB): wp_wflogins 0005.530 () Processing table (InnoDB):
   wp_wfls_2fa_secrets 0005.594 () Processing table (InnoDB): wp_wfls_settings 0005.773()
   Processing table (InnoDB): wp_wfnotifications 0005.832 () Processing table (InnoDB):
   wp_wfpendingissues 0005.900 () Processing table (InnoDB): wp_wfreversecache 0005.927()
   Database queries processed: 100 in 5.54 seconds 0005.960 () Processing table (
   InnoDB): wp_wfsnipcache 0006.028 () Processing table (InnoDB): wp_wfstatus 0006.180()
   Processing table (InnoDB): wp_wftrafficrates 0006.231 () UpdraftPlus Vault: this
   site has not been connected – check your settings 0006.320 () Amazon S3: Set 
   region: us-west-2 0006.784 () Unlocking database and leaving maintenance mode
   0006.784 () Disabling Maintenance mode… 0006.784 () Finished: lines processed:
   112 in 6.39 seconds 0006.786 () Cleaning up rubbish… 0006.811 () Entity: plugins
   0006.811 () restore_backup(backup_file=backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   plugins.zip, type=plugins, info=a:2:{s:4:”path”;s:53:”/opt/bitnami/apps/wordpress/
   htdocs/wp-content/plugins”;s:11:”description”;s:7:”Plugins”;}, last_one=) 0006.812()
   Unpacking backup… (backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   plugins.zip, 25.8 MB) 0006.814 () Unzipping backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   plugins.zip to /opt/bitnami/apps/wordpress/htdocs/wp-content/upgrade/a02fad7d/
   using UpdraftPlus_ZipArchive, starting index 0 0007.079 () Unzip progress: 1039
   out of 6644 files (1.4 KB, plugins/fusion-builder/inc/lib/inc/redux/extensions/
   vendorsupport/vendor_support/vendor/select3/select3_locale_ar.js) 0007.387 ()
   Unzip progress: 2040 out of 6644 files (12 MB, plugins/fusion-builder/inc/lib/
   inc/redux/extensions/vendorsupport/vendor_support/vendor/select3/select3_locale_th.
   js) 0007.740 () Unzip progress: 3041 out of 6644 files (23 MB, plugins/duplicate-
   post/duplicate-post-options.php) 0008.313 () Unzip progress: 4042 out of 6644
   files (30.4 MB, plugins/jetpack/modules/custom-css/csstidy/wordpress-standard.
   tpl) 0008.910 () Unzip progress: 5043 out of 6644 files (60.7 MB, plugins/jetpack/
   sync/class.jetpack-sync-module-plugins.php) 0009.181 () Unzip progress: 6044 
   out of 6644 files (66 MB, plugins/updraftplus/vendor/aws/aws-sdk-php/composer.
   json) 0009.489 () Unzip progress: 6644 out of 6644 files (77 MB, plugins/wordfence/
   views/scanner/scan-scheduling.php) 0009.499 () Moving old data: filesystem method/
   updraft_dir is potentially possible 0009.502 () Moving old data: can potentially
   use wp_filesystem method / -old 0009.502 () Moving old data out of the way… 0010.498()
   Top-level entities being moved: all-in-one-seo-pack, fusion-core, contact-form-
   7, fusion-builder, contact-form-cfdb7, akismet, duplicate-post, all-in-one-wp-
   migration, index.php, wp-mail-smtp, jetpack, updraftplus, wordfence 0010.503 ()
   Moving unpacked backup into place… 0010.811 () Top-level entities being moved:
   all-in-one-seo-pack, fusion-core, contact-form-7, fusion-builder, contact-form-
   cfdb7, akismet, duplicate-post, all-in-one-wp-migration, index.php, wp-mail-smtp,
   jetpack, updraftplus, wordfence 0010.814 () Cleaning up rubbish… 0010.862 () 
   Entity: themes 0010.862 () restore_backup(backup_file=backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   themes.zip, type=themes, info=a:2:{s:4:”path”;s:52:”/opt/bitnami/apps/wordpress/
   htdocs/wp-content/themes”;s:11:”description”;s:6:”Themes”;}, last_one=) 0010.862()
   Unpacking backup… (backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   themes.zip, 6.1 MB) 0010.863 () Unzipping backup_2019-08-23-0006_Dev_Bridgewater_Marble_amp_Gra_ddae8c29710c-
   themes.zip to /opt/bitnami/apps/wordpress/htdocs/wp-content/upgrade/6765ef13/
   using UpdraftPlus_ZipArchive, starting index 0 0011.299 () Unzip progress: 1002
   out of 1689 files (10.9 MB, themes/Avada/includes/lib/inc/class-fusion-scripts.
   php) 0011.538 () Unzip progress: 1689 out of 1689 files (18.1 MB, themes/Avada/
   assets/images/iLightbox/smooth-skin/x-mark-icon-64.png) 0011.541 () Moving old
   data: filesystem method / updraft_dir is potentially possible 0011.541 () Moving
   old data: can potentially use wp_filesystem method / -old 0011.542 () Moving 
   old data out of the way… 0011.787 () Top-level entities being moved: Elwood-Child-
   Theme, Avada 0011.838 () Error message: Could not move the files into place. 
   Check your file permissions. 0011.838 () Error data (move_failed): /opt/bitnami/
   apps/wordpress/htdocs/wp-content/themes/Elwood-Child-Theme -> /opt/bitnami/apps/
   wordpress/htdocs/wp-content/updraft/themes-old/Elwood-Child-Theme 0011.838 ()
   themes: /opt/bitnami/apps/wordpress/htdocs/wp-content/themes: deleting contents(
   as attempts to copy failed) 0011.959 () Moving unpacked backup into place… 0012.040()
   Top-level entities being moved: Elwood-Child-Theme, Avada 0012.040 () PHP event:
   code E_WARNING: copy(/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Elwood-
   Child-Theme/screenshot.png): failed to open stream: Permission denied (line 281,
   wp-admin/includes/class-wp-filesystem-direct.php) 0012.083 () Error message: 
   Could not move the files into place. Check your file permissions. 0012.087 ()
   Error data (move_failed): (2) /opt/bitnami/apps/wordpress/htdocs/wp-content/upgrade/
   6765ef13/themes/Elwood-Child-Theme -> /opt/bitnami/apps/wordpress/htdocs/wp-content/
   themes/Elwood-Child-Theme 0012.094 () Restore failed… 0012.094 () Error message:
   Could not move the files into place. Check your file permissions. 0012.094 ()
   Error data (move_failed): (2) /opt/bitnami/apps/wordpress/htdocs/wp-content/upgrade/
   6765ef13/themes/Elwood-Child-Theme -> /opt/bitnami/apps/wordpress/htdocs/wp-content/
   themes/Elwood-Child-Theme 0012.094 () Restore failed

Viewing 1 replies (of 1 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/theme-restore-failed/#post-11866305)
 * [@edebe2](https://wordpress.org/support/users/edebe2/)
 * The folder permissions should be 755, Please check this link for required file/
   folder permissions:
 * > [Changing File Permissions](https://wordpress.org/support/article/changing-file-permissions/)
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘theme restore failed’ 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

 * [File Permissions](https://wordpress.org/support/topic-tag/file-permissions/)

 * 1 reply
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/theme-restore-failed/#post-11866305)
 * Status: resolved