💡How to use OCC command

Example: How to update to Nextcloud 26


# Go into the container
sudo docker exec --user www-data -it nextcloud-aio-nextcloud bash
  1. Now inside the container:

# Switch to the beta channel
php occ config:system:set updater.release.channel --value=beta

# Run the update
php updater/updater.phar --no-interaction && php occ app:enable nextcloud-aio --force

# Switch back to the stable channel
php occ config:system:set updater.release.channel --value=stable

# Exit the container
exit

Last updated