• Resolved hollywoodgrind

    (@hollywoodgrind)


    In WordPress 2.8 the account has to be owned to the Apache web server in order to perform automatic WordPress, and plugin, upgrades otherwise there is an error page saying upgrade cannot connect to the server, but doesn’t say anything about account owner permission.

    My suggestion is to have WordPress detect account directory ownership, and use that owner to do the upgrades. It works for FTP, so it should work for the WordPress upgrade script.

    WordPress should use whatever account the WordPress directory is already owned by, otherwise FTP clients will be able to login, but cannot make changes to files, because the FTP client will not have permission.

    For those people who change their WordPress permissions to the web server account, they loose their ability to delete and upload plugins not managed by WordPress, because the web server account doesn’t have a login password, and in-fact doesn’t allow login remotely by an FTP program. Allowing the web server remote access could cause a security risk.

    Is there a way to work around this issue so WordPress upgrade can work with the existing account owner, to avoid giving ownership to Apache?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter hollywoodgrind

    (@hollywoodgrind)

    For anyone who gets the FTP settings page, but cannot goes past it to do a plugin or WordPress upgrade, the link below may provide a solution. It solved my issue. The article will also help to set proper permissions on the files and directories.

    https://www.nerdgrind.com/wordpress-automatic-upgrade-plugin-failed-or-not-working/

    Yes. I met this problem, has been solved. I hope I can still remember the methods.

    If you administer your websites in the Plesk Control panel;

    On Domain Set Up or in “Web Hosting Settings”, you can choose from “Apache Module” to “Fast CGI application”. Check the php support box, then set to “fast cgi application, then I SHUT OFF the php safe mode.

    WordPress works by checking php support, selecting Fast CGI application, and the php safe mode box is unchecked or off.

    This was my resolve to: I got a “cannot connect to connect to server at: https://www.domainname.com:21”

    The default setting on my server is “Apache Module”, but WordPress Plug ins or updates does not automatically update with it set on “Apache Module”. By switching from “Apache Module” to “Fast CGI application”, it works. No permissions changes were necessary. Good luck!

    (If you do not administrate your own server, just copy the above and send it to your server guy or website host. He will have to change this at the server level for each domain name. It is worth a try!)

    ColoradoWebmaster.net

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrade Permissions Failed to Connect to FTP Server’ is closed to new replies.