unknown flag --browser-only

Hi,

i recently installed Syncthing v2.0.0 on a Debian 13 machine with KDE Plasma DE by using the APT repository installation and systemd service.

My issue is that the “Syncthing Web UI” launcher does not work. I checked this shortcut and it uses the flag “–browser-only”, which does not seem to exist.

Aug 13 07:08:23 notebook systemd[1123]: Started app-syncthing\x2dui@071f99cc0ca6484abdb9bb43731482ff.service - Syncthing Web UI - File synchronization UI. Aug 13 07:08:23 notebook syncthing[8097]: syncthing: error: unknown flag --browser-only

Indeed i checked the available options here Syncthing — Syncthing documentation and while “–browser-only” was still present in v1.30.0 (and worked on my machine) it does not exist in v2.0.0 anymore.

Is this an intended change and i’m doing something wrong? How else could i launch the Web UI via Shortcut / Launcher / WebApp?

Thanks for your help.

Command-like flags like that are now subcommands, in this case syncthing browser.

2 Likes

Thank you, changing the argument --browser-only to browser did the trick and the Web UI launcher works now as intended.

Since the Web UI launcher has been created automatically during the installation process with the outdated --browser-only flag, is this a bug that can be fixed? Or is this a operating system related thing?

1 Like

Good point, looks like we shipped this. I’ll correct it!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.