Error with permissions in restore
-
Hi! So i’m having trouble with restoring backups. I’m using a vanilla wordpress installation on docker (official image). Here are the contents of the log:
root@291b760a6873:/var/www/html/wp-content/updraft# cat log.b5479560f0cd.txt
0000.016 () Opened log file at time: Thu, 01 Feb 2018 22:33:46 +0000 on https://localhost
0000.017 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.14.3 WP: 4.7.9 PHP: 5.6.30 (apache2handler, Linux 291b760a6873 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 x86_64) MySQL: 5.7.19 WPLANG: en_US Server: Apache/2.4.10 (Debian) safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 4.2M | 4.5M) multisite: N openssl: OpenSSL 1.0.1t 3 May 2016 mcrypt: N LANG: C ZipArchive::addFile: N
0000.017 () Free space on disk containing Updraft’s temporary directory: 8318.9 MB
0000.026 () Restore job started. Entities to restore: plugins, uploads. Restore options: {“updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:false,”updraft_incremental_restore_point”:-1}
0000.068 () Entity: plugins
0000.068 () restore_backup(backup_file=backup_2018-02-01-2233_rsd_075ee1aa162d-plugins.zip, type=plugins, info=a:2:{s:4:”path”;s:32:”/var/www/html/wp-content/plugins”;s:11:”description”;s:7:”Plugins”;}, last_one=)
0000.068 () Unpacking backup… (backup_2018-02-01-2233_rsd_075ee1aa162d-plugins.zip, 6.2 Mb)
0000.372 () Moving old data: filesystem method / updraft_dir is potentially possible
0000.373 () Moving old data: can potentially use wp_filesystem method / -old
0000.373 () Moving old data out of the way…
0000.533 () Top-level entities being moved: updraftplus, index.php, hello.php
0000.535 () Error message: Could not move the files into place. Check your file permissions.
0000.535 () Error data (move_failed): /var/www/html/wp-content/plugins/updraftplus -> /var/www/html/wp-content/updraft/plugins-old/updraftplus
0000.535 () plugins: /var/www/html/wp-content/plugins: deleting contents (as attempts to copy failed)
0000.760 () Moving unpacked backup into place…
0000.913 () Top-level entities being moved: hello.php, index.php, updraftplus
0000.914 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 257, wp-admin/includes/class-wp-filesystem-direct.php)
0000.917 () Error message: Could not move the files into place. Check your file permissions.
0000.917 () Error data (move_failed): /var/www/html/wp-content/upgrade/be41a94a/plugins/updraftplus -> /var/www/html/wp-content/plugins/updraftplus
0000.926 () Restore failed…
0000.926 () Error message: Could not move the files into place. Check your file permissions.
0000.926 () Error data (move_failed): /var/www/html/wp-content/upgrade/be41a94a/plugins/updraftplus -> /var/www/html/wp-content/plugins/updraftplus
0000.926 () Restore failedCan anyone help? Thank you very much.
- The topic ‘Error with permissions in restore’ is closed to new replies.