Could auto-update delete core WordPress files and cause a white screen of death?

It turns out that the problem was caused by the Plesk server admin system which had been used to install WordPress, Plesk tried to upgrade wordpress on that domain and it failed and partially deleted the contents of those folders. Plesk enables auto update for all applications installed using its “application vault” feature. So if … Read more

WordPress 3.1 not autoupdating

For the sake of this not haunting unanswered questions… WordPress tries its best to deal with filesystem/permission issues when updating and requests access credentials if necessary. So many issues in this department are more likely to be caused by hosting configuration, rather than WP itself. In this specific case PHP safe mode was causing issues, … Read more

How can I fix my server so core/plugins/theme update don’t silently fail?

There is a bug in some versions of PHP itself, unzip hangs. PHP 5.2.17 hangs, PHP 5.3.24 works as expected. PHP Change Log http://www.php.net/ChangeLog-5.php#5.3.4 says PHP Version 5.3.4 released 09-Dec-2010 – “Fixed crash in zip extract method (possible CWE-170)”. (Note: 5.3.24 released 11-April-2013, and is no longer the latest version.) http://lcblog.lernerconsult.com/2013-php-unzip-bug-makes-wordpress-updates-hang/ has the PHP program … Read more

How to debug background/auto update?

Your WP installation must not require FTP credentials on plugins or extensions install. Open wp-content/plugins/unyson/unyson.php and decrease the version Important: Decrease only the last digit (third). /** * … * Version: 2.5.0 * … */ Add in {theme}/functions.php add_filter( ‘auto_update_plugin’, ‘__return_true’, 99999 ); Open phpMyAdmin and delete wp_option named cron. You can run this SQL: … Read more

WordPress updates and Git

In my readings (and as mentioned in OP comments) the best practice seemed to be focusing on the /wp-content/ folder, or specific custom contents therein. Syncing all the core files and third party plugins just causes headaches and unnecessary version monitoring. I had troubles with this myself, but it’s best to remove the mentality that … Read more

Auto Plugin & Core Updates Not Working For Custom Theme

There’s a page here about Configuring Automatic Background Updates. It says specifically not to put the filters in wp-config.php, so you should definitely move those to functions.php; they were probably not registered if added in wp-config.php so that explains why you didn’t get plugin or theme updates, but core updates should have worked. Only constants … Read more