Closed dovydasvenckus closed 5 years ago
Looks like you didn't include the important part of the log (before the part you posted). Are you using any run conditions that are not met?
Yeah, from the logs it looks like the run conditions are not met hence it exits.
@AudriusButkevicius I don't think so. Conditions are met.
11-27 00:18:40.241 17708 17708 V RunConditionMonitor: Created new instance
11-27 00:18:40.245 17708 17708 V ReceiverManager: Registered receiver: com.nutomic.syncthingandroid.service.RunConditionMonitor$NetworkReceiver@e94038f with filter: android.content.IntentFilter@db5461c
11-27 00:18:40.248 17708 17708 V ReceiverManager: Registered receiver: com.nutomic.syncthingandroid.service.RunConditionMonitor$BatteryReceiver@7339225 with filter: android.content.IntentFilter@51aaffa
11-27 00:18:40.251 17708 17708 V ReceiverManager: Registered receiver: com.nutomic.syncthingandroid.service.RunConditionMonitor$PowerSaveModeChangedReceiver@35749ab with filter: android.content.IntentFilter@9dea808
11-27 00:18:40.255 17708 17708 V RunConditionMonitor: handleWifiWhitelist: !prefWifiWhitelistEnabled
11-27 00:18:40.255 17708 17708 V RunConditionMonitor: decideShouldRun: prefRunOnWifi && isWifiOrEthernetConnection && !prefRunOnMeteredWifi && !isMeteredNetworkConnection && wifiWhitelistConditionMet
11-27 00:18:40.256 17708 17708 I SyncthingService: shouldRun decision changed to true according to configured run conditions.
11-27 00:18:40.256 17708 17708 I SyncthingService: Shutting down background service
11-27 00:18:40.256 17708 17708 V SyncthingService: onServiceStateChange: from DISABLED to INIT
11-27 00:18:40.258 17708 17708 V SyncthingService: Starting syncthing
11-27 00:18:40.258 17708 17708 V SyncthingService: onServiceStateChange: from INIT to STARTING
This issue is solved in @Catfriend1 fork. https://github.com/Catfriend1/syncthing-android/pull/79#issuecomment-441976593
Reopening, as I guess something is wrong.
When I start Syncthing from MacroDroid or Automate using intent, Syncthing starts, but it gets killed after about 5 seconds.
Version Information