Wordpress installation guide

I followed this guide: https://www.linode.com/docs/websites/cm … -wordpress">https://www.linode.com/docs/websites/cms/how-to-install-and-configure-wordpress

All worked very well indeed until it came to updating my installation. I had a problem with the last part of step 2 in the section on configuring wordpress which states:

Next, give WordPress permission to add and edit files in the wp_content folder:

1 chown -R www-data:www-data /var/www/example.com/public_html/wp-content

This works for updating and installing plugins but not for updating wordpress to the latest version. To get that to work, I changed the owner of public_html to www-data thus

chown -R www-data:www-data /var/www/example.com/public_html

I'm posting this in case anyone else hits the same issue or in case my solution is problematic from a security perspective.

3 Replies

Hi,

Thank you so much for letting us know. The Linode Docs are actually located in a Git repository on GitHub. I went ahead and opened a new issue on the project with the information you provided. We'll look to get this fixed soon.

Thank you!

https://github.com/linode/docs/issues/292

Great - glad that my feedback may be used. Linode techs are just so quick to respond!!!!

I often have problems with updating plugins in Wordpress, mainly with FTP information. I always forget to change wp-config.php file and solution - adding the line "/var/www/example.com/public_html/wp-config.php"! It is so easy) Thanks for the guide

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct