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
Etesync doesn't sync #1893
Comments
Logcat shows this:
|
This is happening on a GrapheneOS without G-Play libraries |
Have you disabled GrapheneOS's internet connectivity check by any chance? There is a network constraint on sync jobs that I believe relies on this check |
I had a look the the running work jobs and it was actually run OK and the constraints were satisfied. I didn't find a way to look at some logs except trough logcat, which was very basic, is there a way? |
I have noticed this issue on my CalyxOS device as well. It hasn't been syncing for quite a while. I can't say exactly when it stopped working, though. Today I tried setting the app up again, and it doesn't sync anything at all. |
I have exactly the same issue on LineageOS. It was working for a month and suddenly it stopped. The same logcat entry, i.e.:
I'm running self-hosted etebase server and I can confirm that I haven't received any messages from the device, when it stopped working. |
|
For me, it doesn't help. Even removing and adding the account with different URL. At the same time I have enabled other service (Google Task), which syncs fine. The same log entry I've mentioned is giving SUCCESS for that worker and still RETRY for EteSync worker. |
You are ri
You are right. Changing the URL cleared the error, but still it doesn't sync |
From looking at the code, it looks like this function is the only relevant one which can trigger a retry: tasks/app/src/main/java/org/tasks/jobs/SyncWork.kt Lines 33 to 38 in ece6999
Might it be simply that this preference is getting corrupted somehow? |
It would make totally sense. Once this boolean is accidentaly left in true state, no sync will ever be successful after. |
@abaker In this case the One idea might be to make this setting actually a timestamp string, and if the timestamp is older than XX hours, ignore it when scheduling a new job. I have installed the App from sources on my phone and added one line to manually get into this state, and it mirrors exactly what I experienced before. |
Thanks for investigating this! The app is resetting those sync flags on startup, but it looks like I never added the etesync v2 flag 😞 Hopefully ba11ec2 fixes it |
Oh well :) |
Would it not maybe better to store this flag in the Companion class? Then it would persist through the lifetime of the app, but once its quit or restartes it will be cleared without any additional action? |
I have the Etesync app installed (for calendar sync), but the account is tasks is defined with the native Etesync support.
Unfortunately entries I add on the smartphone don't end up on the server.
The server shows last changes from beginning of May.
Pulling down the list doesn't seem to start a sync either.
The text was updated successfully, but these errors were encountered: