You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "**** Setting notify_push server URL to ${NOTIFY_PUSH_URL} ****"
6
-
if ! occ notify_push:setup "${NOTIFY_PUSH_URL}"; then
7
-
echo "**** There was an error setting the notify_push server URL. Please double check your reverse proxy settings as well as the overwrite.cli.url entry in Nextcloud's config.php ****"
8
-
fi
7
+
while ! occ notify_push:setup "${NOTIFY_PUSH_URL}"; do
8
+
RETRY=$((${RETRY} + 1))
9
+
if [[ "${RETRY}" -lt 6 ]]; then
10
+
echo "**** Retrying notify_push setup ****"
11
+
sleep 3
12
+
else
13
+
echo "**** There was an error setting the notify_push server URL. Please double check your reverse proxy settings as well as the overwrite.cli.url entry in Nextcloud's config.php ****"
0 commit comments