TurnKey Linux Virtual Appliance Library

unable to update Wordpress

neal.babcock's picture

I recently had to move a Wordpress site from a corrupt VM to a known good one. In other words, I copied the Wordpress directory (via SFTP) from the corrupt VM and overwrote the existing Wordpress directory in the good VM. No doubt this was crude and lacking in elegance, but it worked fine, with one exception.

I am unable to update Wordpress. On other Turnkey Wordpress appliances, when I update Wordpress automatically, it does just that.

Now, when I am on the page

It gives me this information:

Connection Information Error: There was an error connecting to the server, Please verify the settings are correct. To perform the requested action, WordPress needs to access to your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

I know that the settings I am using are correct for SFTP.

I assume something needs to be changed in a file in the Wordpress directory. Any advice?

BTW, you have helped on the past, so I bought you a beer today. In anticipation of more help, I bought you another beer. I might owe you more. Maybe you should just include a “six pack” option in PayPal . . .

Alon Swartz's picture

Firstly, thanks for the beer :)

I just spun up wordpress 11.0 and performed an upgrade (trying to reproduce your issue), but it worked without a hitch. The only thing I can think of is that the WP you dumped into the appliance had the older upgrade-mechanism which used FTP.

I'd recommend downloading the latest wordpress tarball or zip, and updating manually. From them on, everything should work smoothly.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)