syncthing / syncthing-android

Wrapper of syncthing for Android.
https://syncthing.net/
Mozilla Public License 2.0
3.48k stars 390 forks source link

F-Droid Syncthing 1.1.2.1 does not start #1331

Open steelman opened 5 years ago

steelman commented 5 years ago

Syncthing app starts and shows the spinner. After several seconds offers to display logs becaues it takes too long to fully start up. Logs are empty. logcat for SyncthingService shows

05-19 12:19:32.158 11476 11476 V SyncthingService: onCreate
05-19 12:19:32.184 11476 11476 V SyncthingService: onStartCommand
05-19 12:19:32.184 11476 11476 V SyncthingService: onServiceStateChange: from DISABLED to DISABLED
05-19 12:19:32.199 11476 11476 I SyncthingService: shouldRun decision changed to true according to configured run conditions.
05-19 12:19:32.199 11476 11476 I SyncthingService: Shutting down background service
05-19 12:19:32.199 11476 11476 V SyncthingService: onServiceStateChange: from DISABLED to INIT
05-19 12:19:32.199 11476 11476 V SyncthingService: Starting syncthing
05-19 12:19:32.199 11476 11476 V SyncthingService: onServiceStateChange: from INIT to STARTING
05-19 12:19:32.575 11476 11476 I SyncthingService: Web GUI will be available at https://127.0.0.1:8384

netstat -l -n | grep 8384 does not show anything

Version Information

App Version: 1.1.2.1
Syncthing Version: v1.1.2 (as far as I can tell)
Android Version: Android 7.1.2 / LinneageOS 14.1
AudriusButkevicius commented 5 years ago

it should show in the UI why

steelman commented 5 years ago

UI is "spinning".

Catfriend1 commented 5 years ago

Is there any logcat output for SyncthingNative?

steelman commented 5 years ago

logcat *:S SyncthingNativeCode:* shows

07-28 14:32:37.020 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: syncthing v1.2.0 "Fermium Flea" (go1.11.6 android-arm) vagrant@basebox-stretch64 2019-06-28 06:03:29 UTC
07-28 14:32:37.030 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: My ID: XXXXXXX-XXXXXXX-XXXXX7X-XXXXX26-X622XXX-XX5X7XX-3X4X7XX-5XXXXXX
07-28 14:32:37.352 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Proxy settings detected
07-28 14:32:37.353 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Proxy fallback disabled
07-28 14:32:37.785 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Hashing performance is 8.59 MB/s
07-28 14:32:38.064 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Ready to synchronize "folder1" (x082x-xx25x) (sendreceive)
07-28 14:32:38.067 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Ready to synchronize folder2 (sendreceive)
07-28 14:32:38.071 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Ready to synchronize "Default Folder" (default) (sendreceive)
07-28 14:32:38.083 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Ready to synchronize "folder3" (xx6xx-xx5xx) (sendreceive)
07-28 14:32:38.093 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Overall send rate is unlimited, receive rate is unlimited
07-28 14:32:38.334 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Completed initial scan of sendreceive folder "Default Folder" (default)
07-28 14:32:39.081 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Completed initial scan of sendreceive folder folder2
07-28 14:32:40.991 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Completed initial scan of sendreceive folder "folder3" (xx6xx-xx5xx)
07-28 14:32:42.417 25698 25754 I SyncthingNativeCode: [XZZVR] INFO: Completed initial scan of sendreceive folder "folder1" (x082x-xx25x)