From b36f71ff748ed33d25d09698304f5905eed992f6 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 30 Oct 2023 10:44:09 +0100 Subject: [PATCH] also enable integration apps after installing them Signed-off-by: Simon L --- community-containers/libretranslate/libretranslate.json | 1 + community-containers/local-ai/local-ai.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/community-containers/libretranslate/libretranslate.json b/community-containers/libretranslate/libretranslate.json index c0a878c5..80312a9a 100644 --- a/community-containers/libretranslate/libretranslate.json +++ b/community-containers/libretranslate/libretranslate.json @@ -25,6 +25,7 @@ ], "nextcloud_exec_commands": [ "php /var/www/html/occ app:install integration_libretranslate", + "php /var/www/html/occ app:enable integration_libretranslate", "php /var/www/html/occ config:app:set integration_libretranslate host --value='http://nextcloud-aio-libretranslate'", "php /var/www/html/occ config:app:set integration_libretranslate port --value='5000'" ] diff --git a/community-containers/local-ai/local-ai.json b/community-containers/local-ai/local-ai.json index 174fad3e..dd69ebbe 100644 --- a/community-containers/local-ai/local-ai.json +++ b/community-containers/local-ai/local-ai.json @@ -35,8 +35,10 @@ "echo 'Scanning nextcloud-aio-local-ai folder for admin user...'", "php /var/www/html/occ files:scan --path='/admin/files/nextcloud-aio-local-ai'", "php /var/www/html/occ app:install integration_openai", + "php /var/www/html/occ app:enable integration_openai", "php /var/www/html/occ config:app:set integration_openai url --value http://nextcloud-aio-local-ai:8080", - "php /var/www/html/occ app:install assistant" + "php /var/www/html/occ app:install assistant", + "php /var/www/html/occ app:enable assistant" ] } ]