<

Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

How to Fix a Common WordPress Update Error in IIS

Published on
4,848 Points
1,748 Views
1 Endorsement
Last Modified:
William Fulks
...all I can say is that my life is pretty plain. I like watchin' the puddles gather rain...
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
WordPress is a powerful blogging system that serves as the backbone for countless websites and gives the user quite a bit of freedom to customize the look of the site without disrupting the operation. At my work, we installed it on our Windows Server web host. Everything was working great until I got a notification that a newer version of WordPress was available, but it would not update.

The screen capture below shows the error I kept getting:

Wordpress-Fail1.JPG
I tried opening update-core.php to see if anything looked incorrect, but it was a huge file loaded with options and it looked like any modifications might break something else, so I left it alone. The key thing that stood out here is the mention of "inconsistent file permissions" and that's when I made some changes that allowed WordPress to update itself without me having to manually do it, which is an option but a tedious one.

Here's the fix:
 
  1. On your server, open up IIS manager then click on Application Pools
  2. Right-click on the one for WordPress, then click Advanced Settings
  3. Under Process Model, change the Identity to LocalSystem and click OK
  4. Click the + to expand Sites and then locate the folder used for WordPress
  5. Right-click on the WordPress folder name, then click Edit Permissions
  6. Click the Security tab then click the Edit button
  7. Click the Add button and type "Authenticated Users" and click OK
  8. Verify that Authenticated Users is now showing under the Group or user names list
  9. Click OK two more times to close those windows
  10. Try running the WordPress update again and it should work

What this minor change does is grant the application permission to modify files inside that folder by having it run as LocalSystem, which falls under Authenticated Users. It still keeps your site secure without leaving any gaping security holes, but always remember to use strong passwords on your WordPress site, as many spambots and hackers tend to look for WordPress sites for leaving spam comments and more.
 
1
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 17

Expert Comment

by:kadadi_v
Please make sure IIS_USRS having the Full Control to your Wordpress folder recursively.

Regards,
VK
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Join & Write a Comment

The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month