I've deployed a Wordpress instance using the wordpress package in the stable (stretch) repos.
I installed it on a cloud instance last night using Nginx. I'm glad that it's up and running as I enjoy and trust Debian's security updates that come from the project.
I have been testing out my installs before putting them in production by spinning up a VM on my main computer, simulating any changes that I would or would not make, and verify it works/doesn't take anything down.
I'm running into an issue, though I'm not sure if it's my issue, or if the WP package is not intended to be used this way. It seems that it's not fetching correctly any external plugins. On loading the Wordpress Debian Stretch package, it recommends some updates that are available for installed plugins and themes. None seem to install correctly on enabling the updates to happen, and it seems that something gets messed up on trying to update the wordpress themes, for example.
Which leads me to ask a couple of questions.
1) Am I doing something wrong? Might I have some file permissions wrong? Or it's simply not the way to manage themes from the Debian repo version of Wordpress?
current file permissions in /usr/share/wordpress are all set to www-data group and user:
Code: Select all
$ ls -lat /usr/share/wordpress
total 180
drwxr-xr-x 5 www-data www-data 4096 Feb 15 22:32 .
drwxr-xr-x 135 root root 4096 Feb 15 22:17 ..
-rw-r--r-- 1 www-data www-data 7413 Feb 15 22:14 readme.html
lrwxrwxrwx 1 www-data www-data 21 Feb 14 20:03 wordpress -> /usr/share/wordpress/
drwxr-xr-x 5 www-data www-data 4096 Feb 14 20:00 wp-content
drwxr-xr-x 18 www-data www-data 12288 Feb 14 20:00 wp-includes
drwxr-xr-x 9 www-data www-data 4096 Feb 14 20:00 wp-admin
lrwxrwxrwx 1 www-data www-data 23 Jan 4 02:19 .htaccess -> /etc/wordpress/htaccess
-rw-r--r-- 1 www-data www-data 5706 Jan 4 02:19 wp-activate.php
-rw-r--r-- 1 www-data www-data 2381 Jan 4 02:19 wp-config.php
-rw-r--r-- 1 www-data www-data 418 May 17 2017 index.php
-rw-r--r-- 1 www-data www-data 364 May 17 2017 wp-blog-header.php
-rw-r--r-- 1 www-data www-data 1627 May 17 2017 wp-comments-post.php
-rw-r--r-- 1 www-data www-data 2853 May 17 2017 wp-config-sample.php
-rw-r--r-- 1 www-data www-data 3286 May 17 2017 wp-cron.php
-rw-r--r-- 1 www-data www-data 2422 May 17 2017 wp-links-opml.php
-rw-r--r-- 1 www-data www-data 3301 May 17 2017 wp-load.php
-rw-r--r-- 1 www-data www-data 33939 May 17 2017 wp-login.php
-rw-r--r-- 1 www-data www-data 8048 May 17 2017 wp-mail.php
-rw-r--r-- 1 www-data www-data 16255 May 17 2017 wp-settings.php
-rw-r--r-- 1 www-data www-data 29896 May 17 2017 wp-signup.php
-rw-r--r-- 1 www-data www-data 4513 May 17 2017 wp-trackback.php
-rw-r--r-- 1 www-data www-data 3065 May 17 2017 xmlrpc.php
2) Given the vast majority of guides out there on setting up Wordpress on Debian Stretch which recommend installing the "latest.tar.gz" file out there directly from wordpress, would this actually be the best way to go about having the site installed?
Fortunately, there's no content yet, so I could just do a full wipe and reinstall from scratch.
Any recommendations?
Let me know if you guys would need any information that I may have not given.