WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed a new Ubuntu server and have set everything up for Wordpress. I have also extracted mySite directory in the /var/www/ and did a mysql -u mysqlusername -p databasename < blog.bak.sql to restore the data to the database.

It all worked smooth and works beautifully.

The only problem I have discovered is when I try to auto-update the plugins.

Please click to see the screenshot (I don't have enough reputation to insert a screenshot here) http://img690.imageshack.us/img690/970/76811016.png

Well, I have never setup any FTP on my previous server. How comes this is now asking me this information? And yes I was able to auto-update plugs on my other server without a problem.


share|improve this question
up vote 2 down vote accepted

This is most likely because of file permissions on your server. WordPress needs to be able to write to the wp-content folder. I highly suggest you read this article about changing file permissions for WordPress.

You may also need to CHOWN the directory that contains WordPress to the user that your web server uses. More here.

share|improve this answer
That was it. Thank you. :) sudo chown -R www-data:www-data /var/www/MySite – Houman Jun 6 '12 at 10:40
BTW, was it alright that I didn't restore the data into the database through the MySQL root user? I just picked the db user. – Houman Jun 6 '12 at 10:54
That should be fine, as long as that user has the necessary privileges to the database. – Jared Jun 6 '12 at 10:58
yes. it had. Thanks – Houman Jun 6 '12 at 11:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.