[GH-ISSUE #6033] [Bug] Unexpected error #2675

Closed
opened 2026-03-23 21:24:22 +00:00 by mirror · 9 comments
Owner

Originally created by @yarons on GitHub (Aug 21, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6033

Bug Description

After upgrading the AppFlowy Cloud version on my server some notes are no longer found.
I'm seeing a loading spinner but at the end, this error appears.
Some notes are working without any issues.

How to Reproduce

Install a previous version, create some notes, upgrade the cloud version, and try to access the notes you previously created.

Expected Behavior

It should work after an upgrade.

Operating System

linux

AppFlowy Version(s)

0.6.7

Screenshots

No response

Additional Context

Error message:

code: RecordNotFound
msg: Record not found:Can't find the row for query: QueryCollab { object_id: "544ce9bc-e425-4bb3-9109-9ccd4f86f54e", collab_type: Document }

Originally created by @yarons on GitHub (Aug 21, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6033 ### Bug Description After upgrading the AppFlowy Cloud version on my server some notes are no longer found. I'm seeing a loading spinner but at the end, this error appears. Some notes are working without any issues. ### How to Reproduce Install a previous version, create some notes, upgrade the cloud version, and try to access the notes you previously created. ### Expected Behavior It should work after an upgrade. ### Operating System linux ### AppFlowy Version(s) 0.6.7 ### Screenshots _No response_ ### Additional Context Error message: ``` code: RecordNotFound msg: Record not found:Can't find the row for query: QueryCollab { object_id: "544ce9bc-e425-4bb3-9109-9ccd4f86f54e", collab_type: Document } ```
mirror 2026-03-23 21:24:22 +00:00
Author
Owner

@khorshuheng commented on GitHub (Aug 22, 2024):

Which Appflowy cloud version were you on, and what is the current version?

<!-- gh-comment-id:2303357324 --> @khorshuheng commented on GitHub (Aug 22, 2024): Which Appflowy cloud version were you on, and what is the current version?
Author
Owner

@yarons commented on GitHub (Aug 22, 2024):

It was 0.6.5 upgraded to 0.6.7.

<!-- gh-comment-id:2303634255 --> @yarons commented on GitHub (Aug 22, 2024): It was 0.6.5 upgraded to 0.6.7.
Author
Owner

@khorshuheng commented on GitHub (Aug 22, 2024):

How about the AppFlowy Cloud version? Did the issue happens right after the server upgrade, or client upgrade?

<!-- gh-comment-id:2303636409 --> @khorshuheng commented on GitHub (Aug 22, 2024): How about the AppFlowy Cloud version? Did the issue happens right after the server upgrade, or client upgrade?
Author
Owner

@yarons commented on GitHub (Aug 22, 2024):

First client and there was no issue, then I upgraded the cloud appliance and this error appeared.

<!-- gh-comment-id:2303803985 --> @yarons commented on GitHub (Aug 22, 2024): First client and there was no issue, then I upgraded the cloud appliance and this error appeared.
Author
Owner

@khorshuheng commented on GitHub (Aug 22, 2024):

Is the cloud application version 0.5.54? Or an older version? And what was the version before the upgrade?

<!-- gh-comment-id:2303805038 --> @khorshuheng commented on GitHub (Aug 22, 2024): Is the cloud application version 0.5.54? Or an older version? And what was the version before the upgrade?
Author
Owner

@yarons commented on GitHub (Aug 22, 2024):

I didn't document the previous version but it was installed with the latest Dockers on July 1st and was upgraded yesterday, I'll document the versions from now on.

<!-- gh-comment-id:2303807591 --> @yarons commented on GitHub (Aug 22, 2024): I didn't document the previous version but it was installed with the `latest` Dockers on July 1st and was upgraded yesterday, I'll document the versions from now on.
Author
Owner

@khorshuheng commented on GitHub (Aug 22, 2024):

If you execute docker image inspect appflowyinc/appflowy_cloud, you should be able to get the sha256 digest for the image. From there we can determine the exact version.

<!-- gh-comment-id:2303820869 --> @khorshuheng commented on GitHub (Aug 22, 2024): If you execute docker image inspect appflowyinc/appflowy_cloud, you should be able to get the sha256 digest for the image. From there we can determine the exact version.
Author
Owner

@yarons commented on GitHub (Aug 23, 2024):

"Image": "sha256:c0a5cf936766ab784e48da15c6cec57001a53f315cf28f0085d574e7fc3de5a7"

I also looked at the logs when trying to fetch a failed message:

nginx-1             | <IP> - - [23/Aug/2024:03:53:38 +0000] "GET /api/user/profile HTTP/1.1" 200 327 "-" "-"
nginx-1             | <IP> - - [23/Aug/2024:03:53:38 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-"
appflowy_cloud-1    | {"timestamp":"2024-08-23T03:53:38.097344Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"9bfb6a285c61b8e3e1ba9bc368c606f7","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"9bfb6a285c61b8e3e1ba9bc368c606f7","name":"request"}]}
nginx-1             | <IP> - - [23/Aug/2024:03:53:40 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-"
appflowy_cloud-1    | {"timestamp":"2024-08-23T03:53:40.155490Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"96dbb5a2db61cf640b311173afd2395d","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"96dbb5a2db61cf640b311173afd2395d","name":"request"}]}
appflowy_cloud-1    | {"timestamp":"2024-08-23T03:53:44.190043Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7b6feac82873b8da6b4bc2d8c749b15b","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7b6feac82873b8da6b4bc2d8c749b15b","name":"request"}]}
nginx-1             | <IP> - - [23/Aug/2024:03:53:44 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-"
appflowy_cloud-1    | {"timestamp":"2024-08-23T03:53:52.251357Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7738e2f5e9cb54c7b779ce0c22af53c2","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7738e2f5e9cb54c7b779ce0c22af53c2","name":"request"}]}
nginx-1             | <IP> - - [23/Aug/2024:03:53:52 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-"
<!-- gh-comment-id:2306131308 --> @yarons commented on GitHub (Aug 23, 2024): `"Image": "sha256:c0a5cf936766ab784e48da15c6cec57001a53f315cf28f0085d574e7fc3de5a7"` I also looked at the logs when trying to fetch a failed message: ``` nginx-1 | <IP> - - [23/Aug/2024:03:53:38 +0000] "GET /api/user/profile HTTP/1.1" 200 327 "-" "-" nginx-1 | <IP> - - [23/Aug/2024:03:53:38 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-" appflowy_cloud-1 | {"timestamp":"2024-08-23T03:53:38.097344Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"9bfb6a285c61b8e3e1ba9bc368c606f7","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"9bfb6a285c61b8e3e1ba9bc368c606f7","name":"request"}]} nginx-1 | <IP> - - [23/Aug/2024:03:53:40 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-" appflowy_cloud-1 | {"timestamp":"2024-08-23T03:53:40.155490Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"96dbb5a2db61cf640b311173afd2395d","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"96dbb5a2db61cf640b311173afd2395d","name":"request"}]} appflowy_cloud-1 | {"timestamp":"2024-08-23T03:53:44.190043Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7b6feac82873b8da6b4bc2d8c749b15b","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7b6feac82873b8da6b4bc2d8c749b15b","name":"request"}]} nginx-1 | <IP> - - [23/Aug/2024:03:53:44 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-" appflowy_cloud-1 | {"timestamp":"2024-08-23T03:53:52.251357Z","level":"INFO","fields":{"message":"try get Document:b897052e-140e-4feb-a332-3ef44b68373b from disk"},"target":"appflowy_collaborate::collab::disk_cache","span":{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7738e2f5e9cb54c7b779ce0c22af53c2","name":"request"},"spans":[{"client_version":"0.6.7","device_id":"dm3q","method":"GET","path":"/api/workspace/v1/{workspace_id}/collab/{object_id}","payload_size":0,"request_id":"7738e2f5e9cb54c7b779ce0c22af53c2","name":"request"}]} nginx-1 | <IP> - - [23/Aug/2024:03:53:52 +0000] "GET /api/workspace/v1/28b1f24d-2757-4beb-8265-98d64ac67d5f/collab/b897052e-140e-4feb-a332-3ef44b68373b?collab_type=0 HTTP/1.1" 200 161 "-" "-" ```
Author
Owner

@annieappflowy commented on GitHub (Sep 2, 2025):

@yarons , let us know if the issue persists. Closing it for now

<!-- gh-comment-id:3243768754 --> @annieappflowy commented on GitHub (Sep 2, 2025): @yarons , let us know if the issue persists. Closing it for now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2675
No description provided.