Syncthing crashes, seems not able to store config

“Erstellen einer Syncthing-Konfiguration gescheitert. Bitte überprüfen Sie die Logs”

This is the error message in German, I translated it in the Subject.

Could someone please give me some help? Im am starting syncthing on a MotoG3 with Android 6.0.1 and CM13.0

My syncthing logfile:

`

--------- beginning of main
05-03 12:21:12.771  5774  7222 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:21:12.994  5774  7255 I SyncthingNativeCode: 10:21:12 WARNING: Key exists; will not overwrite.
05-03 12:21:12.994  5774  7255 I SyncthingNativeCode: 10:21:12 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:21:12.994  5774  7255 I SyncthingNativeCode: 10:21:12 WARNING: Config exists; will not overwrite.
05-03 12:21:13.168  5774  7287 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:21:13.410  5774  7321 I SyncthingNativeCode: 10:21:13 WARNING: Key exists; will not overwrite.
05-03 12:21:13.410  5774  7321 I SyncthingNativeCode: 10:21:13 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:21:13.410  5774  7321 I SyncthingNativeCode: 10:21:13 WARNING: Config exists; will not overwrite.
05-03 12:21:13.647  5774  7363 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:21:13.795  5774  7385 I SyncthingNativeCode: 10:21:13 WARNING: Key exists; will not overwrite.
05-03 12:21:13.796  5774  7385 I SyncthingNativeCode: 10:21:13 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:21:13.796  5774  7385 I SyncthingNativeCode: 10:21:13 WARNING: Config exists; will not overwrite.
05-03 12:21:14.031  5774  7431 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:21:14.211  5774  7450 I SyncthingNativeCode: 10:21:14 WARNING: Key exists; will not overwrite.
05-03 12:21:14.212  5774  7450 I SyncthingNativeCode: 10:21:14 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:21:14.212  5774  7450 I SyncthingNativeCode: 10:21:14 WARNING: Config exists; will not overwrite.
05-03 12:21:14.475  5774  7485 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:21:14.837  5774  7518 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:21:15.229  5774  7551 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:22:01.446  5774  8204 I SyncthingNativeCode: 10:22:01 WARNING: Key exists; will not overwrite.
05-03 12:22:01.447  5774  8204 I SyncthingNativeCode: 10:22:01 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:01.447  5774  8204 I SyncthingNativeCode: 10:22:01 WARNING: Config exists; will not overwrite.
05-03 12:22:01.808  5774  8236 I SyncthingNativeCode: 10:22:01 WARNING: Key exists; will not overwrite.
05-03 12:22:01.809  5774  8236 I SyncthingNativeCode: 10:22:01 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:01.809  5774  8236 I SyncthingNativeCode: 10:22:01 WARNING: Config exists; will not overwrite.
05-03 12:22:02.160  5774  8268 I SyncthingNativeCode: 10:22:02 WARNING: Key exists; will not overwrite.
05-03 12:22:02.162  5774  8268 I SyncthingNativeCode: 10:22:02 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:02.162  5774  8268 I SyncthingNativeCode: 10:22:02 WARNING: Config exists; will not overwrite.
05-03 12:22:02.503  5774  8326 W SyncthingNativeCode: ionice: exec 8323: No such file or directory
05-03 12:22:02.541  5774  8314 I SyncthingNativeCode: 10:22:02 WARNING: Key exists; will not overwrite.
05-03 12:22:02.543  5774  8314 I SyncthingNativeCode: 10:22:02 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:02.543  5774  8314 I SyncthingNativeCode: 10:22:02 WARNING: Config exists; will not overwrite.
05-03 12:22:02.886  5774  8398 W SyncthingNativeCode: ionice: exec 8397: No such file or directory
05-03 12:22:02.936  5774  8388 I SyncthingNativeCode: 10:22:02 WARNING: Key exists; will not overwrite.
05-03 12:22:02.937  5774  8388 I SyncthingNativeCode: 10:22:02 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:02.938  5774  8388 I SyncthingNativeCode: 10:22:02 WARNING: Config exists; will not overwrite.
05-03 12:22:03.214  5774  8453 W SyncthingNativeCode: ionice: exec 8473: No such file or directory
05-03 12:22:03.307  5774  8461 I SyncthingNativeCode: 10:22:03 WARNING: Key exists; will not overwrite.
05-03 12:22:03.308  5774  8461 I SyncthingNativeCode: 10:22:03 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:03.309  5774  8461 I SyncthingNativeCode: 10:22:03 WARNING: Config exists; will not overwrite.
05-03 12:22:03.599  5774  8528 W SyncthingNativeCode: ionice: exec 8527: No such file or directory
05-03 12:22:03.655  5774  8518 I SyncthingNativeCode: 10:22:03 WARNING: Key exists; will not overwrite.
05-03 12:22:03.657  5774  8518 I SyncthingNativeCode: 10:22:03 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:03.657  5774  8518 I SyncthingNativeCode: 10:22:03 WARNING: Config exists; will not overwrite.
05-03 12:22:03.970  5774  8599 W SyncthingNativeCode: ionice: exec 8591: No such file or directory
05-03 12:22:04.012  5774  8580 I SyncthingNativeCode: 10:22:04 WARNING: Key exists; will not overwrite.
05-03 12:22:04.013  5774  8580 I SyncthingNativeCode: 10:22:04 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:04.014  5774  8580 I SyncthingNativeCode: 10:22:04 WARNING: Config exists; will not overwrite.
05-03 12:22:04.349  5774  8665 W SyncthingNativeCode: ionice: exec 8657: No such file or directory
05-03 12:22:04.382  5774  8644 I SyncthingNativeCode: 10:22:04 WARNING: Key exists; will not overwrite.
05-03 12:22:04.383  5774  8644 I SyncthingNativeCode: 10:22:04 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:04.384  5774  8644 I SyncthingNativeCode: 10:22:04 WARNING: Config exists; will not overwrite.
05-03 12:22:04.698  5774  8729 W SyncthingNativeCode: ionice: exec 8722: No such file or directory
05-03 12:22:04.741  5774  8711 I SyncthingNativeCode: 10:22:04 WARNING: Key exists; will not overwrite.
05-03 12:22:04.742  5774  8711 I SyncthingNativeCode: 10:22:04 INFO: Device ID: PVNKUPT-WOZ6Y23-3LT4ZEJ-7FN2LGK-AQVJQRC-7FN23GS-GFT6GPI-66K4GQN
05-03 12:22:04.742  5774  8711 I SyncthingNativeCode: 10:22:04 WARNING: Config exists; will not overwrite.
05-03 12:22:05.047  5774  8766 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:22:05.492  5774  8802 W SyncthingNativeCode: ionice: exec be: No such file or directory
05-03 12:22:05.804  5774  8838 W SyncthingNativeCode: ionice: exec be: No such file or directory

`

My Android logfile:

> `
> --------- beginning of main
> (...)
> 05-03 12:21:14.212  5774  7450 I SyncthingNativeCode: 10:21:14 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:21:14.212  5774  7450 I SyncthingNativeCode: 10:21:14 WARNING: Config exists; will not overwrite.
> 05-03 12:21:14.217  7453  7453 D su      : client exited 0
> 05-03 12:21:14.273  7472  7472 D su      : su invoked.
> 05-03 12:21:14.274  7472  7472 D su      : starting daemon client 10121 10121
> 05-03 12:21:14.335  7472  7472 D su      : client exited 0
> 05-03 12:21:14.368  7486  7486 D su      : su invoked.
> 05-03 12:21:14.368  7486  7486 D su      : starting daemon client 10121 10121
> 05-03 12:21:14.475  5774  7485 W SyncthingNativeCode: ionice: exec be: No such file or directory
> 05-03 12:21:14.480  7486  7486 D su      : client exited 0
> 05-03 12:21:14.482  5774  7323 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:21:14.638  7506  7506 D su      : su invoked.
> 05-03 12:21:14.638  7506  7506 D su      : starting daemon client 10121 10121
> 05-03 12:21:14.697  7506  7506 D su      : client exited 0
> 05-03 12:21:14.739  7519  7519 D su      : su invoked.
> 05-03 12:21:14.739  7519  7519 D su      : starting daemon client 10121 10121
> 05-03 12:21:14.837  5774  7518 W SyncthingNativeCode: ionice: exec be: No such file or directory
> 05-03 12:21:14.843  7519  7519 D su      : client exited 0
> 05-03 12:21:14.845  5774  7387 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:21:15.033  7539  7539 D su      : su invoked.
> 05-03 12:21:15.033  7539  7539 D su      : starting daemon client 10121 10121
> 05-03 12:21:15.091  7539  7539 D su      : client exited 0
> 05-03 12:21:15.133  7552  7552 D su      : su invoked.
> 05-03 12:21:15.133  7552  7552 D su      : starting daemon client 10121 10121
> 05-03 12:21:15.229  5774  7551 W SyncthingNativeCode: ionice: exec be: No such file or directory
> 05-03 12:21:15.234  7552  7552 D su      : client exited 0
> 05-03 12:21:15.236  5774  7452 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:01.029  5774  5774 D SyncthingService: All SSIDs allowed for syncing
> 05-03 12:22:01.030  5774  5774 W yncthingandroid: type=1400 audit(0.0:721): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:01.030  5774  5774 I SyncthingService: Starting syncthing according to current state and preferences
> 05-03 12:22:01.031  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:01.074  8179  8179 W chmod   : type=1400 audit(0.0:722): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:01.123  8186  8186 D su      : su invoked.
> 05-03 12:22:01.123  8186  8186 D su      : starting daemon client 10121 10121
> 05-03 12:22:01.196  8186  8186 D su      : client exited 0
> 05-03 12:22:01.256  8207  8207 D su      : su invoked.
> 05-03 12:22:01.256  8207  8207 D su      : starting daemon client 10121 10121
> 05-03 12:22:01.446  5774  8204 I SyncthingNativeCode: 10:22:01 WARNING: Key exists; will not overwrite.
> 05-03 12:22:01.447  5774  8204 I SyncthingNativeCode: 10:22:01 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:01.447  5774  8204 I SyncthingNativeCode: 10:22:01 WARNING: Config exists; will not overwrite.
> 05-03 12:22:01.455  8207  8207 D su      : client exited 0
> 05-03 12:22:01.457  5774  5774 W yncthingandroid: type=1400 audit(0.0:723): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:01.458  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:01.500  8220  8220 W chmod   : type=1400 audit(0.0:724): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:01.536  8224  8224 D su      : su invoked.
> 05-03 12:22:01.536  8224  8224 D su      : starting daemon client 10121 10121
> 05-03 12:22:01.584  8224  8224 D su      : client exited 0
> 05-03 12:22:01.629  8239  8239 D su      : su invoked.
> 05-03 12:22:01.629  8239  8239 D su      : starting daemon client 10121 10121
> 05-03 12:22:01.808  5774  8236 I SyncthingNativeCode: 10:22:01 WARNING: Key exists; will not overwrite.
> 05-03 12:22:01.809  5774  8236 I SyncthingNativeCode: 10:22:01 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:01.809  5774  8236 I SyncthingNativeCode: 10:22:01 WARNING: Config exists; will not overwrite.
> 05-03 12:22:01.813  8239  8239 D su      : client exited 0
> 05-03 12:22:01.817  5774  5774 W yncthingandroid: type=1400 audit(0.0:725): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:01.818  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:01.857  8252  8252 W chmod   : type=1400 audit(0.0:726): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:01.888  8256  8256 D su      : su invoked.
> 05-03 12:22:01.888  8256  8256 D su      : starting daemon client 10121 10121
> 05-03 12:22:01.942  8256  8256 D su      : client exited 0
> 05-03 12:22:01.986  8271  8271 D su      : su invoked.
> 05-03 12:22:01.986  8271  8271 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.160  5774  8268 I SyncthingNativeCode: 10:22:02 WARNING: Key exists; will not overwrite.
> 05-03 12:22:02.162  5774  8268 I SyncthingNativeCode: 10:22:02 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:02.162  5774  8268 I SyncthingNativeCode: 10:22:02 WARNING: Config exists; will not overwrite.
> 05-03 12:22:02.172  8271  8271 D su      : client exited 0
> 05-03 12:22:02.174  5774  5774 W yncthingandroid: type=1400 audit(0.0:727): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:02.176  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:02.259  8289  8289 D su      : su invoked.
> 05-03 12:22:02.259  8289  8289 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.277  8299  8299 D su      : su invoked.
> 05-03 12:22:02.278  8299  8299 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.315  8289  8289 D su      : client exited 0
> 05-03 12:22:02.327  8299  8299 D su      : client exited 0
> 05-03 12:22:02.363  8317  8317 D su      : su invoked.
> 05-03 12:22:02.364  8317  8317 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.397  8327  8327 D su      : su invoked.
> 05-03 12:22:02.398  8327  8327 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.503  5774  8326 W SyncthingNativeCode: ionice: exec 8323: No such file or directory
> 05-03 12:22:02.508  8327  8327 D su      : client exited 0
> 05-03 12:22:02.510  5774  8206 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:02.541  5774  8314 I SyncthingNativeCode: 10:22:02 WARNING: Key exists; will not overwrite.
> 05-03 12:22:02.543  5774  8314 I SyncthingNativeCode: 10:22:02 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:02.543  5774  8314 I SyncthingNativeCode: 10:22:02 WARNING: Config exists; will not overwrite.
> 05-03 12:22:02.555  8317  8317 D su      : client exited 0
> 05-03 12:22:02.560  5774  5774 W yncthingandroid: type=1400 audit(0.0:729): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:02.564  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:02.617  8349  8349 W chmod   : type=1400 audit(0.0:730): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:02.658  8363  8363 D su      : su invoked.
> 05-03 12:22:02.658  8363  8363 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.673  8373  8373 D su      : su invoked.
> 05-03 12:22:02.673  8373  8373 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.701  8363  8363 D su      : client exited 0
> 05-03 12:22:02.717  8373  8373 D su      : client exited 0
> 05-03 12:22:02.760  8392  8392 D su      : su invoked.
> 05-03 12:22:02.760  8392  8392 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.784  8401  8401 D su      : su invoked.
> 05-03 12:22:02.784  8401  8401 D su      : starting daemon client 10121 10121
> 05-03 12:22:02.886  5774  8398 W SyncthingNativeCode: ionice: exec 8397: No such file or directory
> 05-03 12:22:02.892  8401  8401 D su      : client exited 0
> 05-03 12:22:02.894  5774  8238 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:02.936  5774  8388 I SyncthingNativeCode: 10:22:02 WARNING: Key exists; will not overwrite.
> 05-03 12:22:02.937  5774  8388 I SyncthingNativeCode: 10:22:02 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:02.938  5774  8388 I SyncthingNativeCode: 10:22:02 WARNING: Config exists; will not overwrite.
> 05-03 12:22:02.944  5774  5774 W yncthingandroid: type=1400 audit(0.0:731): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:02.944  8392  8392 D su      : client exited 0
> 05-03 12:22:02.946  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:02.984  8423  8423 W chmod   : type=1400 audit(0.0:732): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:03.020  8428  8428 D su      : su invoked.
> 05-03 12:22:03.020  8428  8428 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.038  8438  8438 D su      : su invoked.
> 05-03 12:22:03.039  8438  8438 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.069  8428  8428 D su      : client exited 0
> 05-03 12:22:03.092  8438  8438 D su      : client exited 0
> 05-03 12:22:03.107  8455  8455 D su      : su invoked.
> 05-03 12:22:03.107  8455  8455 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.129  8466  8466 D su      : su invoked.
> 05-03 12:22:03.129  8466  8466 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.214  5774  8453 W SyncthingNativeCode: ionice: exec 8473: No such file or directory
> 05-03 12:22:03.220  8455  8455 D su      : client exited 0
> 05-03 12:22:03.222  5774  8270 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:03.307  5774  8461 I SyncthingNativeCode: 10:22:03 WARNING: Key exists; will not overwrite.
> 05-03 12:22:03.308  5774  8461 I SyncthingNativeCode: 10:22:03 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:03.309  5774  8461 I SyncthingNativeCode: 10:22:03 WARNING: Config exists; will not overwrite.
> 05-03 12:22:03.314  5774  5774 W yncthingandroid: type=1400 audit(0.0:733): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:03.314  8466  8466 D su      : client exited 0
> 05-03 12:22:03.316  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:03.350  8488  8488 W chmod   : type=1400 audit(0.0:734): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:03.384  8493  8493 D su      : su invoked.
> 05-03 12:22:03.384  8493  8493 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.405  8503  8503 D su      : su invoked.
> 05-03 12:22:03.405  8503  8503 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.439  8493  8493 D su      : client exited 0
> 05-03 12:22:03.454  8503  8503 D su      : client exited 0
> 05-03 12:22:03.479  8522  8522 D su      : su invoked.
> 05-03 12:22:03.479  8522  8522 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.500  8531  8531 D su      : su invoked.
> 05-03 12:22:03.500  8531  8531 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.599  5774  8528 W SyncthingNativeCode: ionice: exec 8527: No such file or directory
> 05-03 12:22:03.604  8531  8531 D su      : client exited 0
> 05-03 12:22:03.606  5774  8316 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:03.655  5774  8518 I SyncthingNativeCode: 10:22:03 WARNING: Key exists; will not overwrite.
> 05-03 12:22:03.657  5774  8518 I SyncthingNativeCode: 10:22:03 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:03.657  5774  8518 I SyncthingNativeCode: 10:22:03 WARNING: Config exists; will not overwrite.
> 05-03 12:22:03.663  8522  8522 D su      : client exited 0
> 05-03 12:22:03.664  5774  5774 W yncthingandroid: type=1400 audit(0.0:735): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:03.667  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:03.697  8553  8553 W chmod   : type=1400 audit(0.0:736): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:03.736  8557  8557 D su      : su invoked.
> 05-03 12:22:03.736  8557  8557 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.789  8557  8557 D su      : client exited 0
> 05-03 12:22:03.798  8571  8571 D su      : su invoked.
> 05-03 12:22:03.799  8571  8571 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.835  8586  8586 D su      : su invoked.
> 05-03 12:22:03.835  8586  8586 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.852  8571  8571 D su      : client exited 0
> 05-03 12:22:03.891  8600  8600 D su      : su invoked.
> 05-03 12:22:03.891  8600  8600 D su      : starting daemon client 10121 10121
> 05-03 12:22:03.970  5774  8599 W SyncthingNativeCode: ionice: exec 8591: No such file or directory
> 05-03 12:22:03.976  8600  8600 D su      : client exited 0
> 05-03 12:22:03.977  5774  8391 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:04.012  5774  8580 I SyncthingNativeCode: 10:22:04 WARNING: Key exists; will not overwrite.
> 05-03 12:22:04.013  5774  8580 I SyncthingNativeCode: 10:22:04 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:04.014  5774  8580 I SyncthingNativeCode: 10:22:04 WARNING: Config exists; will not overwrite.
> 05-03 12:22:04.020  5774  5774 W yncthingandroid: type=1400 audit(0.0:737): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:04.020  8586  8586 D su      : client exited 0
> 05-03 12:22:04.023  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:04.088  8623  8623 D su      : su invoked.
> 05-03 12:22:04.089  8623  8623 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.135  8623  8623 D su      : client exited 0
> 05-03 12:22:04.174  8637  8637 D su      : su invoked.
> 05-03 12:22:04.174  8637  8637 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.205  8649  8649 D su      : su invoked.
> 05-03 12:22:04.205  8649  8649 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.231  8637  8637 D su      : client exited 0
> 05-03 12:22:04.265  8666  8666 D su      : su invoked.
> 05-03 12:22:04.265  8666  8666 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.349  5774  8665 W SyncthingNativeCode: ionice: exec 8657: No such file or directory
> 05-03 12:22:04.354  8666  8666 D su      : client exited 0
> 05-03 12:22:04.356  5774  8463 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:04.382  5774  8644 I SyncthingNativeCode: 10:22:04 WARNING: Key exists; will not overwrite.
> 05-03 12:22:04.383  5774  8644 I SyncthingNativeCode: 10:22:04 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:04.384  5774  8644 I SyncthingNativeCode: 10:22:04 WARNING: Config exists; will not overwrite.
> 05-03 12:22:04.391  8649  8649 D su      : client exited 0
> 05-03 12:22:04.394  5774  5774 W yncthingandroid: type=1400 audit(0.0:739): avc: denied { rename } for uid=10121 name="config.xml" dev="mmcblk0p42" ino=28980 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
> 05-03 12:22:04.395  5774  5774 W ConfigXml: Failed to open config, moving to config.xml.invalid and creating blank config
> 05-03 12:22:04.427  8684  8684 W chmod   : type=1400 audit(0.0:740): avc: denied { setattr } for uid=10121 name="libsyncthing.so" dev="mmcblk0p42" ino=28147 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
> 05-03 12:22:04.465  8688  8688 D su      : su invoked.
> 05-03 12:22:04.465  8688  8688 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.514  8702  8702 D su      : su invoked.
> 05-03 12:22:04.514  8702  8702 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.515  8688  8688 D su      : client exited 0
> 05-03 12:22:04.560  8717  8717 D su      : su invoked.
> 05-03 12:22:04.560  8717  8717 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.574  8702  8702 D su      : client exited 0
> 05-03 12:22:04.614  8730  8730 D su      : su invoked.
> 05-03 12:22:04.614  8730  8730 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.698  5774  8729 W SyncthingNativeCode: ionice: exec 8722: No such file or directory
> 05-03 12:22:04.703  8730  8730 D su      : client exited 0
> 05-03 12:22:04.705  5774  8520 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:04.741  5774  8711 I SyncthingNativeCode: 10:22:04 WARNING: Key exists; will not overwrite.
> 05-03 12:22:04.742  5774  8711 I SyncthingNativeCode: 10:22:04 INFO: Device ID: PVNKUPT-WOZ6Y5G-3LT4ZEJ-2FV2FGK-AQVJQRC-6ETKXAC-LFT5GPI-66K4GQN
> 05-03 12:22:04.742  5774  8711 I SyncthingNativeCode: 10:22:04 WARNING: Config exists; will not overwrite.
> 05-03 12:22:04.748  8717  8717 D su      : client exited 0
> 05-03 12:22:04.762  5774  5774 I Choreographer: Skipped 223 frames!  The application may be doing too much work on its main thread.
> 05-03 12:22:04.864  8752  8752 D su      : su invoked.
> 05-03 12:22:04.864  8752  8752 D su      : starting daemon client 10121 10121
> 05-03 12:22:04.909  5774  5774 W FragmentManager: moveToState: Fragment state for DeviceListFragment{a0c0155 #1 id=0x7f0d006d android:switcher:2131558509:1} not updated inline; expected state 3 found 2
> 05-03 12:22:04.912  8752  8752 D su      : client exited 0
> 05-03 12:22:04.966  8768  8768 D su      : su invoked.
> 05-03 12:22:04.966  8768  8768 D su      : starting daemon client 10121 10121
> 05-03 12:22:05.047  5774  8766 W SyncthingNativeCode: ionice: exec be: No such file or directory
> 05-03 12:22:05.051  8768  8768 D su      : client exited 0
> 05-03 12:22:05.053  5774  8582 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:05.255  8788  8788 D su      : su invoked.
> 05-03 12:22:05.255  8788  8788 D su      : starting daemon client 10121 10121
> 05-03 12:22:05.318  8788  8788 D su      : client exited 0
> 05-03 12:22:05.365  8803  8803 D su      : su invoked.
> 05-03 12:22:05.365  8803  8803 D su      : starting daemon client 10121 10121
> 05-03 12:22:05.492  5774  8802 W SyncthingNativeCode: ionice: exec be: No such file or directory
> 05-03 12:22:05.497  8803  8803 D su      : client exited 0
> 05-03 12:22:05.500  5774  8646 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:05.596  8826  8826 D su      : su invoked.
> 05-03 12:22:05.596  8826  8826 D su      : starting daemon client 10121 10121
> 05-03 12:22:05.647  8826  8826 D su      : client exited 0
> 05-03 12:22:05.696  8839  8839 D su      : su invoked.
> 05-03 12:22:05.696  8839  8839 D su      : starting daemon client 10121 10121
> 05-03 12:22:05.804  5774  8838 W SyncthingNativeCode: ionice: exec be: No such file or directory
> 05-03 12:22:05.810  8839  8839 D su      : client exited 0
> 05-03 12:22:05.813  5774  8713 I SyncthingRunnableIoNice: ionice performed on libsyncthing.so
> 05-03 12:22:09.195  5774  5774 V BatteryReceiver: Received charger disconnected event
> 05-03 12:22:09.202  5774  5774 I SyncthingService: Stopping syncthing according to current state and preferences
> 05-03 12:22:12.030  5774  5774 W FragmentManager: moveToState: Fragment state for DeviceListFragment{db90e07 #1 id=0x7f0d006d android:switcher:2131558509:1} not updated inline; expected state 3 found 2
> 05-03 12:22:16.699  5774  6460 D OpenGLRenderer: endAllStagingAnimators on 0x9f7d6a80 (ListView) with handle 0x9f8ff090
> 05-03 12:22:33.576  5774  5774 W art     : Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
> 05-03 12:22:35.368  5774  6460 D OpenGLRenderer: endAllStagingAnimators on 0xa1ddce00 (ListPopupWindow$DropDownListView) with handle 0x9f8ff9f0
> 05-03 12:22:40.048  5774  6460 D OpenGLRenderer: endAllStagingAnimators on 0x9fad7500 (ListPopupWindow$DropDownListView) with handle 0x9f73fff0



`

Best regards

Torsten

This won’t help you solve the problem in practice… But, behind the curtains, what seems to be happening here is that the Android app is asking Syncthing (the core utility) to generate a default config and key for the initial setup, but that config and key already exists so it returns with an error code. The app interprets that as it not being able to save a config, but that’s because it already exists.

Reinstall, maybe? Otherwise hopefully one of the Android devs can chime in.

By any chance you ever run this with the root option? There have been reports about this permission issues if the application has ever been run as root.

Thank you for your quick reply, this is highly appreciated!

Yes, I reinstalled syncthing before copying the logs but with no success.

And yes, I am running syncthing with root as I was not able to grant access to the MicroSD otherwise.

Is there a possibility to delete the existing config manually? If so, could you please tell me the path to it?

I’m not sure how to resolve the issue, but this issue on Github, or one of the linked to ones, might help.