-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
bugfeature: install and updategood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.papercutAnnoying recurring UX issue with possibly simple fix.Annoying recurring UX issue with possibly simple fix.
Milestone
Description
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
- Make sure maintenance mode is enabled:
sudo -u www-data php occ | grep 'in maintenance'. Output:Nextcloud is in maintenance mode - no apps have been loaded - Disable maintenance mode:
sudo -u www-data php occ maintenance:mode --off, output:
Nextcloud is in maintenance mode - no apps have been loaded
Maintenance mode disabled
- Disable maintenance mode again:
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:
- should disable maintenance mode without warning,
- should give a warning that maintenance mode is already disabled.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugfeature: install and updategood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.papercutAnnoying recurring UX issue with possibly simple fix.Annoying recurring UX issue with possibly simple fix.