From c9b78e2cc2939a5865339af37a6789d07eae46ba Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 2 Dec 2020 12:41:50 +0100 Subject: [PATCH] docs: Add command line to access nextcloud occ binary --- nextcloud/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nextcloud/README.md b/nextcloud/README.md index f3764d3..04dba81 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -12,6 +12,14 @@ On peut trouver [la documentation ici][documentation]. +## Aide + +```sh +docker exec --user www-data -it nextcloud bash + +docker-compose exec --user www-data nextcloud php occ db:add-missing-primary-keys +``` + ## TODO - [x] Mise en place d'une sauvegarde / restauration de sauvegarde