Question

Theme will upload via FTP but not show up in WP UI

Posted May 24, 2014 4.2k views
Just spun up a Ubuntu 14, NIGINX droplet and got the non-root user created, and everything for WordPress is installed and working. Tried adding a new theme and it asks for the Hostname (IP address at this point) FTP/SSH Username/Password (my non-root info) but then it asks for my Authentication Keys on the server, public and private...where would they be again? Or is my issue a file path permission issue? I am able to edit and create posts and pages but hit the same wall when attempting to install a plugin. I used these articles to get here: - https://www.digitalocean.com/community/articles/initial-server-setup-with-ubuntu-12-04 - https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04 - https://www.digitalocean.com/community/articles/how-to-install-wordpress-with-nginx-on-ubuntu-14-04 Did some looking around and thought someone was having a similar issue so I tried some of their solutions with little luck: - https://www.digitalocean.com/community/questions/wordpress-asking-for-ftp-info-to-install-theme-but-i-have-ssl-passphrase I am kinda new, so its entirely possible that I am missing an easy initial step.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

5 answers
We have an article on securely setting up Wordpress auto updates and theme installations: https://www.digitalocean.com/community/articles/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu. I believe you can replace wp-user with your own non-root user.
by Justin Ellingwood
WordPress is the most popular content management system (CMS) on the web currently. While WordPress can be a great way to manage you content, there are some very insecure configurations that are given throughout the internet. This article will cover how to set up secure updates and installations using SSH keys instead of FTP, which is an inherently insecure protocol.
Ok I'll check it out.
Getting there! Theme to be uploaded tried to get moved to wp-content/uploads/2014/05, not the themes folder.


Also is this what I enter for Authentication keys?
http://IP_ADDRESS/home/wp-user/wp_rsa.pub
http://IP_ADDRESS/home/wp-user/wp_rsa
(This is what I see when trying to add plugins)
Also, I think the instructions say to create/edit the wp-config.php file simply in the /var/www/ folder when wp-config.php should be in /var/www/html with the other WP files?

And I thought the key location was in /home/wp-user/.ssh/ folder not just /home/wp-user/ ?
The paths should be /home/wp-user/wp_rsa and /home/wp-user/wp_rsa.pub. wp-config.php could be in any directory, just edit the existing one which is /var/www/html/wp-config.php in your case.
Submit an Answer