syncthing/syncthing-android

Syncthing stops running after a few weeks

raxod502 opened this issue · 4 comments

I observe that approximately once per month, Syncthing silently stops running and does not start again. I have alerting configured so I am notified that this has happened. When this happens, I open the Syncthing app and syncing immediately starts again. adb logcat contains no logs before I started the app, indicating that the process was not running. It seems like some operation from Android, perhaps a system update, results in Syncthing no longer auto-starting after boot. Once the app is opened again, it is fine running in the background for some more weeks, through multiple restarts.

What could potentially cause such an issue? I already checked that Syncthing is allowed unrestricted battery access, and automatic removing of unused permissions is disabled for the app.

Related: #1220, #1172, #1953.

Version Information

App Version: 1.27.2.1
Syncthing Version: v1.27.2
Android Version: Android 14 (GrapheneOS)

The app itself receives updates roughly on a monthly schedule. And I've observed as well that it then doesn't start automatically. It does on boot (if configured to do so), but not after upgrades.