Question

How do I enable auto updates in wordpress?

I have configured with serverpilot. Now when ever there is a plugin update in wordpress I have to feed the FTP details which never works. How do I enable the feature which used to be in cpanel. Like clicking the update button will automatically do itself.

Subscribe
Share

Hi,

If WordPress asks you for FTP credentials, it means your file permissions are not correct. Most likely, you accidentally created some of your files as “root” rather than as the user your app runs as which is “serverpilot”.

Take a look here for how to fix permissions issues like this:

https://serverpilot.io/community/articles/how-to-fix-file-permissions.html


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @jsamuel:

Hi,

If WordPress asks you for FTP credentials, it means your file permissions are not correct. Most likely, you accidentally created some of your files as “root” rather than as the user your app runs as which is “serverpilot”.

Take a look here for how to fix permissions issues like this:

https://serverpilot.io/community/articles/how-to-fix-file-permissions.html

View the original comment