Synology Notes
  • Synology Notes
  • Container Manager
    • Applications
      • Portainer
      • Shlink
      • Nextcloud
      • Home Assistant
        • Matter Server
  • Virtual Machine Manager
    • Virtual Machines
      • Supervised Home Assistant
  • Connectivity
    • DDNS
    • SSH
  • Storage
    • Migrate drives
    • Share NFS folder
  • Appendix
    • A. DSM CLI
    • B. Docker CLI
    • C. Nextcloud CLI
Powered by GitBook
On this page
  1. Appendix

C. Nextcloud CLI

All the following commands are executable also through the container. Assuming your application container is nextcloud-app, for instance, you should run the following from the DSM shell.

docker exec --user www-data nextcloud-app php occ <ommand here>
  • Scan & cleanup

    occ files:scan --all
    occ files:cleanup
  • Set maintenance mode

    occ maintenance:mode --[on|off]
  • Check setup

    occ integrity:check-core
  • Upgrade to a newer version (no need using containers)

    occ upgrade
  • Get the current configured trusted_proxies

    occ config:system:get trusted_proxies
PreviousB. Docker CLI

Last updated 11 months ago