Getting Wordpress updates to work!
I have a fair grip on using a LAMP stack on my Linode, but the one thing that I can't work out is how to get WordPress do it's updates from within WordPress Admin.
I've done a fair bit of browsing here and Googling, but can't seem to come up with an answer.
I've read about using 'chown', but I'm not sure where to use it or how ?
My installation is:
Linode 512
ISPConfig
I can FTP to my Linode using user root, but can't using an FTP user I create in ISPConfig! So that is confusing me!
Any help appreciated!
Dave
6 Replies
So, you can change the owner of all files using this command (if you are using Ubuntu or Debian).
sudo chown -R www-data:www-data /var/www/
OK, I tried that & now get this message when I access the site:
>
ERROR 500 - Internal Server Error!
The following error occurred:
The requested URL caused an internal server error.
If you get this message repeatedly please contact the webmaster.
<<<<<<<
Any thoughts ?
(This is the first time I accessed the site since yesterday, so it may not have been the chown command !)
Dave
I'd also check twice before following any generic advice in this thread, since you're using a control panel (ISPConfig). Control panels have a tendency to make its own customizations, and they don't always play nicely with generic fixes. For example, if your control panel expects website files to be owned by each site's user and group, @kswan's one-liner could wreak havoc with your setup.
Can I reverse the chown command to see if that fixed it ?
If so, what would the syntax be ?
Dave
If you're still stuck after checking the error logs, go to your control panel's user community and ask them how you can (1) reverse a botched chown and/or (2) make WordPress update itself. They'll probably be able to give you more specific advice that is compatible with your control panel. Most people on Linode don't use control panels, so this might not be the best place to ask.
Thanks so much for your prompt help !
Dave