If you’re hitting problems with having WordPress update itself (i.e. you’re seeing this error: “To perform the requested action, connection information is required.” ), chances are you need tofix file permissions and/or change the owner of them (likely from root).
Please feel free to cry in the comments below about this not being a secure solution, but it works. In any case, if you’re using Ubuntu, you’ll need to make sure your permissions are right. Once you’ve done this, change the owner of your public_html directory (and its children) by going to its parent directory and running the following command:
chown -R www-data: public_html/
This should do it. If you’re not using Ubuntu you might not have ‘www-data’ .. it might be something like ‘httpd’ instead. Additionally, if your WordPress installation isn’t in the public_html directory, you’ll need to change the command accordingly.