mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 21:00:19 +00:00
[GH-ISSUE #7221] [Bug] [AppFlowy-Web] Record Not Found #11605
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#11605
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smartyhero on GitHub (Jan 15, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7221
Bug Description
My self-hosted appflowy has many documents on the web page that say Record Not Found


How to Reproduce
I don't know how to reproduce
Expected Behavior
The page can be displayed normally
Operating System
mac,win
AppFlowy Version(s)
0.8.1, 0.1.2
Screenshots
No response
Additional Context
No response
@khorshuheng commented on GitHub (Jan 15, 2025):
Can you check if the collab id (last part of the URL) exists in the af_collab table? The id column is "oid".
EDIT: Just noticed that the AppFlowy Cloud version is 0.8.1 . The current version of AppFlowy Web (0.1.2) requires minimum AppFlowy Cloud version 0.9.9. I have not verified if it will work with AppFlowy Cloud version 0.8.1, but even if it does, some functionality will not work properly.
@smartyhero commented on GitHub (Jan 15, 2025):
The data exists

The version of appflowy-cloud is the latest, version 0.9.11
@smartyhero commented on GitHub (Jan 15, 2025):
This is the log of appflowy-cloud I found
@khorshuheng commented on GitHub (Jan 15, 2025):
On the developer console - the API request that returns the error about RecordNotFound, is it the get page view API?
@smartyhero commented on GitHub (Jan 15, 2025):
/api/workspace/4aea66a2-406a-4ebb-bb83-26646234398e/page-view/44c0521d-a514-48e1-92e1-ba489e9f5fe2
@khorshuheng commented on GitHub (Jan 15, 2025):
Noted. I think i might need to add more descriptive error message on AppFlowy Cloud in order to find out the root cause. Do you remember if this page is a database, or a document?
@smartyhero commented on GitHub (Jan 15, 2025):
It is a document
@khorshuheng commented on GitHub (Jan 15, 2025):
Could you use this appflowy cloud image:
appflowyinc/appflowy_cloud:4831ce7e65babaf4c36db0c80d03d18c29d62c0a? This is built from https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/1166 , which hasn't been merged yet. This does not fix the issue, but it may show error messages which are more useful to troubleshoot the issue.@smartyhero commented on GitHub (Jan 16, 2025):
This is the error returned by the api now
Below is the log of appflowy-cloud
@khorshuheng commented on GitHub (Jan 16, 2025):
Have you ever deleted/removed some users, who may have edited the document in the past?
Nevertheless, I think we can handle such case, such that it doesn't result in a complete failure of page rendering
@smartyhero commented on GitHub (Jan 16, 2025):
I may have deleted a user, but I don't remember clearly
I checked my database, and there is no user with uid 1
It seems that 1 is a special uid, and the uids of my existing users are all very long strings of numbers
@khorshuheng commented on GitHub (Jan 16, 2025):
Yes, you are correct. We only use uid = 1 for integration test, so it's strange that it appears here. But in any case, this scenario (last editor/owner not found) is something that we should have handled on the backend. We will fix this.
@smartyhero commented on GitHub (Jan 16, 2025):
Thank you for your contribution
@khorshuheng commented on GitHub (Jan 18, 2025):
Will be fixed by https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/1171 .
@khorshuheng commented on GitHub (Jan 20, 2025):
Fixed in 0.9.13.