By kinglychee
Hello,
I have just created my first droplet and am using Server Pilot to manage my server. Server Pilot’s uses a custom LAMP/LEMP stack. I followed their tutorial on installing Wordpress on my server here: https://serverpilot.io/community/articles/install-wordpress-on-ubuntu.html.
The installation went well and everything seemed fine, but when I tried to install or delete plugins, I was unable to do so, and I get a message on Wordpress that shows this:
“Connection Information To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.”
Server Pilot has tutorials on how to install plugins, but they never mention this big problem. If anyone can help me solve what is wrong here, I would be extremely grateful.
Thanks so much!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You need to grant your webserver permission to write to the plugins directory. SSH into your droplet and run the following command:
sudo chown -R serverpilot:serverpilot /srv/users/serverpilot/apps/your-app-name/wp-content
I found out the answer for anyone else having this problem!
ssh into your server and use this command, which is basically what kamaln said, except that it applies to the whole app folder:
sudo chown -R serverpilot:serverpilot /srv/users/serverpilot/apps
An explanation can be found here: http://serverpilot.io/community/articles/how-to-fix-file-permissions.html
Thanks to kamaln and the Server Pilot team for such quick responses!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.