You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
root@Owncloud2022:/var/www/owncloud# sudo -u www-data php occ maintenance:mode --off
An unhandled exception has been thrown:
OC\DatabaseException: Invalid database type in /var/www/owncloud/lib/private/Server.php:549
Stack trace:
Seen with 10.6.0 on ubuntu 20.04 where the apache user is www-data:
The correct way to call occ, according to e.g. the /usr/bin/occ script shipped in our docker images is
If a user runs occ as root, a misleading error message occurs: (The database type is not invalid, the occ invocation is at fault)
Expected behaviour: occ should print a proper error message, and would refuse to run when called as root user.
(Not sure if this is a regression, didn't we catch that in the past?)
The text was updated successfully, but these errors were encountered: