Warning when disabling maintenance mode using occ #9949
Labels
bug
feature: install and update
good first issue
Small tasks with clear documentation about how and in which place you need to fix things in.
papercut
Annoying recurring issue with possibly simple fix.
Milestone
When disabling maintenance mode using occ, the warning "Nextcloud is in maintenance mode - no apps have been loaded" is sent to stderr. However, trying to disable maintenance mode when it is not enabled, produces no warnings and no output to strerr.
Steps to reproduce
sudo -u www-data php occ | grep 'in maintenance'
. Output:Nextcloud is in maintenance mode - no apps have been loaded
sudo -u www-data php occ maintenance:mode --off
, output:sudo -u www-data php occ maintenance:mode --off
, outputMaintenance mode disabled
Expected behaviour
When running
occ maintenance:mode --off
, I expect nextcloud be in maintenance mode, so:Server configuration
Operating system:
Debian Stretch
PHP version:
PHP 7.0.27-0
Nextcloud version: (see Nextcloud admin page)
13.0.4
Where did you install Nextcloud from:
Official tar.bz2
The text was updated successfully, but these errors were encountered: