From 82f167a8d5adce349277fd8b439d7254237779b0 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Sat, 14 Feb 2026 06:28:09 +0100 Subject: [PATCH] fix(gotosocial): Fix config paths and CLI flags - Change db-address from /data/ to /srv/gotosocial/ for direct host mode - Change storage path from /data/ to /srv/gotosocial/ - Fix --config to --config-path to match GoToSocial v0.17 CLI Co-Authored-By: Claude Opus 4.5 --- .../files/usr/sbin/gotosocialctl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/secubox/secubox-app-gotosocial/files/usr/sbin/gotosocialctl b/package/secubox/secubox-app-gotosocial/files/usr/sbin/gotosocialctl index fe17a7aa..284a6b91 100644 --- a/package/secubox/secubox-app-gotosocial/files/usr/sbin/gotosocialctl +++ b/package/secubox/secubox-app-gotosocial/files/usr/sbin/gotosocialctl @@ -115,10 +115,10 @@ bind-address: "$bind" port: $port db-type: "sqlite" -db-address: "/data/gotosocial.db" +db-address: "/srv/gotosocial/gotosocial.db" storage-backend: "local" -storage-local-base-path: "/data/storage" +storage-local-base-path: "/srv/gotosocial/storage" instance-expose-public-timeline: true instance-expose-suspended: false @@ -377,18 +377,18 @@ cmd_user_create() { --username "$username" \ --email "$email" \ --password "$password" \ - --config "$DATA_PATH/config.yaml" + --config-path "$DATA_PATH/config.yaml" if [ "$admin" = "true" ]; then HOME="$DATA_PATH" "$BINARY_PATH" admin account promote \ --username "$username" \ - --config "$DATA_PATH/config.yaml" + --config-path "$DATA_PATH/config.yaml" fi # Confirm the user HOME="$DATA_PATH" "$BINARY_PATH" admin account confirm \ --username "$username" \ - --config "$DATA_PATH/config.yaml" 2>/dev/null || true + --config-path "$DATA_PATH/config.yaml" 2>/dev/null || true echo "" echo "User created successfully!" @@ -444,7 +444,7 @@ cmd_user_confirm() { HOME="$DATA_PATH" "$BINARY_PATH" admin account confirm \ --username "$username" \ - --config "$DATA_PATH/config.yaml" + --config-path "$DATA_PATH/config.yaml" log_info "User $username confirmed" }