Categories
Development Ubuntu 16.04 Server WordPress

Can’t Upload Files or Download Plugins and Themes to a New WordPress Installation on Your Ubuntu 16.04 Apache Server?

So you’ve just installed and set up a new  WordPress installation on your Ubuntu 16.04 server, you’ve gone to upload your first file or download a theme or plugin in the WordPress interface and …error.

If you encounter an error at this point it could be due to the incorrect ownership of the core WordPress files.

You can check this by logging into your FTP, navagating to the directory containing your WordPress installation and checking who owns the folders wp-admin, wp-content, and wp-includes. If these WordPress folders are owned by the “root” user then file ownership may be the problem.

To fix this connect to your server via SSH, navigate into the directory containing your WordPress installation and run the following command/s to change the owner of the core WordPress folders and files to the web user.

sudo chown -R www-data:www-data wp-admin && chown -R www-data:www-data wp-content && chown -R www-data:www-data wp-includes

I hope this is helpful.

By Andy Corby

Being quick to learn, I am a confident team member, who is responsible and easy to get on with; the kind of hardworking person who is always thinking ahead and using initiative.

Experience in a range of direct and digital marketing techniques. Google AdWords Certified and I hold a BA(Hons) Business & Finance degree (2:1).

Key skills include: Google AdWords PPC (aka Google Ads); search engine optimisation (SEO); LinkedIn lead generation; web design; user interface (UI) and user experience (UX) design; software development; server management; and development experience with: HTML, CSS, PHP, MySQL, JavaScript, JQuery, AJAX, BootStrap, PHPMyAdmin, PhantomJS, CasperJS, VPS/VPC(Ubuntu 16.04 LTS).

Special interest in maximising productivity through: agile working, productivity tools, levaging time, and automating set processes.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 + thirteen =