AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Unexpected error when syncing devices

Open porrarafaelmano opened this issue 1 year ago • 2 comments

Bug Description

An error message when trying to sync a page between different devices.

How to Reproduce

  1. You must have an AppFlowy Cloud Self-Hosted instance on an Ubuntu Server 20.04;

  2. Log in to your account with mail magic link on Windows and MacOS;

  3. Create a calendar and a page with reference to this calendar;

  4. 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

Captura de tela 2024-07-12 105411

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 }

porrarafaelmano avatar Jul 12 '24 13:07 porrarafaelmano

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)

Screenshot 2024-07-12 at 12 17 58 PM

JoshuaConcon avatar Jul 12 '24 16:07 JoshuaConcon

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):

appflowy-iphone-sync-error

griff-rees avatar Aug 17 '24 09:08 griff-rees

Created a new page and added content to it, but even after 2 days my other device still says:

Image

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 avatar Sep 04 '25 05:09 Mahi

@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 avatar Sep 04 '25 06:09 annieappflowy

@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.

Mahi avatar Sep 04 '25 07:09 Mahi