UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Unable to clear old directories, plugin restore fails
- This topic has 11 replies, 2 voices, and was last updated 10 years, 8 months ago by Debra.
-
AuthorPosts
-
March 13, 2014 at 1:30 pm #18047DebraParticipant
One of my plugins disappeared … it still shows on the plugin page but I am unable to reactivate it because the file doesn’t exist. So I am attempting to restore the plugins and this is what I get:
Error: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again):
I pressed the button to delete and tried again with the same result.
Log file:
0000.034 () Opened log file at time: Thu, 13 Mar 2014 13:09:52 +0000 on https://ifsguild.org/FengShui
0000.034 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.8.13.14 WP: 3.8.1 PHP: 5.2.17 (Linux p3nlhg907.shr.prod.phx3.secureserver.net 2.6.32-358.18.1.el6.nfsfixes.x86_64 #1 SMP Wed Sep 4 14:07:10 MST 2013 x86_64) MySQL: 5.0.96-log Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 42.2M | 42.3M) multisite: N mcrypt: Y ZipArchive::addFile: Y
0000.036 () Free space on disk containing Updraft’s temporary directory: 2213766.2 Mb
0000.036 () Restore job started. Entities to restore: plugins
0000.101 () Error message: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-old
0000.101 () Restore failed…
0000.101 () Error message: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-old
0000.101 () Restore failedMarch 13, 2014 at 2:15 pm #18680udadminKeymasterHi,
If for some reason pressing the button doesn’t delete the folders, then use FTP to delete them manually: look for them in wp-content/updraft and wp-content.
Best wishes,
DavidMarch 13, 2014 at 2:20 pm #18681udadminKeymasterJust to be clear: don’t delete those directories I mentioned – the ones to delete end in “-old” and are subdirectories of those!
David
March 13, 2014 at 7:27 pm #18682DebraParticipantNo luck. I removed two empty “-old” directories manually via FTP and refreshed the folders to make sure they were gone. Retried the restore and it failed again.
0000.021 () Opened log file at time: Thu, 13 Mar 2014 19:21:19 +0000 on https://ifsguild.org/FengShui
0000.022 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.8.13.14 WP: 3.8.1 PHP: 5.2.17 (Linux p3nlhg907.shr.prod.phx3.secureserver.net 2.6.32-358.18.1.el6.nfsfixes.x86_64 #1 SMP Wed Sep 4 14:07:10 MST 2013 x86_64) MySQL: 5.0.96-log Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 42.2M | 42.3M) multisite: N mcrypt: Y ZipArchive::addFile: Y
0000.023 () Free space on disk containing Updraft’s temporary directory: 2208988.1 Mb
0000.024 () Restore job started. Entities to restore: plugins
0000.062 () Error message: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-old
0000.062 () Restore failed…
0000.062 () Error message: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-old
0000.062 () Restore failedMarch 13, 2014 at 7:30 pm #18683udadminKeymasterHi Debra,
That means that there were more than two of them… the error message indicates that this one is still there:
/home/content/25/6710325/html/FengShui/wp-content/plugins-old
(i.e. wp-content/plugins-old in your WP install).
Best wishes,
DavidMarch 13, 2014 at 8:16 pm #18684DebraParticipantI found TWO directories named /plugins-old … that I had already removed the first time. So I removed them again and ran the restore again. This is the first message that displays: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Then I refresh the screen and get the failure message:
Looking for plugins archive: file name: backup_2014-01-12-2354_IFSG_International_Feng_Shui_Gui_d39e4d91ee90-plugins.zip
Archive is expected to be size: 22748.2 Kb: OK
Error: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-oldRestore failed…
Actions: Return to UpdraftPlus Configuration
This most-recent restore was attempted from an earlier backup just in case there was a problem with the 3/9/14 backup I was running. I used this backup to run the migration process to set up a test site, but am having the same problems on the test site when I try to do anything with the plugins. I have plugins disappearing, can’t uninstall because it doesn’t exists but can’t install because it already exists.
Here is the latest log file if you need it:
0000.012 () Opened log file at time: Thu, 13 Mar 2014 20:08:48 +0000 on https://ifsguild.org/FengShui
0000.012 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.8.13.14 WP: 3.8.1 PHP: 5.2.17 (Linux p3nlhg907.shr.prod.phx3.secureserver.net 2.6.32-358.18.1.el6.nfsfixes.x86_64 #1 SMP Wed Sep 4 14:07:10 MST 2013 x86_64) MySQL: 5.0.96-log Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 42.2M | 42.3M) multisite: N mcrypt: Y ZipArchive::addFile: Y
0000.015 () Free space on disk containing Updraft’s temporary directory: 2207654.6 Mb
0000.015 () Restore job started. Entities to restore: plugins
0000.100 () Error message: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-old
0000.101 () Restore failed…
0000.101 () Error message: Existing unremoved folders from a previous restore exist (please use the “Delete Old Directories” button to delete them before trying again): /home/content/25/6710325/html/FengShui/wp-content/plugins-old
0000.101 () Restore failedMarch 13, 2014 at 8:23 pm #18685DebraParticipantBy the way, I completely deleted my initial WP install on the migrated test site and started over. When I tried to add a new plugin for testing several of the other plugins deactivated and disabled themselves, but did not delete and I cannot fix them.
March 13, 2014 at 8:25 pm #18686DebraParticipantI have also checked carefully and the current site has no directories named “/plugins-old”
March 13, 2014 at 10:55 pm #18687udadminKeymasterHi Debra,
Please can you send the WP and FTP login details to: contact at updraftplus dot com.
Best wishes,
DavidMarch 15, 2014 at 11:27 am #18690udadminKeymasterHi Debra,
I received your WP (but not FTP) login details.
The problem is that your webserver is extremely slow – which probably means it is extremely overloaded.
When I attempted the operation, I did not received any messages about old directories needing deletion (I pressed the button to delete these first), but here’s what happened when it tried to unzip the backup of the plugins:
0000.347 () Unpacking backup… (backup_2014-01-12-2354_IFSG_International_Feng_Shui_Gui_d39e4d91ee90-plugins.zip)
0036.553 () Moving old data: filesystem method / updraft_dir is potentially possibleNotice the timings – 36 seconds passed, even though the plugins zip was only 24Mb big (on a normal webserver, you’d expect about 1 or 2 seconds to pass). Nothing more happens after that – which is almost certainly because the webserver is configured to only allow programmes to run for a certain amount of time.
Everything I try to do in the admin is very slow. As a work-around you can download the plugins zip to your PC, unzip it on your PC, and then upload the contents by FTP into the wp-content/plugins folder on the site.
Best wishes,
DavidMarch 17, 2014 at 1:12 pm #18691DebraParticipantThanks David,
I will try the manual option and contact my hosting provider to sort out the speed problem.March 17, 2014 at 8:15 pm #18692DebraParticipantWas able to do a manual restore and found that the backup used was corrupted by one particular plugin upgrade. Manually restoring that particular plugin from a previous backup seems to have resolved the issue..
-
AuthorPosts
- The topic ‘Unable to clear old directories, plugin restore fails’ is closed to new replies.