Implemented
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.
Comments
Similar requests
[Bug]: After update 33.0.2 → 33.0.3, occ upgrade does not populate new MIME types — files download instead of opening in viewer
0 votes · 0 comments
`occ user:setting` retrieve/manipulate user profile properties
0 votes · 0 comments
`occ app:enable app` should not install app
0 votes · 0 comments
Running "occ files:scan" ignores request to scan (and clear) a missing file
1 vote · 0 comments
info.xsd: support <permission> sub-element on <navigation> for per-group entry visibility
0 votes · 0 comments
No comments yet.