Unable to clear old directories, plugin restore fails

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Unable to clear old directories, plugin restore fails

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #18047
    Debra
    Participant

    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 failed

    #18680
    udadmin
    Keymaster

    Hi,

    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,
    David

    #18681
    udadmin
    Keymaster

    Just to be clear: don’t delete those directories I mentioned – the ones to delete end in “-old” and are subdirectories of those!

    David

    #18682
    Debra
    Participant

    No 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 failed

    #18683
    udadmin
    Keymaster

    Hi 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,
    David

    #18684
    Debra
    Participant

    I 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-old

    Restore 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 failed

    #18685
    Debra
    Participant

    By 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.

    #18686
    Debra
    Participant

    I have also checked carefully and the current site has no directories named “/plugins-old”

    #18687
    udadmin
    Keymaster

    Hi Debra,

    Please can you send the WP and FTP login details to: contact at updraftplus dot com.

    Best wishes,
    David

    #18690
    udadmin
    Keymaster

    Hi 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 possible

    Notice 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,
    David

    #18691
    Debra
    Participant

    Thanks David,
    I will try the manual option and contact my hosting provider to sort out the speed problem.

    #18692
    Debra
    Participant

    Was 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..

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Unable to clear old directories, plugin restore fails’ is closed to new replies.