FeatureFuel
0

'occ app:enable appname' should make it clear that an app was already enabled

Source: nextcloud/server#17789 · opened by @nodiscc
Steps to reproduce 1. Enable an already enabled app through php ./occ app:enable appname Expected behaviour The command should succeed (return code 0) and return appname already enabled on the standard output. Actual behaviour The command succeeds but returns appname enabled, exactly the same message as when the app was not previously enabled. This makes it difficult to determine if the command actually changed something and prevents using occ in an idempotent way in configuration management tools (ansible). In this regard app:disable appname works as expected as it returns No such app enabled: appname when the app was already disabled. This makes it possible to detect that nothing was changed. Server configuration Operating system: Debian GNU/Linux 10 Buster Web server: Apache 2.4 Database: MySQL PHP version: 7.3 Nextcloud version: 17.0 Updated from an older Nextcloud/ownCloud or fresh install: fresh install Where did you install Nextcloud from: ta…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests