Folder not syncing

I have two devices. I shared a folder called projects on one device. It was created on the 2nd device and the files were copied to the second device. Now when I add files to the shared folder they are not synced to the other device. Not sure how to get this working. Any ideas?

Post screenshots from both sides.

You’ll have to provide a lot more detail so someone can help you. And often those logs already have enough information for you to figure out the problem yourself.

You can find a tutorial on how to create logs here: http://docs.syncthing.net/dev/debugging.html

check if master folder is set on probably the first device (foldersettings)

Checking if they are connected and if the folders are shared is the first thing.

Looks like the reason syncing is not working is because the device is not connected. On the local LAN it works but on WAN it never connects. I am getting a “Failed to set UPnP port mapping: external port 0” error. I guess this is related?

Probably. Also, sounds like a bug - what does the full log up to this point look like? Could you run with STTRACE=upnp?

Forgive my ignorance here… How do I run with STTRACE=upnp? I looked here: http://docs.syncthing.net/dev/debugging.html and it says something about environment variables. How do I set them?

Google how do I set environment variable on

So to enable logs for syncthing I need to set an environment variable for my OS? I do not configure syncthing directly?

You set the environment in the shell before launching the process. I don’t think you need to enable it in the OS, but again, I have no clue what OS you are running.

Mac OSX 10.10.5

I used Homebrew package manager to install syncthing.

Open a terminal, run STTRACE=upnp syncthing.

thank you.

    [monitor] 2015/09/17 09:11:57.641507 monitor.go:94: INFO: Starting syncthing
[RMVXH] 2015/09/17 09:11:57.652049 main.go:475: INFO: syncthing v0.11.25 "Aluminium Ant" (go1.5.1 darwin-amd64 default) brew@yosemitevm.local 2015-09-13 09:46:17 UTC
[RMVXH] 2015/09/17 09:11:57.652150 main.go:476: INFO: My ID: RMVXHID-O2GRZGN-VZVOLIW-WIXFUPV-CNOQ3GT-VPA2AZO-GY66AM6-7RXX2AN
[RMVXH] 2015/09/17 09:11:57.655528 main.go:772: INFO: Database block cache capacity 65536 KiB
[RMVXH] 2015/09/17 09:11:57.655597 main.go:605: FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 2015/09/17 09:11:57.656550 monitor.go:158: INFO: Syncthing exited: exit status 1
[monitor] 2015/09/17 09:11:58.657926 monitor.go:94: INFO: Starting syncthing
[RMVXH] 2015/09/17 09:11:58.668900 main.go:475: INFO: syncthing v0.11.25 "Aluminium Ant" (go1.5.1 darwin-amd64 default) brew@yosemitevm.local 2015-09-13 09:46:17 UTC
[RMVXH] 2015/09/17 09:11:58.669018 main.go:476: INFO: My ID: RMVXHID-O2GRZGN-VZVOLIW-WIXFUPV-CNOQ3GT-VPA2AZO-GY66AM6-7RXX2AN
[RMVXH] 2015/09/17 09:11:58.672056 main.go:772: INFO: Database block cache capacity 65536 KiB
[RMVXH] 2015/09/17 09:11:58.672149 main.go:605: FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 2015/09/17 09:11:58.673058 monitor.go:158: INFO: Syncthing exited: exit status 1
[monitor] 2015/09/17 09:11:59.676280 monitor.go:94: INFO: Starting syncthing
[RMVXH] 2015/09/17 09:11:59.685752 main.go:475: INFO: syncthing v0.11.25 "Aluminium Ant" (go1.5.1 darwin-amd64 default) brew@yosemitevm.local 2015-09-13 09:46:17 UTC
[RMVXH] 2015/09/17 09:11:59.685870 main.go:476: INFO: My ID: RMVXHID-O2GRZGN-VZVOLIW-WIXFUPV-CNOQ3GT-VPA2AZO-GY66AM6-7RXX2AN
[RMVXH] 2015/09/17 09:11:59.688875 main.go:772: INFO: Database block cache capacity 65536 KiB
[RMVXH] 2015/09/17 09:11:59.688953 main.go:605: FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 2015/09/17 09:11:59.690002 monitor.go:158: INFO: Syncthing exited: exit status 1
[monitor] 2015/09/17 09:12:00.693543 monitor.go:94: INFO: Starting syncthing
[RMVXH] 2015/09/17 09:12:00.705005 main.go:475: INFO: syncthing v0.11.25 "Aluminium Ant" (go1.5.1 darwin-amd64 default) brew@yosemitevm.local 2015-09-13 09:46:17 UTC
[RMVXH] 2015/09/17 09:12:00.705159 main.go:476: INFO: My ID: RMVXHID-O2GRZGN-VZVOLIW-WIXFUPV-CNOQ3GT-VPA2AZO-GY66AM6-7RXX2AN
[RMVXH] 2015/09/17 09:12:00.708333 main.go:772: INFO: Database block cache capacity 65536 KiB
[RMVXH] 2015/09/17 09:12:00.708385 main.go:605: FATAL: Cannot open database: resource temporarily unavailable - Is another copy of Syncthing already running?
[monitor] 2015/09/17 09:12:00.709347 monitor.go:158: INFO: Syncthing exited: exit status 1
[monitor] 2015/09/17 09:12:01.709952 monitor.go:75: WARNING: 4 restarts in 4.068380272s; not retrying further

I posted the output but Askimet thought it was spam…

Ah, you need to do that when syncthing isn’t already running.

Shut down the other instance of syncthing first.

Do what when syncthing isn’t already running? Run STTRACE=upnp syncthing ?