[Bug] Unexpected error when syncing devices
Bug Description
An error message when trying to sync a page between different devices.
How to Reproduce
-
You must have an AppFlowy Cloud Self-Hosted instance on an Ubuntu Server 20.04;
-
Log in to your account with mail magic link on Windows and MacOS;
-
Create a calendar and a page with reference to this calendar;
-
Try syncing between these devices.
Expected Behavior
synchronization between devices
Operating System
Windows and MacOS
AppFlowy Version(s)
July 8, 2024 - v0.6.3
Screenshots
Additional Context
Error message:
code: RecordNotFound
msg: Record not found:Can't find the row for query: QueryCollab { object_id: "e1127dee-dc7d-4824-a1b3-e8eb52617581", collab_type: Document }
I am also having this issue, but instead of creating a calendar, I simply added text to a document on my Android device (version 0.6.3) and am getting this error on my Apple Desktop device (version 0.6.3)
I think I've had a similar issue after updating an iOS install. Sync had failed after an update similar to #5946. I then reached this error when trying to load a Document on my phone originally created on a Desktop (I grayed out the ID):
Created a new page and added content to it, but even after 2 days my other device still says:
code: RecordNotFound msg: Record not found:Collab not found for object_id: bee420d5-703c-4683-9df5-5e3ba6f4c052. request_id: Some("2f98084c7f49799c2acdd013f59aa918
This is on 0.9.8 openSUSE Tumbleweed flatpak version
@Mahi , can you open the page on the device where you originally added content? check whether there's a Reconnect banner at the top of the page. If there's one, click the Reconnect button After doing this, go the the web app (appflowy.com) to check whether the data is properly displayed. If everything looks good, then the data should be available on your other devices.
@annieappflowy There was no reconnect button, but I went to the sync settings and clicked the "Restart" button and it seems to have fixed the issue.
I understand these are very complex topics and issues, so would it make sense to add a small "Syncing" / "Synced successfully" indicator somewhere on the page? You know how all the messaging apps show these small ticks to indicate that the message was sent successfully? Just a little something that would tell me that everything is guaranteed good and I'm good to close the page.