I am running Nextcloud in an iocage jail (12.2-RELEASE-p2) on my TrueNAS Core 12.0-U1.
It is currently on version 20.0.4, with a waiting upgrade to 20.0.5.
Yesterday, I tried to upgrade, and hit a problem with write permissions:
I noticed that all files and folders were owned by root:wheel with 0644 permissions. So only root can write, and not www, that is running nextcloud.
Therefore I changed the ownership to root:www with 0664 permissions. As www is a member of the www group, the write is now possible.
But then it failed at the step "Replace entry points" and I am not able to figure out why. There is nothing in these logs about this:
And, if I try to browse to it, I get a blank page with these words in the upper left corner:
I tried posting a topic about this in the Nextcloud Community, but the only response I got is that TrueNAS isn´t a recommended host to run Nextcloud on. Has anyone here seen this, does anyone know of a solution?
Would like to be able to keep updating...
In the meantime, I rolled back my snapshots and am staying at 20.0.4 for the time being.
It is currently on version 20.0.4, with a waiting upgrade to 20.0.5.
Yesterday, I tried to upgrade, and hit a problem with write permissions:
Code:
X Check for write permissions The following places can not be written to: /usr/local/www/nextcloud/updater/../console.php /usr/local/www/nextcloud/updater/../.htaccess /usr/local/www/nextcloud/updater/../occ /usr/local/www/nextcloud/updater/../robots.txt /usr/local/www/nextcloud/updater/../AUTHORS /usr/local/www/nextcloud/updater/../public.php /usr/local/www/nextcloud/updater/../cron.php /usr/local/www/nextcloud/updater/../COPYING /usr/local/www/nextcloud/updater/../index.html /usr/local/www/nextcloud/updater/../index.php /usr/local/www/nextcloud/updater/../version.php /usr/local/www/nextcloud/updater/../remote.php /usr/local/www/nextcloud/updater/../status.php
I noticed that all files and folders were owned by root:wheel with 0644 permissions. So only root can write, and not www, that is running nextcloud.
Therefore I changed the ownership to root:www with 0664 permissions. As www is a member of the www group, the write is now possible.
But then it failed at the step "Replace entry points" and I am not able to figure out why. There is nothing in these logs about this:
Code:
/var/log/messages /var/log/nextcloud/nextcloud.log
And, if I try to browse to it, I get a blank page with these words in the upper left corner:
Code:
Update in process.
I tried posting a topic about this in the Nextcloud Community, but the only response I got is that TrueNAS isn´t a recommended host to run Nextcloud on. Has anyone here seen this, does anyone know of a solution?
Would like to be able to keep updating...
In the meantime, I rolled back my snapshots and am staying at 20.0.4 for the time being.