TurnKey Linux Virtual Appliance Library

Networking Problem with TKL Wordpress on Xenserver

support_5's picture

I have recently moved my Wordpress appliance to Xenserver. The public can access my wordpress site but the Wordpress appliances can't access the internet so things like auto install of plugins and updates won't work. Has anyone had any experience with this? I appreciate any and all help. Thanks

Jeremy Davis's picture

A ridiculously late response...

Sorry Brian, this is probably way to late to be of any use to you but I hate to have unanswered posts here on the TKL forums so thought I'd do a quick post, just in case someone finds this in a search for an answer to the same or similar issue...

As the site is working fine otherwise, I suspect that the issue is permissions of the WordPress install (owned by root rather than the webserver user (www-data), i.e. nothing to do with your XenServer install. I believe that the error message you are getting is a misnomer. The quick and dirty fix is to change the ownership of the WordPress folder to the webserver user.

chown -R www-data:www-data /var/www/wordpress

An ideal fix would be just to change ownership of the files/folders that WP needs to write to, but I am not familiar enough with WP to advise on that...

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)