Wordpress Issue: Installing/Upgrading Plugins From Site
I have Wordpress up and running, and it seems to be running well. Once I tweaked it a bit, I'm happy. I have even installed the WPAU (Wordpress Automatic Update) plug-in and have migrated to different versions several times using that with success each time.
My issue seems to be related to the built in function that allows you to upgrade plugins from the administration pages. Every time I've attempted this I get errors relating to the FTP login information. I'm using my standard user account that I use to push photos from my iPhone, etc, to no avail. It says the username/password is incorrect, but I've tested from the node, under my home Ubuntu, from a home Windows machine, etc just to make sure I'm typing it right and it is still seen from the outside.
I'm sure the problem is in the PHP code that initiates the connection to my node's FTP server, but I just can't figure it out. I've tried setting it to use SSL only, no avail. I've even changed my root password, allowed FTP, tried that, and changed it back - no go.
Any suggestions? (I'm surprised that none of my upgraded versions of Wordpress have resolved the issue either).
9 Replies
2.7.1 is the latest version, with 2.8 due out soon.
Since 2.7 the automatic updates are part of standard WordPress (so you shouldn't need the WPAU plugin).
WordPress will ask you for your FTP details if the file permisisons mean that PHP can't modify the files.
James
I actually just upgraded my total install of Ubuntu (with success!) and still nothing. Not that I expected this to work, but worth a try since I was due to patch for security holes anyways.
The plug-in install/update page still reads: "Username/Password incorrect for *"
Somehow though I've lost the FTP option and now I can only select FTPS.
edit: Looks like James beat me to the punch in his last line
Len
When I installed WordPress, I did this:
chown -R www-data:www-data /space/web/neonnero.com/www
Where both the user name and the group name Apache runs under is named "www-data" (Debian default, I assume), and "/space/web/neonnero.com/www" is the server path of the WordPress install directory. The "-R" changes the ownership recursively in all files and subpaths.
@NeonNero:
As for the permission issue, I don't have this problem with my WordPress blog installed on the Linode I have in London.
When I installed WordPress, I did this:
chown -R www-data:www-data /space/web/neonnero.com/www
Where both the user name and the group name Apache runs under is named "www-data" (Debian default, I assume), and "/space/web/neonnero.com/www" is the server path of the WordPress install directory. The "-R" changes the ownership recursively in all files and subpaths.
Thanks for the tips! I am using CentOS, so I changed the ownership of my wordpress files to apache.apache and it works.
cd /www-root-directory/
chown -R apache.apache *
I am not sure this will cause security issue or not, but you can change the ownership back after you finish the installation.
Works great on all current versions of Wordpress.