Skip to content

maintenance:mode produces a warning despite --quiet #8399

@ghost

Description

Steps to reproduce

  1. $ php occ maintenance:mode --on --quiet
  2. $ php occ maintenance:mode --off --quiet

Expected behaviour

Maintenance mode is enabled and disabled. No output is produced unless a fatal error occurs.

Actual behaviour

$ php occ maintenance:mode --off --quiet
Nextcloud is in maintenance mode - no apps have been loaded

The message is printed regardless of --quiet and --no-warnings.

This seems like an easily reproducible issue, so I'll take the liberty of omitting further details about my setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: install and updategood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.papercutAnnoying recurring UX issue with possibly simple fix.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions