Syncthing 1.28.1 --upgrade-check not defined, not function

I test on ARM64, Syncthing 1.28.1 with option --upgrade-check I see the option in on-line help https://docs.syncthing.net/users/config.html And in command line help sycnthing --help

$QPKG_ROOT/syncthing --upgrade-check --no-browser --skip-port-probing -home=$QPKG_ROOT -gui-address=0.0.0.0:$syncthing_gui_port -audit -auditfile="$syncthing_log_path/Audit-$datetimecode.log" -logflags=3 -logfile="$syncthing_log_path/Log-$datetimecode.log" &

This line was inside a .sh file to startup syncthing. When I add --upgrade-check it not startup, if I revome it startup. If call in sheel i see that when add --upgrade-check, syncthing prompt me the help.

Why???

For the record, the actual command line options are listed at https://docs.syncthing.net/users/syncthing.html. They aren’t exactly the same as the config options.

What happens if you try to use the same command directly from the command line? Can you copy and paste the output here?

--upgrade-check checks for an upgrade and exits. That does not seem to be what you want to do given all the other options and launching into the background.

1 Like

They aren’t exactly the same as the config options. I use old style of command but I see that it function anyway.

$QPKG_ROOT/syncthing --no-browser --skip-port-probing -home=$QPKG_ROOT -gui-address=0.0.0.0:$syncthing_gui_port -audit -auditfile="$syncthing_log_path/Audit-$datetimecode.log" -logflags=3 -logfile="$syncthing_log_path/Log-$datetimecode.log" &

Is perfectly functionaly.

The test with sheel, I hade made some day ago, and it reply me with help. Now I re-test and I see it function, I not know what I do some day ago.

I understand the problem, with --upgrade-check syncthing check for update and terminate, but I had supposed that function as same as --no-upgrade that force and ignore the value configured in config.xml

Thank you

May be userfully write “and exits” in the help https://docs.syncthing.net/users/syncthing.html#cmdoption-upgrade-check

Thank you

1 Like

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