From 53ab227ba80b9f4dc4f9e8ab3f4fd8a00f356dc3 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Thu, 10 Sep 2026 13:56:30 +0200 Subject: [PATCH] safebucket: retry the garage download, record admin credentials --- install/safebucket-install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/safebucket-install.sh b/install/safebucket-install.sh index d190656f8..940d47f63 100644 --- a/install/safebucket-install.sh +++ b/install/safebucket-install.sh @@ -24,7 +24,7 @@ if [[ -z "$GARAGE_VERSION" ]]; then msg_error "Could not determine latest stable Garage version" exit 1 fi -curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GARAGE_VERSION}/$(arch_resolve "x86_64-unknown-linux-musl" "aarch64-unknown-linux-musl")/garage" -o /usr/local/bin/garage +curl_download "/usr/local/bin/garage" "https://garagehq.deuxfleurs.fr/_releases/${GARAGE_VERSION}/$(arch_resolve "x86_64-unknown-linux-musl" "aarch64-unknown-linux-musl")/garage" chmod +x /usr/local/bin/garage mkdir -p /opt/garage/{data,meta} RPC_SECRET=$(openssl rand -hex 32) @@ -195,6 +195,11 @@ auth: EOF chmod 600 /opt/safebucket/config.yaml chown -R safebucket:safebucket /opt/safebucket +cat <~/safebucket.creds +Safebucket Admin +Username: admin@safebucket.io +Password: ${ADMIN_PASSWORD} +EOF msg_ok "Configured Safebucket" msg_info "Creating Service"