# Syncthing don't start after sleep

**URL:** https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068
**Category:** Support
**Created:** [July 1, 2017, 2:24pm UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068 "2017-07-01T14:24:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![darkside9009](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/d07c76/32.png) [@darkside9009](https://forum.syncthing.net/u/darkside9009)
#### Post date: [July 1, 2017, 2:24pm UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068/1 "2017-07-01T14:24:17Z")

</div>

Hi,

i have a problem with my syncthing. I’m using macOS Sierra (10.12.5) I have installed syncthing and found an issue. After I close my macbook (sleep) and open it again, syncthing don’t start. The web gui is not available. I always need to restart my computer, then it’s working. Is there any log file to check, why its happen?

Thanks for your support

Darkside

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [July 1, 2017, 5:07pm UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068/2 "2017-07-01T17:07:30Z")

</div>

How did you install it?

---

<div class="post-metadata">

### Author: ![darkside9009](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/d07c76/32.png) [@darkside9009](https://forum.syncthing.net/u/darkside9009)
#### Post date: [July 1, 2017, 7:49pm UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068/3 "2017-07-01T19:49:00Z")

</div>

Hello,

i have used this instructions:

Download and extract Syncthing for Mac: [https://github.com/syncthing/syncthing/releases/latest](https://github.com/syncthing/syncthing/releases/latest).

Copy the syncthing binary (the file you would open to launch Syncthing) into a directory called bin in your home directory i.e. into /Users//bin. If “bin” does not exist, create it. Open syncthing.plist located in /etc/macosx-launchd. Replace the four occurrences of /Users/USERNAME with your actual home directory location. Copy the syncthing.plist file to ~/Library/LaunchAgents. If you have trouble finding this location select the “Go” menu in Finder and choose “Go to folder…” and then type ~/Library/LaunchAgents. Copying to ~/Library/LaunchAgents will require admin password in most cases. Log out and back in again. Or, if you do not want to log out, you can run this command in terminal: launchctl load ~/Library/LaunchAgents/syncthing.plist Note: You probably want to turn off “Start Browser” in the web GUI settings to avoid it opening a browser window on each login. Then, to access the GUI type 127.0.0.1:8384 (by default) into Safari.

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [July 2, 2017, 5:51am UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068/4 "2017-07-02T05:51:57Z")

</div>

That sounds like a proper setup. Since you used our plist file you will have logs in ~/Library/Logs/Syncthing.logs and ~/Library/Logs/Syncthing-Errors.logs, maybe they say something relevant.

---

<div class="post-metadata">

### Author: ![darkside9009](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/d07c76/32.png) [@darkside9009](https://forum.syncthing.net/u/darkside9009)
#### Post date: [July 2, 2017, 5:40pm UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068/5 "2017-07-02T17:40:16Z")

</div>

Hello,

thanks for your support. Syncthing is running but I just see this msg pop up every 10 sec.:

19:36:18 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?

I don’t think I’m running a second syncthing.

Best Regards

Darkside

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [August 1, 2017, 5:50pm UTC](https://forum.syncthing.net/t/syncthing-dont-start-after-sleep/10068/6 "2017-08-01T17:50:34Z")

</div>

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