Using the occ command we can control Owncloud in many ways. Very useful for situations where you can’t access the web frontend due to a broken upgrade or application.
The occ command is available from Owncloud 7 and later.
For example to disable the calendar application we run:
sudo -u www-data php -f occ app:disable calendar
And to enable the app again:
sudo -u www-data php -f occ app:enable calendar
To find the application’s name look in the owncloud/apps folder or just use the app:list command.
sudo -u www-data php occ app:list
My output looks like this on Owncloud 8.0.0
Enabled:
- activity
- admin_dependencies_chk
- bookmarks
- documents
- external
- files
- files_external
- files_pdfviewer
- files_sharing
- files_texteditor
- files_trashbin
- files_versions
- files_videoviewer
- firstrunwizard
- gallery
- mozilla_sync
- music
- rainloop
- search_lucene
- templateeditor
- updater
- user_external
Disabled:
- calendar
- contacts
- files_encryption
- files_locking
- provisioning_api
- tasks_enhanced
- user_ldap
- user_webdavauth
0 Comments
Please log in to leave a comment.