From 19b12a149d82a638e96a460a3fcb8fbb21ffaad8 Mon Sep 17 00:00:00 2001 From: Vladimir D Date: Tue, 12 Aug 2025 14:10:06 +0400 Subject: [PATCH] app running failure fixed --- start.sh | 2 +- supervisor/syncthing.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index a6aab99..1ed814b 100755 --- a/start.sh +++ b/start.sh @@ -7,7 +7,7 @@ mkdir -p /app/data/config /app/data/folders /run/syncthing # if this if the first run, generate a useful config if [[ ! -f /app/data/config/config.xml ]]; then echo "=> Generating config" - STNODEFAULTFOLDER=1 /app/code/syncthing --generate="/app/data/config" + STNODEFAULTFOLDER=1 /app/code/syncthing generate --home="/app/data/config" # The password value (changeme) was determined by reading config.xml and setting value in the GUI # urAccepted is 0 for not decided, -1 for no reporting diff --git a/supervisor/syncthing.conf b/supervisor/syncthing.conf index 64237ee..55745ca 100644 --- a/supervisor/syncthing.conf +++ b/supervisor/syncthing.conf @@ -3,7 +3,7 @@ priority=20 environment=HOME=/app/data/folders,STNOUPGRADE=1 ; -no-browser opens up the browser (for desktop app preumably) ; auditfile "-" means log to stdout -command=/app/code/syncthing -gui-address=127.0.0.1:3000 -home=/app/data/config -no-browser -auditfile=- +command=/app/code/syncthing serve --gui-address=127.0.0.1:3000 --home=/app/data/config --no-browser --auditfile=- user=cloudron autostart=true autorestart=true