mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix permissions for notify-push
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
dee692f3e9
commit
42c721d4f0
2 changed files with 1 additions and 4 deletions
|
|
@ -513,6 +513,7 @@ elif [ "$(php /var/www/html/occ config:app:get notify_push enabled)" != "yes" ];
|
||||||
elif [ "$SKIP_UPDATE" != 1 ]; then
|
elif [ "$SKIP_UPDATE" != 1 ]; then
|
||||||
php /var/www/html/occ app:update notify_push
|
php /var/www/html/occ app:update notify_push
|
||||||
fi
|
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 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:system:set trusted_proxies 1 --value="::1"
|
||||||
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"
|
php /var/www/html/occ config:app:set notify_push base_endpoint --value="https://$NC_DOMAIN/push"
|
||||||
|
|
|
||||||
|
|
@ -46,10 +46,6 @@ fi
|
||||||
export DATABASE_URL="postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
|
export DATABASE_URL="postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
|
||||||
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST"
|
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
|
# Run it
|
||||||
/nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \
|
/nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \
|
||||||
--database-prefix="oc_" \
|
--database-prefix="oc_" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue