v2.0.15: Model initialization blocks indefinitely when launched via launchd (macOS LaunchAgent)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- macos
- Domain
- desktop, operating-systems
Research direction
Start by reproducing the initialization hang with a macOS LaunchAgent and compare it with the working terminal and nohup launches. Check whether the Ready to synchronize log entry appears and whether /rest/db/status remains blocked; done means the model initializes and the API responds when started through launchd.
Written by the indexing model from the issue text.
Description
Bug description
Syncthing v2.0.15 ("Hafnium Hornet") fails to initialize the folder model when launched
via a macOS LaunchAgent (launchd). The Ready to synchronize log entry is never emitted,
and all model-dependent API endpoints (/rest/db/status) block indefinitely.
The same binary initializes in <1 second when launched from a terminal (pty context).
Reproduction
- Any LaunchAgent plist (
RunAtLoad: true) pointing to the syncthing binary brew install syncthing && brew services start syncthing
Both block forever.
Works fine:
nohup /Applications/Syncthing.app/Contents/Resources/syncthing/syncthing \
--no-browser --no-restart &
- Dominant language
- Objective-C
- Stars
- 4k
- Forks
- 202
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from syncthing/syncthing-macos
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
syncthing/syncthing-macos#303 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
syncthing/syncthing-macos#301 ·
-
bug needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 48/100
syncthing/syncthing-macos#295 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
syncthing/syncthing-macos#289 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
syncthing/syncthing-macos#274 · 4 comments ·
All issues in syncthing/syncthing-macos
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
blackboardsh/electrobun#581 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
serhii-londar/open-source-mac-os-apps#1662 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
area-accessibility bug os-macos
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AvaloniaUI/Avalonia#22495 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Countly/countly-sdk-ios#485 ·
Maintainers usually reply within 1 day