No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
2 deletions
-
scripts/update/01-run.sh
|
|
@ -135,9 +135,14 @@ cd "$UMBREL_ROOT" |
|
|
|
cat <<EOF > "$UMBREL_ROOT"/statuses/update-status.json |
|
|
|
{"state": "installing", "progress": 70, "description": "Attempting to autofix Docker failure", "updateTo": "$RELEASE"} |
|
|
|
EOF |
|
|
|
sudo systemctl restart docker |
|
|
|
sudo systemctl restart docker || true # Soft fail on environments that don't use systemd |
|
|
|
sleep 1 |
|
|
|
./scripts/stop |
|
|
|
./scripts/stop || { |
|
|
|
# If this doesn't resolve the issue, start containers again before failing so the web UI is still accessible |
|
|
|
echo "That didn't work, attempting to restart containers" |
|
|
|
./scripts/start |
|
|
|
false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
# Fix broken Nextcloud installs from Umbrel v0.4.0 to be accessible from both |
|
|
|