John Carney Posted June 20, 2010 Share Posted June 20, 2010 I have a WordPress blog installed on my TCH-hosted site. When I try to use the automatic update feature from within WordPress to update a plugin, or WordPress itself, it works forever and then gives me a message saying that it could not open the proper directory. Then, if I try to even look at my site for a few minutes after that, I get an error message saying that the site is "briefly unavailable for maintenance." I have the proper FTP information entered in WordPress. Is this a file permissions issue? Is there something I need to tweak? Quote Link to comment Share on other sites More sharing options...
stevesh Posted June 20, 2010 Share Posted June 20, 2010 I don't know about the second part, but I've never had Wordpress auto-updates work, either. I get the same error you get (can't remember the directory it references) every time I try. It isn't that difficult to upgrade manually, though - just dragging and dropping folders. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 20, 2010 Share Posted June 20, 2010 You can try changing upgrade folder in the wp-content folder to 777. I don't have any issues installing plugin upgrades automatically but I never use the automatic upgrade for the application itself. It's so simple to do it manually. Quote Link to comment Share on other sites More sharing options...
Spinland Posted June 21, 2010 Share Posted June 21, 2010 (edited) For what it's worth I have also had this issue for all the years I've been on TCH. The auto updates work sporadically, sometimes would take 4-5 tries until one would finally stop halting with errors like you describe (and the directories failed on would vary each time, so there's no single culprit). My only workable solution was to switch to manual updates. For updating the whole WP installation, download and unzip the package and check out the readme.html file. You basically only need to upload the new over the old (the config stuff doesn't exist in the new so it doesn't get overwritten) and then visit one URL (specified in the readme) within your blog where you can update the database with a single click. Done. Just be sure to do a full backup first. I usually FTP the entire blog folder to my desktop, just to be safe. For plug-ins, the ones I use only require I FTP the new unzipped folder up over the old one, and sometimes re-enable in the dashboard. Also very easy. Hope this helps! Edited June 21, 2010 by Spinland Quote Link to comment Share on other sites More sharing options...
TheMovieman Posted June 21, 2010 Share Posted June 21, 2010 (edited) Yeah, I've never gotten the auto upgrade to work either, however, I did find a great plugin called "Wordpress Automatic Upgrade" which I've used a few times thus far. It takes you through steps from backing up your files (where you can download them onto your hard drive), downloading latest Wordpress update, putting it into maintenance mode, disabling plugins, etc. Only takes a few minutes and I've never had a problem (*knock on wood*) thus far with it. Edited June 21, 2010 by TheMovieman Quote Link to comment Share on other sites More sharing options...
TCH-Dick Posted June 21, 2010 Share Posted June 21, 2010 I have no problems with the auto upgrade but I have seen the error many times. This issue on our server was originally being caused by security software we run, which was corrected. If you are still having trouble, please try/check the following: *Delete the upgrade directory under /wp-content, wordpress will recreate it when you run the upgrade. *If using a FTP account you created in cPanel, try using your cPanel user/pass instead. *Check the ownership and permissions of the dir/file in the error(although most likely not the issue). *Cross your fingers and if it still doesn't work please open a ticket we will gladly take a look at. Quote Link to comment Share on other sites More sharing options...
John Carney Posted June 21, 2010 Author Share Posted June 21, 2010 I think changing the permissions on the upgrade folder did the trick. I was able to upgrade a plugin automatically with no trouble. (I had already upgraded WordPress manually before reading this solution.) Thanks, everyone, for your input! Quote Link to comment Share on other sites More sharing options...
Rob Gui Posted October 21, 2011 Share Posted October 21, 2011 I hade the same problem and I agree. It was down to permissions. Changed them using FTP and problems went away. Quote Link to comment Share on other sites More sharing options...
Head Guru Posted October 21, 2011 Share Posted October 21, 2011 I love when problems "go away". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.