AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
50.14k stars 3.31k forks source link

[Bug] Desktop and mobile not syncing #4848

Open andreapavoni opened 3 months ago

andreapavoni commented 3 months ago

Bug Description

Starting from v0.5.0 desktop and mobile apps, connected through AppFlowly Cloud, don’t sync correctly, resulting in data loss or corruption.

Thanks for your awesome product, keep up the excellent work!

How to Reproduce

Expected Behavior

I can see and edit the document correctly synced between the devices.

Operating System

macOS 14.4 and iOS 17.4

AppFlowy Version(s)

0.5.0

Screenshots

No response

Additional Context

When I open a document, created on desktop, in the mobile app, I get this error page:

AppFlowy Error

code: InvalidParams
msg: NoRequiredData

We're sorry for the inconvenience!
Submit an issue on our GitHub page that describes your error.
LucasXu0 commented 3 months ago

Hi, @andreapavoni. Was there only one document that wasn't synced, or were there other documents as well?

andreapavoni commented 3 months ago

Hi @LucasXu0 thanks for replying.

It happened with many documents, on both devices.

LucasXu0 commented 3 months ago

@andreapavoni Thank you for the information. We have released the new version 0.5.1. You can try upgrading the application. Please let me know if the issues still persist in the latest version.

andreapavoni commented 3 months ago

@LucasXu0 thank you! I did a quick test, it looks like there are still some issues, but I'm going to dig and investigate. I'll let you know the results.

thanks again!

LucasXu0 commented 3 months ago

If there are any sync issues, feel free to let me know. In some cases, you can open the unsynced page on the machine where you created them, and it will start to sync the page again.

mediacvg commented 3 months ago

I also encountered the same problem, but I haven't been able to synchronize with the Mac terminal and the ios terminal, but I just upgraded 0.5.1, and now the data on the Mac terminal can finally be synchronized to the iOS terminal. However, at present, the pictures in the subpage of the list in the database cannot be synchronized with the mobile terminal.

griff-rees commented 3 weeks ago

This may relate to #5186