Skip to content

Nextcloud: occ app: has wrong return codes #10

@TheRealBecks

Description

@TheRealBecks

Nextcloud version 31 has wrong return codes for the occ app: command:

/var/www/nextcloud # php occ app:list
[...]
Disabled:
  - admin_audit: 1.21.0
[...]

/var/www/nextcloud # php occ app:install --verbose admin_audit
Error: Could not download app admin_audit
/var/www/nextcloud # echo $?
1

/var/www/nextcloud # php occ app:enable --verbose admin_audit
admin_audit 1.21.0 enabled
/var/www/nextcloud # echo $?
0

/var/www/nextcloud # php occ app:install --verbose admin_audit
admin_audit already installed
/var/www/nextcloud # echo $?
1

Lets check again and open an issue in the nextcloud/server project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions