insync-headless start --no-daemon results in the following output:
$ insync-headless start --no-daemon INFO 2020-12-22 22:34:25,756 [mainlogs:_log_run:139] Core(app_version=220.127.116.1107, platform=Linux-x86_64-nixos/20.03.3113.d74573d8ae6) initialized INFO 2020-12-22 22:34:25,791 [main:start_core:48] core started INFO 2020-12-22 22:34:25,792 [unix_socket_server:start:106] unix socket server thread start
… I see that
insync1000.sock exists in
$ ls /tmp/insync* /tmp/insync1000.sock
… but the client CLI cannot connect and presumes the server has not started:
$ insync-headless status Insync doesn't seem to be running. Start it first.
… note that no errors are reported by the daemon running in the foreground.
It’s worth pointing out that I’ve packaged
insync-headless for the NixOS Linux distribution. I don’t see why that would present any problems (the server is running fine.)