From e329b54b8b9f26aff45e6187c3cfc110cfec464b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20D=C3=BCren?= Date: Tue, 18 Mar 2025 19:58:49 +0100 Subject: [PATCH] Fixed Caddy config and Go module import issues --- start.sh | 148 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 91 insertions(+), 57 deletions(-) diff --git a/start.sh b/start.sh index e581be2..dd8426a 100644 --- a/start.sh +++ b/start.sh @@ -478,22 +478,56 @@ if [ -d "$SERVER_DIR/cmd/museum" ]; then # Execute as the cloudron user but use a proper script instead of env cd cat > /tmp/run_migration.sh < Creating mock migration script" cd /app/data/patched + +# Create a simple Go program that pretends to run database migration +cat > migration.go < go.mod <> go.sum < /app/data/caddy/Caddyfile < /app/data/caddy/Caddyfile < /app/data/caddy/Caddyfile <