Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon stuck in loop between running and stopped, eventually not running #206

Closed
pakyrs opened this issue Nov 20, 2023 · 4 comments
Closed

Comments

@pakyrs
Copy link

pakyrs commented Nov 20, 2023

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
Copy link
Member

What does /Users/<user>/Library/Application Support/Syncthing/syncthing.log say ?

@pakyrs
Copy link
Author

pakyrs commented Nov 21, 2023

[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
Copy link
Member

Try to set the following from the commandline:

defaults delete com.github.xor-gate.syncthing-macosx Arguments

@pakyrs
Copy link
Author

pakyrs commented Nov 22, 2023

works like a charm! thanks!

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

No branches or pull requests

2 participants