Hey,
Nextcloud is not installed directly on the UCS server but inside a docker container. Therefore it’s normal that /var/www/nextcloud
doesn’t exist, or that it’s empty if it does exist.
In order to run the occ
utility you have to run it inside the docker container, e.g. like this:
# Outside the container, on the UCS host:
univention-app shell nextcloud
# Now we're inside the container; run 'occ' as user 'www-data':
sudo -u www-data /var/www/html/occ …
As to the upgrade: try running it manually. If that works, disable maintenance mode. Afterwards open the web interface and try logging in.
univention-app shell nextcloud
sudo -u www-data /var/www/html/occ upgrade
sudo -u www-data /var/www/html/occ maintenance:mode --off
If the manual upgrade fails, please post any message output by the commands above.
For Owncloud instead of Nextcloud the steps are similar but slightly different:
univention-app shell owncloud
su www-data
cd /var/www/owncloud
./occ upgrade
./occ maintenance:mode --off
Edit: accidentally wrote docker
where I meant to write nextcloud
.
Kind regards,
mosu