Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've been traumatized by the automatic upgrade in the past, and am fearful to ever try it again. It seems that there's no transaction logic, and when it fails, it leaves everything broken. Is there some way I can tell whether the upgrade will succeed or not based upon WordPress' ability to overwrite certain files, and whether it can make necessary changes to the database?

I'd love to be able to simply ask WordPress to test the various types of access it needs to upgrade, and then tell me whether or not those tests passed before trying to do the actual upgrade. Any solution that is capable of doing this?

share|improve this question

2 Answers 2

Since 3.2 WP uses new system of partial upgrades for core - only changed files get downloaded and overwritten. So probability of it messing things up is much lower.

Updates (if any) of database are actually performed after file update is done on next dashboard visit. If WP is not capable of making those, it's likely just as not capable of normal operation.

share|improve this answer

I'm not sure if a plugin for this exists. But make sure you correct whatever mistake prevented it from upgrading last time. Make sure the appropriate folders are writeable.

share|improve this answer
    
I would love to correct any mistakes, but if I'm not wrong WordPress fails silently leaving no stack. –  Jonathan Sampson Jul 15 '11 at 21:04
    
enable error reporting –  onetrickpony Jul 15 '11 at 21:15
    
Do these upgrades always fail or just happen once in a while? –  AndrettiMilas Jul 15 '11 at 21:21
    
@Lucas The only success I've had is with a smaller site which had 777 on nearly all directories. Other sites are far too large for me to attempt, and far too important for me to 777 everything. I may take it upon myself to build a plugin that checks these types of things. –  Jonathan Sampson Jul 15 '11 at 21:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.