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
  1. Check what apps are currently installed

Note the exact app‑id you want to work with.

   occ app:enable nextcloud
  1. Enable an app
   occ app:disablespreview
  1. Disable an app
   occ app:install gallery
  1. Install a new app (e.g., from the marketplace)
   occ app:remove gallery
  1. Remove an app you no longer need
   occ app:update notes
  1. Update a single app
   occ app:update --all
  1. 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.log for detailed error messages.

If you encounter an error, run occ --help or consult the specific app’s documentation for additional flags and options.

This FAQ was generated and/or edited by GAIN, GENs Artificial Intelligence Network and should not be considered 100% accurate. Always check facts and do your research, things change all the time. If you are unsure about any information provided, please raise a support ticket for clarification.
This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...