Skip to content

Conversation

@tomasz1986
Copy link

Update start.sh script for Syncthing v2

Syncthing v2 requires command line options to use a double -- syntax.
The old, single - syntax is no longer supported, which causes the start
script to fail to start. Therefore, change the syntax to the supported
one.

Additionally, remove the no longer supported --no-default-folder option,
as the whole concept of "default folder" has been removed in Syncthing
v2.

Signed-off-by: Tomasz Wilczyński twilczynski@naver.com

Syncthing v2 requires command line options to use a double -- syntax.
The old, single - syntax is no longer supported, which causes the start
script to fail to start. Therefore, change the syntax to the supported
one.

Additionally, remove the no longer supported --no-default-folder option,
as the whole concept of "default folder" has been removed in Syncthing
v2.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
@calmh
Copy link

calmh commented Sep 1, 2025

Optionally, could add export STNODEFAULTFOLDER=1 to be equivalent with --no-default-folder on Syncthing v1 while not causing a problem with Syncthing v2.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants