daemon stuck in loop between running and stopped, eventually not running
pakyrs opened this issue · 4 comments
pakyrs commented
I am on latest Sonoma and M1 chip, the service is fine using syncthing from brew (non cask) but loops infinitely on syncthing-macos (cask install). Is there any fix I am missing?
The brew install of the normal syncthing binary has obviously been removed, and machine restarted if that even matter.
Thanks
P
xor-gate commented
What does /Users/<user>/Library/Application Support/Syncthing/syncthing.log
say ?
pakyrs commented
[start] 2023/11/21 21:00:15 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:15 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:00:18 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:00:18 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:18 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:00:22 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:00:22 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:22 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:00:26 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:00:26 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:26 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:00:30 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:00:30 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:30 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:00:41 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:00:41 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:41 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:00:51 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:00:51 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:00:51 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
[start] 2023/11/21 21:01:02 INFO: syncthing v1.26.1 "Gold Grasshopper" (go1.21.4 darwin-arm64) builder@github.syncthing.net 2023-11-15 09:54:03 UTC [stnoupgrade]
[start] 2023/11/21 21:01:02 INFO: No automatic upgrades; STNOUPGRADE environment variable defined.
[start] 2023/11/21 21:01:02 WARNING: Audit: open /Users/JohnDoe/staudit.log: no such file or directory
xor-gate commented
Try to set the following from the commandline:
defaults delete com.github.xor-gate.syncthing-macosx Arguments
pakyrs commented
works like a charm! thanks!