By Matt Porter
I’ve checked around the web quite a bit for a solution to this, but despite a lot of people having the issue, as well as there being answers, nothing seems to work for me. For whatever reason, I can’t install, or update plugins. When I attempt to, I’m met with an ftp login on the Wordpress page, which from my understanding means that my persmission or owner is wrong.
I’ve tried:
-Setting my settings on wp-content to 777 (temporarily of course) -sudo chown -R myuser:www-data /var/www/anightinburlington.com/public_html/*
Neither of those worked, and I’m not sure what’s wrong. I’ll be here all day, speakers loud, email notifications ready - if anyone could help, I’d be more than thankful!
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!
Hi there,
Hopefully this isn’t still and issue for you, but I recently came across the same problem…
In my case my permissions where correct.
The fix for me is to add a line into wp-config.php, adding the following fixed it all. define(‘FS_METHOD’, ‘direct’);
Hope that helps someone in the future.
According to your tag I think you’re using nginx as webserver. Did you try the following ?
sudo chown -R nginx:nginx /var/www/anightinburlington.com/public_html/
So I read up on the situation more, and I indeed had more steps to take. I had to add my new wp-user to the list of ssh users in the config (done), and had to change the port in wp-config to my new port (done). Despite reading every single comment on the page, restarting nginx php5-fpm, and ssh, I still get the error that the keys are inccorect:
Public and Private keys incorrect for wp-user
The only thing I can think of, is that I got the below error when creating my new user, and setting an empty password:
authentication token manipulation error
The “user” I created is just wp-user, does this user need to be the same name as the user I log into wordpress with? (this wasn’t specified anywhere in the tutorial)
Is that normal when you create a user and don’t assign a password? I’m completely stumped at this point, and am at a dead end - any ideas?
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.