mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 20:26:33 +00:00
- Rename all docker-compose.yml templates to compose.yml - Update override and CA override filenames accordingly - Adjust compose wrapper, lookup plugins, filters and path helpers - Update roles, tasks, handlers and scripts to use compose CLI - Rewrite documentation and admin guides to reference compose - Update unit and integration tests to expect compose.yml - Keep internal variable keys for backward compatibility where needed https://chatgpt.com/share/69870272-b168-800f-84c3-6417398e441f
771 B
771 B
OCC (Nextcloud Command Line) 🔧
Reference for frequently used OCC commands, including user and app management.
General Use
To use OCC, run:
compose exec -it -u www-data application /var/www/html/occ
App Administration
compose exec -u www-data application php occ config:list {{app_name}}
Initialize Duplicates
compose exec -it -u www-data application /var/www/html/occ duplicates:find-all --output
Unlock Files
compose exec -it -u www-data application /var/www/html/occ maintenance:mode --on
compose exec -it nextcloud_database_1 mysql -u nextcloud -pPASSWORD1234132 -D nextcloud -e "delete from oc_file_locks where 1"
compose exec -it -u www-data application /var/www/html/occ maintenance:mode --off