Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Thanks,

share|improve this question
add comment

1 Answer 1

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 –  Kave 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. –  Kave 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 –  Kave Jun 6 '12 at 11:02
add comment

Your Answer

 
discard

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.