-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
DeltaChat Desktop no longer syncs on one of my devices #4842
Comments
Is this a new behaviour that "suddenly" came up? Any changes since last successful sync? Updates etc.? |
Can you create new accounts? |
The fact that an hourglass is displayed instead of the account avatar signifies that deltachat-desktop/packages/frontend/src/components/AccountListSidebar/AccountItem.tsx Line 263 in a2576ed
deltachat-desktop/packages/frontend/src/components/AccountListSidebar/AccountItem.tsx Lines 50 to 59 in a2576ed
|
I honestly can't remember if I really didn't use it for that long. Perhaps I didn't, I don't know. But this device worked before, it's not a newly added device or anything.
Actually, it seems like the second account shown in the screenshot, a nine.testrun.org account, works fine. Only my main account seems to be affected all of a sudden. |
I now tried deltachat-desktop 1.56.0 core 1.157.3, and the affected device remains stuck with the main account. The other 3 devices accessing the same account continue to sync and work correctly with the same main account. |
Looking at the logs, this looks like a core issue to me. I suggest to move it there. A few things I noticed in the logs: Another thing: we log a lot here but never get to here It would also be nice to see the logs with the latest core, 1.157.3. |
I encountered something similar to this and to #4844 on a dev version, ce57d43. I clicked "create account", and there was no "back button". After restarting the app, all the accounts had the hourglass icon on them. The fact that the "back" button is not displayed also seems to be a side effect of this "not responding" thing. This is where we determine whether to show the "back" button: deltachat-desktop/packages/frontend/src/components/screens/WelcomeScreen/index.tsx Lines 32 to 43 in 13355b0
If the backend doesn't respond, we'll just never show the back button. Update: this thing got resolved after I started the "normal" (non-dev version) of Delta Chat. It did not reappear. |
As far as I'm concerned, the difference to #4844 is that this ticket here is about the sync not working as a primary issue, without any explanation nor error. That seems to be some sync related backend bug. The other issue seems to be about a UI bug in handling fast clicks on various buttons unrelated to sync. |
So, looking at the RPC requests / responses, it seems like that |
I have to admit I've since nuked the entire delta chat folder and restored from another device's backup (since the add second device is broken for me in all wifis with all devices I ever tried, it seems to have its own ongoing issues sadly). Simply because I need this device a lot. I understand if that makes additional investigation hard and if it might be better to close this issue for now. |
IDK, I seem to be getting somewhere. |
I'm testing this on core 1.158 now. I have checked that |
This was on the PinePhone which uses an SD card. Sometimes the SD card causes bit flips, it seems to be normal for all of them, they're really a horrible kind of storage. To circumvent this, I use BTRFS which at first glance might sound insane on this type of storage - but what it does is checksum all changes, and if something was messed up by the hw, it refuses file access with an I/O error rather than quietly feed you a corrupted file like EXT4 would. Perhaps it might be the case that this happened here, and the error wasn't propagated correctly to the UI? |
When the question is "is it my program misbehaving or it's the file system's fault", the answer is usually the former 😆 |
I think useful error handling of such a situation would still be preferable! |
OK, I think this is after all different from #4844. chatmail/core#6726 is about fixing a deadlock of all accounts, but in this issue one account is working. |
DeltaChat Desktop no longer syncs on one of my devices. The UI sometimes will say "Updating..." for a while, but the messages shown in the main contact list never update and they're stuck roughly 10 days in the past, and no new messages are showing. Any individual chat won't load, it just say "Select a chat or create a new chat" and nothing ever happens.
Here's how the main contact list looks like while stuck:
Here's what happens if I try to open up a specific contact's chat, this screen never changes or goes away:
There's at no point any error message shown in the UI.
2025-03-24-13-26-28.log.txt
The text was updated successfully, but these errors were encountered: