Frequently Asked Question
occ app (application management)
Last Updated 3 hours ago
occ app (application management)
occ app commands – quick reference
| Command | What it does | How to use it |
|---|---|---|
occ app:list |
Shows every installed app together with its version. | ``bash<br>occ app:list<br>`` |
occ app:enable |
Enables a specific app (makes it start on boot). | ``bash<br>occ app:enable <app-id><br>`<br>Replace <app-id> with the identifier shown by occ app:list`. |
occ app:disable |
Disables a specific app (prevents it from starting). | ``bash<br>occ app:disable <app-id><br>`` |
occ app:install |
Installs an app from the marketplace or a local package. | ``bash<br>occ app:install <app-id> [--no-interaction]<br>`` |
occ app:remove |
Removes an installed app completely. | ``bash<br>occ app:remove <app-id> [--no-interaction]<br>`` |
occ app:update |
Updates a single app to the latest version. | ``bash<br>occ app:update <app-id> [--no-interaction]<br>`` |
occ app:update --all |
Updates every installed app to the newest version. | ``bash<br>occ app:update --all [--no-interaction]<br>`` |
Practical steps
occ app:list
- Check what apps are currently installed
Note the exact app‑id you want to work with.
occ app:enable nextcloud
- Enable an app
occ app:disablespreview
- Disable an app
occ app:install gallery
- Install a new app (e.g., from the marketplace)
occ app:remove gallery
- Remove an app you no longer need
occ app:update notes
- Update a single app
occ app:update --all
- Update all apps at once
Things to verify
- The user you are logged in as must have admin privileges; otherwise the commands will fail with a permission error.
- After enabling/disabling an app, restart any related services (e.g.,
occ service:restart <service>) if the app does not take effect immediately. - If an app fails to install or update, check the logs in
data/nextcloud.logfor detailed error messages.
If you encounter an error, run occ --help or consult the specific app’s documentation for additional flags and options.
