diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index b3752166..3e70d40a 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -513,6 +513,7 @@ elif [ "$(php /var/www/html/occ config:app:get notify_push enabled)" != "yes" ]; elif [ "$SKIP_UPDATE" != 1 ]; then php /var/www/html/occ app:update notify_push fi +chmod 775 -R /nextcloud/custom_apps/notify_push/bin/ php /var/www/html/occ config:system:set trusted_proxies 0 --value="127.0.0.1" php /var/www/html/occ config:system:set trusted_proxies 1 --value="::1" php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push" diff --git a/Containers/notify-push/start.sh b/Containers/notify-push/start.sh index dcc5100b..d730c7fd 100644 --- a/Containers/notify-push/start.sh +++ b/Containers/notify-push/start.sh @@ -46,10 +46,6 @@ fi export DATABASE_URL="postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB" export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST" -# Make the binary executable if possible -ls -l /nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push -chmod +x /nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push - # Run it /nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \ --database-prefix="oc_" \