UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Restore Failing
- This topic has 1 reply, 2 voices, and was last updated 7 years ago by Dee Nutbourne.
-
AuthorPosts
-
October 31, 2017 at 11:47 am #238202Gareth LawsonParticipant
Hi guys,
I have not had much joy using the direct site-to-site migration, so because the websites I am migrate from/to are on the same hosting account, I have tried making a backup and manually copying backup sets to the target website’s wp-content/updraft folder. I refresh the local backup sets and see the copied backup set appear. I click Restore choose check all the relevant options and select the find and replace option and click Restore again.
The first website I did this on started the restore and then showed a popup stating that my session had expired and I need to login. I opened the login link in a new tab in an attempt not to kill the restore if it was happening in the background (ajax). This resulted in a 404 in the new tab and after investigation I found that the website now has an empty wp-admin directory. I see this error in the log file:
Error message: Could not delete old directory. (wp-admin)The wp-admin folder has 0755 permissions and should be deletable by the PHP process. I tested this with a short PHP script accessed via the browser and it worked.
The second site I tried it on did the same thing in terms of the session expired message and then the window where the backup was running is stuck repeating a 500 error for this XHR request (I have obfuscated website specific information):
GET https://www.hostname.co.za/wp-admin/admin-ajax.php?action=updraft_ajax&subaction=activejobs_list&nonce=88412b46ef&downloaders=&log_fetch=1&log_pointer=0The log files don’t show any errors and end with these few lines:
0025.203 () restore_backup(backup_file=backup_2017-10-31-0010_SITE_NAME_8acffe16594a-wpcore2.zip, type=wpcore, info=a:3:{s:4:”path”;s:55:”/path/removed/for/privacy/”;s:11:”description”;s:73:”WordPress core (including any additions to your WordPress root directory)”;s:9:”htmltitle”;s:94:”WordPress root directory server path: /path/removed/for/privacy/”;}, last_one=)
0025.203 () Unpacking backup… (backup_2017-10-31-0010_SITE_NAME_8acffe16594a-wpcore2.zip, 399 Mb)
0052.549 () Cleaning up rubbish…
0052.564 () restore_backup(backup_file=backup_2017-10-31-0010_SITE_NAME_8acffe16594a-wpcore3.zip, type=wpcore, info=a:3:{s:4:”path”;s:55:”/path/removed/for/privacy/”;s:11:”description”;s:73:”WordPress core (including any additions to your WordPress root directory)”;s:9:”htmltitle”;s:94:”WordPress root directory server path: /path/removed/for/privacy/”;}, last_one=)
0052.564 () Unpacking backup… (backup_2017-10-31-0010_SITE_NAME_8acffe16594a-wpcore3.zip, 268.8 Mb)Seems like a similar issue as there are only empty directories in the wp-admin.
Regards,
GarethNovember 1, 2017 at 7:11 pm #238535Dee NutbourneModeratorHi Gareth,
Please could you send us a copy of the full restoration log?
The contents will be too long to post here directly, but you can use an online service such as Pastebin or Dropbox, and post the link here.
Best Wishes,
David N -
AuthorPosts
- The topic ‘Restore Failing’ is closed to new replies.