mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #6772] [Bug] Failed to load AppFlowy UI #2986
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#2986
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 @Twilightssuperb on GitHub (Nov 12, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6772
Originally assigned to: @appflowy on GitHub.
Bug Description
After forced PC reboot (because of blackout) I launched previous v.0.4.9 instance from disk C by accident. Got error, closed it. Then I've started main v.0.7.3 instance on disk F, but get empty UI.
How to fix it? I've tried to delete all files from AppFlowy instance form disk F and set clear instance, but nothing...
How to Reproduce
IDK
Expected Behavior
log_2024-11-10.txt (previous normal launch)
log_2024-11-12.txt
Operating System
Win 8.1 x64
AppFlowy Version(s)
0.7.3
Screenshots
Additional Context
No response
@LucasXu0 commented on GitHub (Nov 14, 2024):
Hi, @Twilightssuperb. The last version that supports Windows 8 is v0.4.9.
Are you using the local mode? And please try to downgrade to v0.4.9.
@Twilightssuperb commented on GitHub (Nov 14, 2024):
I use local mode.
All was OK with v.0.7.3 on this PC before my mistake with accidental v.0.4.9 launch. I attached logs.
Maybe the reason is in some
C:\users\[...]\AppData\Roaming\io.appflowyfiles, I don't know. It's not good that AppFlowy isn't completely portable and leaves traces and makes dependencies for standalone instances.I create third standalone instance for v.0.5.1, but same error again (that for v.0.4.9) — failed to load workspace. Despite no AppFlowy instance is running.

@LucasXu0 commented on GitHub (Nov 15, 2024):
@Twilightssuperb Can you check if this folder is occupied by another process? In this case, the app can't read any data from the directory, which may cause this error.
@Twilightssuperb commented on GitHub (Nov 15, 2024):
Resource Monitor says nothing:

@appflowy, please, could you check my logs? 🙏 Sorry for weekend disturbing.
@appflowy commented on GitHub (Nov 16, 2024):
Hi @Twilightssuperb . No problem, I will check it. Thanks for your logs
@Twilightssuperb commented on GitHub (Nov 29, 2024):
Any news? Sorry for tricky troubleshooting, IDK how it happened.
Should I better manually backup my data folder, delete it from main location and restore DB from file (https://docs.appflowy.io/docs/appflowy/product/data-storage#restore-specific-local-user-data-manually)?
@Twilightssuperb commented on GitHub (Jan 2, 2025):
Well, seems data folder is damaged. I backuped it and tried to make clear AppFlowy instance, then pressed "Import data", but got error. Then I tried to edit .db-files (
cache.dbandflowy-database.db), but blank page at start appeared again.@appflowy, I attached data ZIP backup there with no password etc., please, mention me after downloading, I will delete it. IDK what to do now, 'cause there are some important notes in my DB, it's hard to lost it. Sorry for incovenience.
@annieappflowy commented on GitHub (Jan 2, 2025):
@Twilightssuperb , we'll take a look and reach out tomorrow
@appflowy commented on GitHub (Jan 3, 2025):
Hi @Twilightssuperb I need a password to open it.

@Twilightssuperb commented on GitHub (Jan 3, 2025):
@appflowy, try password
123.@Twilightssuperb commented on GitHub (Feb 9, 2025):
No reply month later... C'mon, please, help me restore my database anyway, at least as DB-file, it doesn't matter, I still have no access to some important notes from AppFlowy. I know, it's my big fault and I shouldn't launch versions >0.4.9 on Win 8.1, but... 😢
@candideu commented on GitHub (Feb 9, 2025):
@Twilightssuperb are you using the Cloud sync, by any chance?
@Twilightssuperb commented on GitHub (Feb 9, 2025):
@candideu, nope, only local account. My data was damaged by my ridiculous mistake.
@candideu commented on GitHub (Feb 9, 2025):
That's too bad... I faced a similar issue with Windows 10 (see: https://github.com/AppFlowy-IO/AppFlowy/issues/6979#issuecomment-2571743828) was only able to recover my data because it was backed up using the free sync account.
I've faced the same issue with another local-only app a while back (Focalboard), where the app wouldn't load my data after an upgrade. The devs did their best, but were unable to assist. Since then, I try to use local-apps with cloud sync features (or File History, if it's markdown based).
What I did manage to do with that other app was to open my db file in a SQLite editor like SQLiteStudio and DB Browser for SQLite. I was able to export the table which contained my data as a .csv, then imported it into Airtable. It was challenging, but I was able to salvage my data.
Appflowy's data structure seems to be a little more nebulous, though.... I have zero clue where my notes are stored on the computer, and which app I could use to open and recover them....
Do you happen to have access to another Windows machine (like Windows 10 or 11), which you could use to (potentially) import your data, and allow you to export everything?
@khorshuheng commented on GitHub (Feb 10, 2025):
@Twilightssuperb Sorry for the delay, @appflowy is on leave at the moment so I can't reach him immediately to get the current status.
Apologize again for the inconvenience, could you send us the file again? I will get some other colleague/myself to see if we can recover the database.
@Twilightssuperb commented on GitHub (Feb 10, 2025):
@khorshuheng, https://dropmefiles.com/tpCS7 default password is
123@khorshuheng commented on GitHub (Feb 10, 2025):
@Twilightssuperb Thanks. I have downloaded the file, you may remove the link now.
@khorshuheng commented on GitHub (Feb 10, 2025):
Based on the file, it appears that the RocksDB data is corrupted - the .sst file is missing. I will research if there are ways to repair the database.
EDITED: In the collab_db_backup there are backup with the .sst file intact. Unfortunately, they can't really be read as database since there is no manifest file. Checking if i can directly read the sst file using RockDB API.
@Twilightssuperb commented on GitHub (Feb 10, 2025):
@khorshuheng, should I search on PC and attach another files? How to find this manifest file, e.g.?
P.S. Well, there is
MANIFEST-000012file insidecollab_dbfolder.@khorshuheng commented on GitHub (Feb 10, 2025):
@Twilightssuperb While the manifest file exists inside collab_db folder, it can't be used for the data in backup. I tried that, hoping that it would work, but failed.
It's not that you forgot to attach the file, in all likelihood the file wasn't created due to some error / was removed.
In any case, I can find the historical document updates (based on the data on 10th November 2024) in the .sst files in collab_db_backup, and is able to dump the content (in binary format) using the sst_dump tools. Though I will still need to figure out how to read the data via API and reconstruct the document in JSON, if possible. Will need to consult my other colleagues on this.
@Twilightssuperb commented on GitHub (Feb 10, 2025):
I can attach something from
C:\users\[...]\AppData\Roaming\io.appflowybackup, but I'm not sure that it could clear.@khorshuheng commented on GitHub (Feb 11, 2025):
@Twilightssuperb I was able to recover some documents in it's raw json format, but since i don't understand the language the document is written in, i am not too sure which one is worth recovering and which one aren't. Are you able to join our official discord? I can send you what i have recovered so far, and i will continue trying to see if i can convert them into a more readable format, like markdown/csv.
@khorshuheng commented on GitHub (Feb 11, 2025):
@candideu The raw data is stored on the client's machine in RocksDB. If the database is not corrupted, we can use RocksDB API to read the key and values, otherwise, we will need to use sst_dump to get the key and values (or sst reader API, if you know the C language/using a RockDB binding that supports the SST reader API).
The values are in yjs/yrs binary format, which can then be printed as json file - that is the raw format that AppFlowy is using, though it can be converted to markdown/csv/etc .
If i can recover the data for @Twilightssuperb without issue, i will provide the script that i used to recover the data.
@Twilightssuperb commented on GitHub (Feb 11, 2025):
@khorshuheng, main notes language is Russian, so it must be in Unicode. Well, I don't have Discord account, so I'll think of it.
@khorshuheng commented on GitHub (Feb 11, 2025):
Noted. Is there any other way that you would prefer me to send you the data, if not by discord? Since the content is now in plaintext, it's probably not a good idea to have public download link to your data in this issue.
@Twilightssuperb commented on GitHub (Feb 11, 2025):
@khorshuheng, you can message @ voknubrogss4124 in Discord.