-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync doesn't work on MIUI #450
Comments
Currently, once you have added the backend, My Expenses does not trigger the first sync right away, but it should start at the latest when you enter new data into one account, or after the configured sync frequency. You can also manually trigger the sync by long clicking on a backend and selecting "Sync now". |
I don't know why, but all logs are empty... I've prepared a screen record: https://cloud.balek.ru/s/2PMq4M8S7HDHwME Debug is enabled, but all logs have 0B size. |
As I mentioned, after adding the backend, could you long press and select "Sync now". If you copy the logs to your computer, do they still have 0B size? |
Sorry, I have forget to do it on video. It does nothing. Logs are still empty, even on computer. It prompts me, that problem could be not in NextCloud, but in MIUI firmware. I tried to sync with Dropbox. Everything is the same: account sublist, logs and dropbox are empty. Is there any other place, where I can look for logs? Another possible reason is the trial version of syncing. Are you sure it's in a working state? Maybe some bug get into free version and was not observed before? |
Could you tell more about that prompt about MIUI? I have tested sync with trial version recently and did not find any issue. |
I have finally found a solution. It really was MIUI specific problem. I had to enable some "Autostart" option in system settings for My Expenses. Than sync started working. Thank you for your help. |
@balek Thanks for reporting this valuable information! |
@balek Since I am regulaly receiving reports from users on Xiaomi devices about sync not working, could you describe in detail the path how you navigate to that option, and eventually provide a screenshot? |
@balek Thanks a lot! |
This just fixed my problem. Didn't have logs, even connected via adb to see logcat and nothing. @mtotschnig You might want to consider to add a warning when enabling the sync for the first time to avoid more confused users! |
@danielb7390 Thank you for your excellent suggestion. I'd need to find out how to identify devices that are hit by this problem. Could you send me a feedback request from the app settings, or post some information about your device here? |
I think this is what you asked?
|
Is this called "Pause app activity if unused" now, and must be unchecked rather than checked? |
I'm adding a new sync backend, choosing accounts to sync, than nothing happens. No new files on a server, no subitems in the new backend's list. I can see such requests in server's access log:
46.188.7.106 - s [18/Feb/2018:22:49:23 +0300] "OPTIONS /remote.php/webdav/accounting/ HTTP/2.0" 200 930 "-" "okhttp/3.9.1"
46.188.7.106 - s [18/Feb/2018:22:49:23 +0300] "PROPFIND /remote.php/webdav/accounting/ HTTP/2.0" 207 1052 "-" "okhttp/3.9.1"
Version 2.8.7 from F-Droid.
The text was updated successfully, but these errors were encountered: