Skip to content

Commit b6b5d59

Browse files
authored
Merge pull request #6255 from nextcloud/enh/noid/improve-ghcr.io-check
mastercontainer: improve check for ghcr.io
2 parents 30cddde + 3dd5407 commit b6b5d59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Containers/mastercontainer/start.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,11 @@ fi
274274

275275
# Check if ghcr.io is reachable
276276
# Solves issues like https://github.com/nextcloud/all-in-one/discussions/5268
277-
if ! curl https://ghcr.io &>/dev/null; then
277+
if ! curl --no-progress-meter https://ghcr.io/v2/ >/dev/null; then
278278
print_red "Could not reach https://ghcr.io."
279279
echo "Most likely is something blocking access to it."
280-
echo "You should be able to fix this by using https://github.com/nextcloud/all-in-one/tree/main/manual-install"
280+
echo "You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html"
281+
echo "Another solution is using https://github.com/nextcloud/all-in-one/tree/main/manual-install"
281282
exit 1
282283
fi
283284

0 commit comments

Comments
 (0)