[GH-ISSUE #4399] [Bug] Can't use v.0.4.2 after I killed it via Task manager app and restarted app #1966

Closed
opened 2026-03-23 21:18:35 +00:00 by mirror · 5 comments
Owner

Originally created by @Twilightssuperb on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4399

Bug Description

I updated AppFlowy from 0.4.1 to 0.4.2 (Win_x64-86 ZIP). Then did first launch. Unexpectedly got empty window. Killed it with Task manager. Restart AppFlowy and got this:
image
Close window and launch AppFlowy.exe again. Nothing new. I see error page again. I even can't reset anything!
log_2024-01-15.txt

How to Reproduce

See above.

Expected Behavior

All works fine on 0.4.1.

P.S. I had to downgrade version to 0.4.1. Then it started normally, yahoo!

Operating System

WIn 8.1 x64.

AppFlowy Version(s)

0.4.2 (x64-86 ZIP-version from Github)

Screenshots

No response

Additional Context

Account is local, no cloud connection

Originally created by @Twilightssuperb on GitHub (Jan 15, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4399 ### Bug Description I updated AppFlowy from 0.4.1 to 0.4.2 (Win_x64-86 ZIP). Then did first launch. Unexpectedly got empty window. Killed it with Task manager. Restart AppFlowy and got this: ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/7080928/ef932572-c1ba-4216-8411-da5e3626ab3b) Close window and launch `AppFlowy.exe` again. Nothing new. I see error page again. I even can't reset anything! [log_2024-01-15.txt](https://github.com/AppFlowy-IO/AppFlowy/files/13941759/log_2024-01-15.txt) ### How to Reproduce See above. ### Expected Behavior All works fine on 0.4.1. P.S. **I had to downgrade version to 0.4.1.** Then it started normally, yahoo! ### Operating System WIn 8.1 x64. ### AppFlowy Version(s) 0.4.2 (x64-86 ZIP-version from Github) ### Screenshots _No response_ ### Additional Context Account is local, no cloud connection
Author
Owner

@Xazin commented on GitHub (Jan 15, 2024):

From your logs it seems you used OneDrive to store AppFlowy Data.

{"msg":"[INITIALIZE - Event] 🔴open collab db error: Error { message: \"IO error: No such file or directory: Failed to open LogFileC:\\\\Users\\\\poshi_000\\\\OneDrive\\\\🔙🆙🈁🔲🆔\\\\AppFlowy\\\\appflowy_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/203107150254313472\\\\collab_db\\\\logs/C__Users_poshi_000_OneDrive______________________AppFlowy_appflowy_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk_203107150254313472_collab_db_LOG: ������� �� ������� ����� ��������� ����.\\r\\n\" }","uid":203107150254313472,"workspace_id":"f9a9f3d8-7fed-4f2a-8661-0e3944590122"}

What most likely happened, is you killed the AppFlowy process, but OneDrive locked the file and thus AppFlowy couldn't read it when you opened it again. At least that would be one of the most reasonable explanations for RocksDB to throw an IO error.

The screen you see appears when 1. Workspace data is corrupt (unlikely in this case), or 2. Failed to read Workspace data (eg. file is locked by system, can happen in Windows especially in virtual drives - Or if you have multiple instances of AppFlowy open).


I'm wondering if there's something we can do to improve and help the user in these cases, showing this screen can be confusing, but it's a sure-fire way to get help as it directs to both Discord and GitHub.

<!-- gh-comment-id:1892777674 --> @Xazin commented on GitHub (Jan 15, 2024): From your logs it seems you used OneDrive to store AppFlowy Data. ``` {"msg":"[INITIALIZE - Event] 🔴open collab db error: Error { message: \"IO error: No such file or directory: Failed to open LogFileC:\\\\Users\\\\poshi_000\\\\OneDrive\\\\🔙🆙🈁🔲🆔\\\\AppFlowy\\\\appflowy_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/203107150254313472\\\\collab_db\\\\logs/C__Users_poshi_000_OneDrive______________________AppFlowy_appflowy_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk_203107150254313472_collab_db_LOG: ������� �� ������� ����� ��������� ����.\\r\\n\" }","uid":203107150254313472,"workspace_id":"f9a9f3d8-7fed-4f2a-8661-0e3944590122"} ``` What most likely happened, is you killed the AppFlowy process, but OneDrive locked the file and thus AppFlowy couldn't read it when you opened it again. At least that would be one of the most reasonable explanations for RocksDB to throw an IO error. The screen you see appears when 1. Workspace data is corrupt (unlikely in this case), or 2. Failed to read Workspace data (eg. file is locked by system, can happen in Windows especially in virtual drives - Or if you have multiple instances of AppFlowy open). --- I'm wondering if there's something we can do to improve and help the user in these cases, showing this screen can be confusing, but it's a sure-fire way to get help as it directs to both Discord and GitHub.
Author
Owner

@Twilightssuperb commented on GitHub (Jan 15, 2024):

But when I downgraded to 0.4.1, that AppFlowy version starts as usual, nothing is locked... I have only 1 AppFlowy instance.

<!-- gh-comment-id:1892861745 --> @Twilightssuperb commented on GitHub (Jan 15, 2024): But when I downgraded to 0.4.1, that AppFlowy version starts as usual, nothing is locked... I have only 1 AppFlowy instance.
Author
Owner

@appflowy commented on GitHub (Jan 16, 2024):

@Twilightssuperb thank you for bringing this to our attention. The error is occurring because the log file's name is excessively long. We will address this issue and release a new version with the fix.

<!-- gh-comment-id:1894570194 --> @appflowy commented on GitHub (Jan 16, 2024): @Twilightssuperb thank you for bringing this to our attention. The error is occurring because the log file's name is excessively long. We will address this issue and release a new version with the fix.
Author
Owner

@annieappflowy commented on GitHub (Jan 17, 2024):

Fixed. @Twilightssuperb , please try the latest release and let us know how it goes

<!-- gh-comment-id:1895039302 --> @annieappflowy commented on GitHub (Jan 17, 2024): Fixed. @Twilightssuperb , please try the latest [release](https://github.com/AppFlowy-IO/AppFlowy/releases/tag/0.4.3) and let us know how it goes
Author
Owner

@Twilightssuperb commented on GitHub (Jan 17, 2024):

try the latest release and let us know how it goes

No ZIP-file available. ☹ I prefer portable/standalone apps.

<!-- gh-comment-id:1895720513 --> @Twilightssuperb commented on GitHub (Jan 17, 2024): > try the latest [release](https://github.com/AppFlowy-IO/AppFlowy/releases/tag/0.4.3) and let us know how it goes No ZIP-file available. ☹ I prefer portable/standalone apps.
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#1966
No description provided.