# Syncthing running but gui not available

**URL:** https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349
**Category:** Support
**Created:** [June 27, 2015, 10:12pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349 "2015-06-27T22:12:46Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 28, 2015, 1:10pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/21 "2015-06-28T13:10:46Z")

</div>

I only have ssh (without remote desktop) on my vserver ☹

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [June 28, 2015, 3:16pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/22 "2015-06-28T15:16:28Z")

</div>

Whatever you were doing before to try to connect to the gui, do the same thing but over https and not http.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 28, 2015, 3:29pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/23 "2015-06-28T15:29:59Z")

</div>

well I thinks this is my problem 😔 I’m using ssl since first run…

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 28, 2015, 3:38pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/24 "2015-06-28T15:38:47Z")

</div>

after killing syncthing, logs looking fine - no hints with errors 😳killing syncthing doenst seem to push any lines to synthing.log 😒

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [June 28, 2015, 3:42pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/25 "2015-06-28T15:42:40Z")

</div>

Did you kill it with SIGABRT?

It’s also possible that the init script you have makes the log to be overwritten.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 28, 2015, 3:45pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/26 "2015-06-28T15:45:28Z")

</div>

nope I used kill -6 and deleted the log before killing. log file had about 260MB…

there were no lines about errors than the SSL errors from above…

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [June 28, 2015, 4:06pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/27 "2015-06-28T16:06:32Z")

</div>

Sorry, i don’t follow what you are doing. If you don’t have access to the web ui after reatarting syncthing then it’s not a bug, you’re most likely just connecting to the wrong port. The port is printed in the logs.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 28, 2015, 4:14pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/28 "2015-06-28T16:14:24Z")

</div>

I couldn’t access the gui from remote from time to time although syncthing was running and listening on the right port… so I watched the logs and found a lot of ssl errors (e.g. 2015/06/27 05:36:26 http: TLS handshake error from 109.XXX.XXX.33:4152: EOF). after killing syncthing, it workes fine (mostly until I can’t access the gui again) before your hint just to kill syncthing, I always restarted the vserver… (which helped too)

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 28, 2015, 4:25pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/29 "2015-06-28T16:25:34Z")

</div>

and

> [@AudriusButkevicius](#):
>
> kill -6 \<Syncthing pid\>
> 
> which it will cause to produce a stacktrace to the log (which in your case is in /var/log/syncthing.log)

didn’t push any hints to syncthing.log 😳

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [June 28, 2015, 5:00pm UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/30 "2015-06-28T17:00:09Z")

</div>

Well try running syncthing stand alone, send a kill -6 from a second shell and it should produce output. It’s probably your init script swallowing it.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 29, 2015, 7:13am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/31 "2015-06-29T07:13:48Z")

</div>

hi there! same this morning: syncthing running and listening - but GUI not responding.

watched the logs and found about 40 lines about running syncthin twice:

```
[monitor] 02:59:37 INFO: Syncthing exited: exit status 1
[monitor] 02:59:38 INFO: Starting syncthing
[7QCUL] 02:59:39 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:39 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:39 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:39 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:39 INFO: Syncthing exited: exit status 1
[monitor] 02:59:40 INFO: Starting syncthing
[7QCUL] 02:59:40 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:40 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:40 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:40 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:40 INFO: Syncthing exited: exit status 1
[monitor] 02:59:41 WARNING: 4 restarts in 6.649644053s; not retrying further
[monitor] 02:59:42 INFO: Starting syncthing
[7QCUL] 02:59:42 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:42 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:42 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:42 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:42 INFO: Syncthing exited: exit status 1
[monitor] 02:59:43 INFO: Starting syncthing
[7QCUL] 02:59:44 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:44 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:44 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:44 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:44 INFO: Syncthing exited: exit status 1
[monitor] 02:59:45 INFO: Starting syncthing
[7QCUL] 02:59:46 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:46 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:46 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:46 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:46 INFO: Syncthing exited: exit status 1
[monitor] 02:59:47 INFO: Starting syncthing
[7QCUL] 02:59:47 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:47 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:47 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:47 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:47 INFO: Syncthing exited: exit status 1
[monitor] 02:59:48 WARNING: 4 restarts in 6.851814844s; not retrying further
[monitor] 02:59:48 INFO: Starting syncthing
[7QCUL] 02:59:49 INFO: syncthing v0.11.11 (go1.4.2 linux-amd64 default) unknown-user@syncthing-builder 2015-06-28 19:10:57 UTC
[7QCUL] 02:59:49 INFO: My ID: 7QCULIP-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-GJC57AF
[7QCUL] 02:59:49 INFO: Database block cache capacity 8192 KiB
[7QCUL] 02:59:49 FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 02:59:49 INFO: Syncthing exited: exit status 1
```

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [June 29, 2015, 7:23am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/32 "2015-06-29T07:23:57Z")

</div>

…and is another another copy of Syncthing running? What exactly does “GUI not responding” mean? Are http requests for the GUI timing out, or are they being rejected?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [June 29, 2015, 8:30am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/33 "2015-06-29T08:30:26Z")

</div>

Also, is it actually running? Because the log just says it failed to start, it doesn’t have any logs of running successfully.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 29, 2015, 8:57am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/34 "2015-06-29T08:57:42Z")

</div>

yes it’s running and syncing and its only one instance that is running 😔

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 29, 2015, 9:10am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/35 "2015-06-29T09:10:01Z")

</div>

chrome says: “Diese Webseite ist nicht verfügbar.” which means it’s not available… chrome err code: ERR\_CONNECTION\_RESET if I watch the statusbar while trying to connect: “trying to establish secure connection” and then it aborts without having a connection established 😥I think its maybe a problem with the handshake or with the certificate itself…?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [June 29, 2015, 9:15am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/36 "2015-06-29T09:15:46Z")

</div>

Well the log says otherwise, it does seem that you have to instances running, and the one which does seem to be running and causing connection issues doesn’t have it’s log captured, so there is very little we can diagnose without the log.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 29, 2015, 9:22am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/37 "2015-06-29T09:22:46Z")

</div>

now i see 😌have actually 2 running instances - but dont know why 😁thanks so far!!!

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 29, 2015, 9:28am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/38 "2015-06-29T09:28:36Z")

</div>

what do you think: is my script responsible for the second instance?

```
# /etc/init/syncthing.conf
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
env STNORESTART=yes
env USERID='syncusr'
env HOME=/home/$USERID
# setuid "syncusr"
# setgid "syncusr"
script
exec 1>>/var/log/syncthing.log 2>&1
su - $USERID -c '/usr/local/bin/syncthing'
end script
respawn
```

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [June 29, 2015, 9:38am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/39 "2015-06-29T09:38:41Z")

</div>

> [@Eddy2909](#):
>
> yes it’s running and syncing and its only one instance that is running

> [@Eddy2909](#):
>
> now i see have actually 2 running instances - but dont know why

It’s really very important that you answer correctly the **first** time. Otherwise you just waste everyone’s time at best, and end up completely misleading us and not solving your problem at worst.

> [@Eddy2909](#):
>
> is my script responsible for the second instance?

That’s not starting Syncthing with `-no-restart`, which is likely causing your issues.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 29, 2015, 9:48am UTC](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349/40 "2015-06-29T09:48:07Z")

</div>

thanks guys! one final question: which is correct? su - $USERID -c '/usr/local/bin/syncthing -no-restart’ or su - $USERID -c ‘/usr/local/bin/syncthing’ -no-restart

@canton7 be sure, wasting someones time isn’t my intent. sad to hear that. I checked if there was a second instance running - but overlooked it or just made a fault. anyway thanks much

[Previous page](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349.md?page=1)

[Next page](https://forum.syncthing.net/t/syncthing-running-but-gui-not-available/3349.md?page=3)
