Syncthing not running after latest update 1.2.6

Hi There,

I have been trying to get Syncthing to run in Truenas Community without any luck. It just gets stuck on Deploying. Any help would be greatly appreciated.

You will need to provide much more information on what you’re doing and what you’re seeing, for anyone to be able to assist.

1 Like

Hi Jakob,

I don’t know how much more information would be required. I running TrueNas Community v25.04.2.1. This morning I noticed that Syncthing had an update available and I chose to update it. Unfortunately, Syncthing is getting stuck on “Deploying” and will not get to “Running”. All of my other apps are working fine (even ones that also had an update this morning), but Syncthing just does not want to do it. I’ve tried just about everything.

Happy to supply more information if you would like to tell me what you require.

Thank you so much for your help,

Best,

Kevin

Like, logs. Error messages. Screenshots. A Kubernetes manifest. An actual version number (1.2.6 isn’t a thing, and if it were it’d be from 2019) – was this a 2.0 upgrade? Who knows?

Feel free to assume none of us knows anything about TrueNAS, more or less, and need to work this from first principles.

1 Like

Okay, thanks!

This was the only error message… [EFAULT] In order to upgrade an app, it must not be in stopped state

This was the workload log… 2025-08-13 12:08:39.079442+00:002025-08-13 15:08:39 INF syncthing v2.0.0 “Hafnium Hornet” (go1.24.6 linux-amd64) docker@github.syncthing.net 2025-08-11 20:16:10 UTC [noupgrade, stnoupgrade] (log.pkg=main)

2025-08-13 12:08:39.089886+00:002025-08-13 15:08:39 INF Migrating old-style database to SQLite; this may take a while… (log.pkg=syncthing)

Hoping this helps,

Kevin

App Version 2.0.0

1 Like

Sorry for any confusion or inconvenience. I’m quite the newbe at this.

I noticed this message in the Web UI which states…

No connection could be made because the target machine actively refused it.

Kevin

It’s migrating. It can take a while. :slight_smile: Might be they have a health check that kills it before the migration is complete…

1 Like

Yeah, the new update from TrueNas community will upgrade you to syncthing 2.0. The migration can take a very long time on slow hardware but big datasets.

Thanks so much for the replies. Will update here once it starts running. Would’ve been nice for Truenas to give a heads up on this instead of me going crazy - lol

To start off “1.2.6” is a version number which is specific to the TrueNAS App Catalog, not Syncthing. If you’re downloading from the Stable train, the version of Syncthing you’ve installed is very likely to be 2.0.

Yesterday I clicked the update button in TrueNAS, too. And I’ve been waiting over 24 hours for my Syncthing 2.0 migration to complete. My Syncthing install is pretty huge according to the available analytics, as I use Syncthing to sync things between 3 TrueNAS boxes.

You can monitor the migration’s progress if you look at the Container Logs:

The logs should say something like this to start:

2025-08-12 15:23:25.030129+00:002025-08-12 10:23:25 INF syncthing v2.0.0 “Hafnium Hornet” (go1.24.6 linux-amd64) docker@github.syncthing.net 2025-08-11 20:16:10 UTC [noupgrade, stnoupgrade] (log.pkg=main)

2025-08-12 15:23:25.043946+00:002025-08-12 10:23:25 INF Archiving a copy of old config file format (path=/var/syncthing/config/config.xml.v37 log.pkg=syncthing)

2025-08-12 15:23:26.066159+00:002025-08-12 10:23:26 INF Migrating old-style database to SQLite; this may take a while… (log.pkg=syncthing)
1 Like

Hi Brian,

Thanks so much for your reply.

Once I was made aware that this is a migration, I then realized that it could take quite some time, due to my having a very large photo archive (I’m a retired photojournalist). So, like yourself, I’m just going to wait patiently and hopefully this won’t take years. I did check the container logs and mine are identical to yours.

Thanks so much again for your reply, truly appreciated.

2 Likes

Hi Brian,

Looking at your logs, I noticed that you’re showing only 3 lines… On a similar topic in this group your showing many more lines. My workload container logs are only showing me the same 3 lines you have above. Where did you see the other lines?

Kevin

I have two different TrueNAS SCALE boxes; my primary NAS (running 24.10.2.4) and my off-site NAS (running 25.04.2.1)

On the 24.10.2.4 machine, the app’s status is Deploying and when view the container logs, I can scroll all the way back to the beginning of the migration script’s execution.

On the 25.04.2.1 machine, the app’s status is Deploying and when I view the container logs it only displays written after I open the container logs.

All of the lines I shared in my other post and on pastebin were copied and pasted right out of TrueNAS SCALE 24.10.2.4’s Container Logs.

I don’t know why they’re different, I suspect it’s a difference between the two versions of TrueNAS SCALE.

If your migration were progressing normally, I’d expect that the status of your Syncthing App is also deploying, and that you’d see lines like what’s at the bottom of mine being written to the log every few minutes.

Hi Brian,

Only seeing those 3 lines I mentioned. Running TrueNas Community 25.04.2.1. For what it’s worth, my Syncthing is still stuck on Deploying. It’s been about 12 hours now.

Thanks,

Kevin

Instead of comparing it to what I’ve shared in other places, you should probably share what yours is doing directly.

If my experience is typical, what I think you’re trying to describe sounds problematic.

Help!!!

I’m currently running TrueNAS Community version 25.04.2.1. Syncthing was updated earlier today to version 2.0 and has been in Deploying mode for about 12 hours. Where briancmoses is able to view several lines of his logs, I am only able to see the standard 2 lines…

2025-08-13 13:57:55.296541+00:002025-08-13 16:57:55 INF syncthing v2.0.0 “Hafnium Hornet” (go1.24.6 linux-amd64) docker@github.syncthing.net 2025-08-11 20:16:10 UTC [noupgrade, stnoupgrade] (log.pkg=main)

2025-08-13 13:57:55.918506+00:002025-08-13 16:57:55 INF Migrating old-style database to SQLite; this may take a while… (log.pkg=syncthing)

Once I was made aware that this is a migration, I then realized that it could take quite some time, due to my having a very large photo archive (I’m a retired photojournalist).

Nothing else has popped up in the logs. Is this normal or problematic? Should I be seeing some lines of progression?

I’m very much a newbie to this and any help would be greatly appreciated.

Thanks so much,

Kevin

Hi folks,

Just want to add that I am having the same issue as the op here. Running TrueNAS scale 25.04.1, attempted the upgrade to 2.0 this morning and am still stuck on deploying with the following container log message:

2025-08-13 15:53:09.450909+00:002025-08-13 09:53:09 INF syncthing v2.0.0 “Hafnium Hornet” (go1.24.6 linux-amd64) docker@github.syncthing.net 2025-08-11 20:16:10 UTC [noupgrade, stnoupgrade] (log.pkg=main)

2025-08-13 15:53:09.486716+00:002025-08-13 09:53:09 INF Migrating old-style database to SQLite; this may take a while… (log.pkg=syncthing)

I have a very large dataset of ~80TB in approx 150,000 files, so I understand it will likely take a while.

Database is located on 2x 1tb nvme ssds in raid 1, running on a xeon w-1370p and 128gb ddr4.

Is there any way I could get more information on the ETA? Would be very beneficial knowing if I’m looking at a few days versus weeks/months. At this point I am also unsure if the process has been stalled or halted as the log is a little vague.

Thanks!

While migrating, Syncthing prints a status message every thousand files if at least 10s has passed since the last message. I don’t know how or whether the truenas log viewer works, maybe you need something more low level to see live output.

I am experiencing the same issue. Two other truenas boxes made the migration in less than 2hrs, the box in question has been stuck on deploying for 2 days. at this point I think I’m going to delete the app and reinstall. In my experience it will take about a day and half to resync a 9TB dataset. This is a last resort after looking into possible fixes unsuccessfully.

I can confirm that upgrades to Syncthing 2.0 on TrueNAS SCALE 25.04 are failing for large shared folders. The database conversion rate gradually slows down to single-digit files-per-second, which means that the TrueNAS app will stay stuck in the yellow deploying state forever.

My solution was:

  1. Stop the container app.
  2. rm -r /mnt/.ix-apps/app_mounts/syncthing/ix-syncthing_config/config/index-0.14.0.db
  3. rm -r /mnt/.ix-apps/app_mounts/syncthing/ix-syncthing_config/config/index-v2
  4. Start the container app.

The TrueNAS app will enter the green running state quickly and begin reindexing all folders. This will take a long time for large shared folders, natch, but smaller shared folders will come back online faster than waiting for the entire database conversion.

My indexes are significantly larger than the default memory limit for TrueNAS containers, so my current guess is that Syncthing 2.0 is starving for memory during the database conversion.

Log attached:

syncthing2-upgrade-log.7z (249.0 KB)

2 Likes