From 1d766a4890df9c3342c060b8f2be9684a7e903f6 Mon Sep 17 00:00:00 2001 From: unglaublicherdude Date: Thu, 6 Jun 2024 13:56:48 +0200 Subject: [PATCH] remove the tty flag --- install.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/install.sh b/install.sh index 1f5e6804..020b6524 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ docker stop nextcloud-container || echo "No container to stop" sleep 1 docker run -d --name nextcloud-container --rm --publish 80:80 nextcloud:28 -until docker exec --user www-data -it nextcloud-container php occ maintenance:install --admin-user=admin --admin-pass=admin >/dev/null +until docker exec --user www-data -i nextcloud-container php occ maintenance:install --admin-user=admin --admin-pass=admin >/dev/null do echo "Trying installation" sleep 2 @@ -21,24 +21,24 @@ make build make appstore tar -xf ./build/artifacts/gdatavaas.tar.gz -C ./build/artifacts docker cp ./build/artifacts/gdatavaas nextcloud-container:/var/www/html/apps/ -docker exec -it nextcloud-container chown -R www-data:www-data /var/www/html/apps/gdatavaas +docker exec -i nextcloud-container chown -R www-data:www-data /var/www/html/apps/gdatavaas -until docker exec --user www-data -it nextcloud-container php occ app:update --all +until docker exec --user www-data -i nextcloud-container php occ app:update --all do echo "Trying app update" sleep 2 done -docker exec --user www-data -it nextcloud-container php occ app:enable gdatavaas +docker exec --user www-data -i nextcloud-container php occ app:enable gdatavaas -docker exec --user www-data -it nextcloud-container php occ config:app:set gdatavaas clientId --value="$CLIENT_ID" -docker exec --user www-data -it nextcloud-container php occ config:app:set gdatavaas clientSecret --value="$CLIENT_SECRET" -docker exec --user www-data -it nextcloud-container php occ config:app:set gdatavaas authMethod --value=ClientCredentials -docker exec --user www-data -it nextcloud-container php occ config:app:set gdatavaas autoScanFiles --value=true -docker exec --user www-data -it nextcloud-container php occ config:app:set gdatavaas scanQueueLength --value=100 +docker exec --user www-data -i nextcloud-container php occ config:app:set gdatavaas clientId --value="$CLIENT_ID" +docker exec --user www-data -i nextcloud-container php occ config:app:set gdatavaas clientSecret --value="$CLIENT_SECRET" +docker exec --user www-data -i nextcloud-container php occ config:app:set gdatavaas authMethod --value=ClientCredentials +docker exec --user www-data -i nextcloud-container php occ config:app:set gdatavaas autoScanFiles --value=true +docker exec --user www-data -i nextcloud-container php occ config:app:set gdatavaas scanQueueLength --value=100 -docker exec --user www-data -it nextcloud-container php occ log:manage --level DEBUG -docker exec --user www-data -it nextcloud-container php occ app:disable firstrunwizard +docker exec --user www-data -i nextcloud-container php occ log:manage --level DEBUG +docker exec --user www-data -i nextcloud-container php occ app:disable firstrunwizard source install.local || echo "No additional install script found." -# docker exec --user www-data -it nextcloud-container php cron.php +# docker exec --user www-data -i nextcloud-container php cron.php