Installing WordPress Help

I don’t run Wordpress in a docker container. So take my input with a grain of salt. I prefer to run it in a VM as that makes backups so much easier to do. That being said the /var/www/html directory (i.e., the main wordpress directory/volume) needs to be owned by user “www-data”, which in my system is UID 33. The /var/lib/mysql (i.e., the database directory -I am using MariaDB) needs to be owned by user 999, which I think in TrueNAS shows up as “Netdata”. I have also found that with some database containers, if you are connecting to TrueNAS over NFS, you may need to go into the advanced settings for the share and map rootuser to root

1 Like