Locating/Deleting ".Maintenance" file (6 posts)

  1. Arno12
    Posted 4 years ago #


    I've recently tried to update my WordPress-powered website manually via FTP because of an error message that does not let me access the wp admin page. However, while following the manual upgrades instructions, I realized I wasn't able to complete step 1.5 a.k.a "deleting the .maintenance file". The tutorial goes: "If you're upgrading manually after a failed auto-upgrade, delete the file .maintenance from your WordPress directory using FTP. This will remove the "failed update" nag message."

    I've looked at a thread ( http://wordpress.org/support/topic/where-is-the-maintenance-file-located-in-the-wordpress-files?replies=9 )about the same problem and the answers mention a root directory path (I don't know how to access this) that is to be followed via FTP. However, given my low level of skills in terms of FTP etc.. I wasn't able to understand clearly how to solve my problem.

    Could anyone tell me how to locate/delete a .maintenance file ?

    Thank you!


  2. Brandon Kraft
    Happiness Engineer
    Posted 4 years ago #

    It's in the "base" directory of your WordPress site.

    When you FTP into your server, you'll see a bunch of files preceded with wp- (e.g. wp-blog-header.php, wp-config.php, the wp-content folder, etc). That's where the .maintenance file is located.

    Depending on your FTP client, you may need to change the settings to "show hidden files".

    Hope that helps!

  3. Arno12
    Posted 4 years ago #

    Thank you for the follow-up!

    However, even when displaying the hidden files and looking for it in that folder, there is no ".maintenance" file.

    I see some wp-trackback.php, wp-signup.php (etc as the ones you mentionned) and .htaccess .forward .bashrc .bash_profile .bash_logout

  4. fonglh
    Posted 4 years ago #

    If you don't see a message saying your site is under maintenance, then it's not there.

  5. Arno12
    Posted 4 years ago #

    " Fatal error: Call to undefined method dbrc_wpdb::delete() in /homez.520/dionysus/www/wp-includes/option.php on line 370 "

    This is what I get when trying to access my website under the wp-admin extension. Some users previously told me to upgrade everything manually to sort it out but it seems that it does not work.

  6. Brandon Kraft
    Happiness Engineer
    Posted 4 years ago #

    This previous post may be helpful as well:

    Googlging "dbrc_wpdb::delete()" seems a number of people have had similar problems.

    The site isn't under maintenance (it'll say "Briefly under maintenance! Check back soon!" or something similar).

Topic Closed

This topic has been closed to new replies.

About this Topic