So when I create an app on Hestia, I dont use the admin user, I use a secondary user, so it all goes into the /home/myuser folder. All the files are owned by myuser. The public html folder is in the www-data group. The problem is I can’t update NextCloud through the web interface, because it doesn’t have permissions to make a backup. If I go inside the public_html folder, everything else is myuser:myuser. Should I change all that to myuser:www-data?
No, your owner seems correct. Did you try updating through terminal already?
Change ‘myuser’ to your appropriate user and edit the exact location:
- Trigger updater.phar:
sudo -u myuser php /home/myuser/web/nextcloud.myuser.com/public_html/updater/updater.phar
- Cd into the root of your installation:
cd /home/myuser/web/nextcloud.myuser.com/public_html
- Trigger occ upgrade:
sudo -u myuser php occ upgrade
- Turn off maintenance:mode
sudo -u myuser php occ maintenance:mode --off
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.