Forum archive
Wordpress won't update via GUI
Hi,
I'm running turnkey wordpress on Windows 10 hyper-v. It runs fine, and updates plugins ok, but wordpress updates such as 5.2.3 don't seem to work. I click the update and let it sit there and check the next day and still have the update message.
for the 5.2.2 updgrade, I found instructions on how to do it via the command line, which I can follow again obviously. But it would be nice to know why it won't work through the web page, and if it is fixable.
I'm pretty much a linux noob and haven't been able to find the appropriate log that shows what is going on. From what I can tell, the /var/www/wordpress folder is owned by www-data and set to 755
Any help or pointers would be appreciated.
version detail: turnkey-wordpress-15.2-stretch-amd64
That all sounds a bit strange. I would expect it to either work successfully, or not and give some sort of error.
It sounds like neither of those things are happening for you though...
Unfortunately, it's really hard to troubleshoot a issue remotely, when there is so little feedback from the system.
You mention that you updated via the commandline last time. Was that because of this issue? Or some other reason? If it only hasn't been working since you did it via commandline, then whilst your permissions do sound ok, perhaps it's worth resetting them, just to be sure?
chown -R www-data:www-data /var/www/wordpress find /var/www/wordpress -type d -exec chmod 0755 {} \; find /var/www/wordpress -type f -exec chmod 0644 {} \;That will grant full ownership to www-data (the webserver user account) and recursively make directories 755 (rwx for owner, rx for others) and files 644 (rw for owner, read only for others). I doubt that will solve the issue, but at least then you'll be sure they're right and that isn't the issue.
The next thing I would check is that you have sufficient free disk space. I would have expected a clear error message if that's the problem, but worth checking anyway. Run this:
Then look for the line that is "Mounted on /". E.g. here is my dev machine:
Mine has 60% usage currently (used 14G on a 25G partition, leaving 9.3G free). So in my case, that's tons of room. I would suggest that if it's anything more than 80-90% that you have a bit of a cleanup, and/or make the root volume larger.
Sorry that that doesn't explicitly address your question, but perhaps the above steps might give us some more info.
Beyond that, I suggest that you try again and watch it. It shouldn't take more than a few minutes and once it's done (assuming no error messages), re check for updates when you're done. If you get any error message, please post back with it verbatim; i.e. capture the error message exactly as it's displayed.