Question

Connection Information issue VestaCP Wordpress website

Posted June 23, 2020 255 views
WordPress

Hi there,
I am experiencing this error and when i turn off and on droplet this issue go away for few minutes. again this happens. it started since last night and i didn’t do anything on my sites.
i have host 3 sites in vestacp. all are wordpress.
Please help to solve this.

Error message
“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.”

Screenshot - https://ibb.co/gFCFCLQ

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.

×
1 answer

Hello, @gnajith

Would you mind checking the permissions of the WordPress directory? Wordpress will prompt you for FTP credentials if it does not have permission to write the files it needs to.

I believe a similar issue was reported previously in our community:

https://www.digitalocean.com/community/questions/why-i-can-t-install-a-new-plugin-on-my-wordpress

You can check the initial answer from @ryanpq :

If you log in via putty and run the following command (assuming this is an Ubuntu droplet) it will set the files to be owned by the user that the web service is run as and should resolve the problem.

chown -Rf www-data.www-data /var/www/html/

I will recommend you to first check if the WordPress directory is owned by another user and if so to change it in the chown command as well.

Hope that helps!

Let me know how it goes.

Regards,
Alex

Submit an Answer