Nextcloud version: 15.0.0.10
Operating system and version: openmediavault 4
Apache or nginx version: 1.14.2
PHP version: 7.2.13
mysql Version: 10.3.11
Docker and MariaDB
Following problem:
I want to enable maintenance mode and get the following error (i’m logged in as root@omv):
PHP Warning: require_once (/ sharedfolders /…/ www / nextcloud / console.php): failed to open m: Permission denied in /sharedfolders/…/www/nextcloud/occ on line 11
PHP Fatal error: require_once (): Failed opening required '/sharedfolders/…/www/nextclo
nsole.php ‘(include_path =’.: / usr / share / php ') in /…/www/nextcloud/occ on l1
how do you tried to activate the maintenance mode? something like ‘sudo -u www-data php /var/www//html/nextcloud/occ’, maybe dont do it as root, do it as normal user with sudo an do with the rights of www-data
Not if this was just a problem with pasting here, but there is a space too much. Anyway, could you try to use the full path to occ? For example (and notice the maintenance:mode --on without space):