Brian Padgett'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

Forum: 
Jeremy Davis's picture

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...

Add new comment