FIX: WordPress upgrade stuck up in maintenance mode

Scenario:

  • You are upgrading WordPress site from 4.4.2 to the latest 4.6.1
  • Your WordPress site hosted on a Windows Server running the IIS
  • You have chosen and setup the FTP Connection to download the update files on the local server itself
  • Upon clicking update to WordPress 4.6.1, you’ll see the upgrade is able to download, unpack the installer files.  However,  the upgrade just remains on the step of “Enabling Maintenance Mode..”
  • There is NO .maintenance file existing in your WordPress root path

Solution:

  • This behaviour results since upgrade process being unable to create the .maintenance file under your WordPress root folder
  • Since you have chosen FTP connection to run the upgrade process, its essential that your FTP user account has full permissions on the local system so that it can create .maintenance file and proceed further
  • To fix this, you need to ensure that your FTP user account has all the permissions on Files and Folders as shown below:image
  • Once your FTP user has all required permissions your upgrade will proceeds through the “Enabling Maintenance Mode..”

Leave a Reply

Your email address will not be published. Required fields are marked *