Wordpress Admin Dashboard Asking for FTP Connection Information When Deleting/Updating Plugins

I installed easy engine and have migrated my site over. When I login and try to delete plugins or update. I get this screen asking for Connection Information. How I do fix this? Can you please break down the steps for a newbie using command line.

"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."

I stumbled upon this solution doing a further forum search to run this command in ssh: Unable to update plugins

chown -R www-data:www-data /var/www/

It worked! If anyone else has a similar issue, give it a shot.

Although it was resolved, can anyone explain why it was doing that?

Maybe you have migrated the site using other user beside www-data.

Nginx use www-data as user and group, so it needs user/group www-data permission to write to the Wordpress directory.

Hi @JDdiego

Glad to know your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: