WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 3.0 Stuck in Maintenance Mode after failed plugin upgrade (32 posts)

  1. josefdunne
    Member
    Posted 4 years ago #

    My wordpress 3.0 is stuck in maintenance mode, after I tried to upgrade a plugin, the plugin upgrade failed stating:-

    "Failed to create directory /public_html"

    Now the whole site even the /wp-admin just shows this message:

    "Briefly unavailable for scheduled maintenance. Check back in a minute."

    Even if maintenance mode is enabled, I should still be able to access /wp-admin no?

    Any help!?

  2. ciprian.dobrea
    Member
    Posted 4 years ago #

    Try deleting the file called ".maintenance" in the root of the site's web folder.

    That should disable the maintenance mode.

  3. Member111
    Member
    Posted 4 years ago #

    That worked.

  4. Anne C
    Member
    Posted 4 years ago #

    I have the same problem. I don't know how to find the site's web folder though.

    Then that screen disappeared and got the following message:

    Fatal error: Call to undefined function set_current_screen() in /usr/www/users/sfpal/wp-admin/admin.php on line 129

  5. comanco
    Member
    Posted 4 years ago #

    Same issue deleted maintenance file can now view site but not able to upgrade plugin is a fix required? Goes back into maintenance mode and displays message as indicated above.

  6. joeralt
    Member
    Posted 4 years ago #

    my blog disappeared entirely and I cant access even the dashboard..nothing
    help anyone?

  7. jsbarry
    Member
    Posted 4 years ago #

    I am unable to get into the admin area for my blog since this fatal error message appeared so I can't disable the maintenance mode in my blog. I need help please .............

  8. aisajib
    Member
    Posted 4 years ago #

    @ joeralt, jsbarry,

    you guys need to log in to FTP and do the task said in the second post on this thread. You can't do it from admin panel since it won't let you. FTP is the only way to resolve this.

  9. gordo019
    Member
    Posted 4 years ago #

    Even after deleting the maintenance file, this problem persists. Unable to update any plugins at WP 3.0. The "failed to create directory /public_HTML/" error message is shown and a new mainenance file is recreated. How can successful update my plugins in 3.0?

  10. gordo019
    Member
    Posted 4 years ago #

    I could only get my plugins updated after WP 3.0, if I deleted the maintenance file each time I updated a plugin. Seems like there is a bug here.

  11. azzh3
    Member
    Posted 4 years ago #

    I had the same issue change the 2nd line in the file 'wp-activate.php'

    from:

    define( "WP_INSTALLING", true );

    to

    define( "WP_INSTALLING", false );

    az

  12. mrmist
    Forum Janitor
    Posted 4 years ago #

    Changing the define is not a solution for the maintenance mode setting. It could affect future updates for you. If you're stuck in maintenance mode, you should delete the .maintenance file from your WordPress directory using FTP or shell access. You may need to set your client to show hidden files.

    I think the wider issue though is that there's a number of people in this thread describing different problems, and you'd probably be best with your own threads.

  13. dsgncr8or
    Member
    Posted 4 years ago #

    Got the same error, but in my case the front end is completely accessible, the back end fails to load and results in the error: Fatal error: Call to undefined function: set_current_screen() in /home/httpd/####/wp-admin/admin.php on line 129...

  14. dsgncr8or
    Member
    Posted 4 years ago #

    any ideas to fix would be nice.

  15. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    well, my first guess would be, if you got stuck in maintenance mode while upgrading plugins, maybe a plugin went bad.

    After deleting the .maintenance file, if you are still getting errors, try resetting your plugins by ftp and see if that helps

  16. megaperls
    Member
    Posted 4 years ago #

    Terrible feature. Taking the whole site down for updating the most minor of plugins, and the risk of not being able to bringing the site back. Will have to do plugin upgrades manually from now on. A step backwards.

  17. tgrblogger
    Member
    Posted 4 years ago #

    I agree with megaperls. The bulk upgrade feature definitely needs more work. IMO, it is a step backwards the way it's implemented right now. I've had the same issues as stated here, plus one other. In one instance when I used the bulk upgrade on All-In-One-SEO plugin, it stated that upgrade was successful. When I went back to the plugins area right after that, it still showed that All-In-One-SEO needed to be upgraded. So for now I'm back to using download / unzip / upload in order to be certain an upgrade succeeds without taking down the whole website.

  18. agokeren
    Member
    Posted 4 years ago #

    Briefly unavailable for scheduled maintenance. Check back in a minute.

    This stupid idea....,

  19. sicklyman
    Member
    Posted 4 years ago #

    this totally sucks...

    I deleted .maintenance as instructed by FTP but the site just appeared as a blank page in Firefox. Using IE, I got an error message that indicated a plugin that had failed in the upgrade process and was thus preventing the site from loading.

    So, if you have an unreachable site after deleting .maintenance, I suggest you do as I did and load it in IE to find o ut which plugin is causing the error. Then, using FTP, update that plugin by downloading the most recent version and overwriting the one in your wp-content/plugins folder.

    It worked for me... thankfully!

    This issue is one that needs dealing with immediately guys...

  20. usermonster
    Member
    Posted 4 years ago #

    This happened to me twice. The first time WP eventually came out of maintenance mode, the second time it didn't. This solution helped -- thanks. But it's definitely a problem.

  21. jennpaik
    Member
    Posted 3 years ago #

    I tried deleting the maintenance file, but I still can't login.. I just keep getting this message
    Fatal error: Call to undefined function set_current_screen()

    any suggestions?

  22. rolexn
    Member
    Posted 3 years ago #

    jennpaik, did you ever get this problem resolved?

  23. DaveClapp
    Member
    Posted 3 years ago #

    I had this problem while updating a theme and might have a different solution. Instead of deleting the .maintenance file, I looked inside it and recognized a unix timedate stamp 1287155241. I used an online unix time conversion tool and it translates to sometime after 3pm this afternoon. It was 10:36am, so I used the same time conversion tool to create a unix time of 10:37am and pasted that into the .maintenace file. 30 seconds later my site was back online.

    here is a copy of my .maintenance timestamp for 10/15/2010 10:37am
    <?php $upgrading = 1287139020; ?>

    and here's the url to the conversion tool I used
    http://www.onlineconversion.com/unix_time.htm

    I hope this helps!

  24. Core
    Member
    Posted 3 years ago #

    Zilch, zero, nada....

    I have no .maintenance file. Yes I can see hidden files, I am logged into the server as root, I can see it all...

    Tried editing the wp-activate file as well, no luck there either.

    It's a new clean installation, so an easy fix, I can wipe and start over, only losing about 30 minutes worth of work in the process but if this had been a long standing site and cause a huge loss I'd be PO'd.

    The problem happened when I uploaded a theme, and then tried to update it. Got a message saying it couldn't delete the old version, then when I tried to click off to another page... Maintenance mode....

    ~C

    EDIT: 2 minutes after I made this post, 20 minutes or so after the problem occurred, I hit refresh on the browser again and the site came up...

  25. Jeff_L
    Member
    Posted 3 years ago #

    Argh. Same problem, even with an 3.0.3 install with only Akismet installed. Tried to update Akisment and Maintenance Mode (extended hang) -> Plugin failed to update, though site back up.

    Hosted on a Servint VPS. All the usual permissions.

  26. petassist
    Member
    Posted 3 years ago #

    Today, March 2, 20111, I'm having the "maintenance issue". Is this a forever problem?

  27. meryl
    Member
    Posted 3 years ago #

    I deleted .maintenance.

    I created plugins.hold and a blank plugins folder.

    Also changed wp-settings to block //wp_maintanance().

    Deleted /upgrade.

    I am still getting a 500 or blank page when I try to access my admin pages.

    What other terms do I search for to get answers?

  28. meryl
    Member
    Posted 3 years ago #

    Had to resort to a manual upgrade. No more automatic upgrades.

  29. litlnemo
    Member
    Posted 3 years ago #

    Just ran into this myself. Deleting .maintenance worked. I was updating 2 plugins. One worked and the other one seems to have failed. It was Podpress. It's not activated anyway, so I'm just not going to update it.

  30. ukthom
    Member
    Posted 3 years ago #

    This has happened to me EVERY time I upgrade a plugin. I think there's a bug with 3.1.1 with regards to automatic upgrading. Hasn't been a problem until I did the latest upgrade. Not a massive problem, but supremely annoying.

Topic Closed

This topic has been closed to new replies.

About this Topic