[GH-ISSUE #8109] [Bug] App crashes on launch after updating to 0.9.4 (& 0.9.5) #3563

Open
opened 2026-03-23 21:31:18 +00:00 by mirror · 25 comments
Owner

Originally created by @Artemis1-0 on GitHub (Jul 7, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8109

Bug Description

I installed the newest official build of appflowy and now whenever I try to launch it, it crashes after 2 seconds.
The only thing that comes up is a blank windows that closes after 2 seconds.

How to Reproduce

Err....
Update from 0.9.3 to 0.9.4/0.9.5 and try launching the app.

Expected Behavior

The app should launch and display when opened.

Operating System

Windows 11 24h2

AppFlowy Version(s)

0.9.4 & 0.9.5

Screenshots

Image

Additional Context

The only thing left to do is to restart my device. Who knows, that may fix it.

Originally created by @Artemis1-0 on GitHub (Jul 7, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8109 ### Bug Description I installed the newest official build of appflowy and now whenever I try to launch it, it crashes after 2 seconds. The only thing that comes up is a blank windows that closes after 2 seconds. ### How to Reproduce Err.... Update from 0.9.3 to 0.9.4/0.9.5 and try launching the app. ### Expected Behavior The app should launch and display when opened. ### Operating System Windows 11 24h2 ### AppFlowy Version(s) 0.9.4 & 0.9.5 ### Screenshots ![Image](https://github.com/user-attachments/assets/4d7c16c7-7bf4-44d8-8beb-4488a9062634) ### Additional Context The only thing left to do is to restart my device. Who knows, that may fix it.
Author
Owner

@LucasXu0 commented on GitHub (Jul 7, 2025):

Hi @Artemis1-0, could you try to run the application from cmd and copy/paste the logs here? Here's the guide on how to run AppFlowy from cmd. https://appflowy.com/ccf3ca5a-7ecd-4c35-805c-3a3c9c22e87d/AppFlowy-Q-A?blockId=DgHR5yQW

<!-- gh-comment-id:3044498182 --> @LucasXu0 commented on GitHub (Jul 7, 2025): Hi @Artemis1-0, could you try to run the application from cmd and copy/paste the logs here? Here's the guide on how to run AppFlowy from cmd. https://appflowy.com/ccf3ca5a-7ecd-4c35-805c-3a3c9c22e87d/AppFlowy-Q-A?blockId=DgHR5yQW
Author
Owner

@Artemis1-0 commented on GitHub (Jul 7, 2025):

So do I just copy the cmd or the log files???

<!-- gh-comment-id:3044524631 --> @Artemis1-0 commented on GitHub (Jul 7, 2025): So do I just copy the cmd or the log files???
Author
Owner

@LucasXu0 commented on GitHub (Jul 8, 2025):

So do I just copy the cmd or the log files???

When you run the application from the cmd, you will see some output in the cmd. Please copy the output.

<!-- gh-comment-id:3047203501 --> @LucasXu0 commented on GitHub (Jul 8, 2025): > So do I just copy the cmd or the log files??? When you run the application from the cmd, you will see some output in the cmd. Please copy the output.
Author
Owner

@Artemis1-0 commented on GitHub (Jul 8, 2025):

Kk

<!-- gh-comment-id:3048203595 --> @Artemis1-0 commented on GitHub (Jul 8, 2025): Kk
Author
Owner

@Artemis1-0 commented on GitHub (Jul 8, 2025):

Actually, can I send it privately? It has a bunch of file paths that can expose private information about me. @LucasXu0

<!-- gh-comment-id:3048209210 --> @Artemis1-0 commented on GitHub (Jul 8, 2025): Actually, can I send it privately? It has a bunch of file paths that can expose private information about me. @LucasXu0
Author
Owner

@LucasXu0 commented on GitHub (Jul 8, 2025):

Sure, you can send them to my email (lucas.xu@appflowy.io).

<!-- gh-comment-id:3048220723 --> @LucasXu0 commented on GitHub (Jul 8, 2025): Sure, you can send them to my email (lucas.xu@appflowy.io).
Author
Owner

@Artemis1-0 commented on GitHub (Jul 8, 2025):

@LucasXu0 Sent

<!-- gh-comment-id:3048292264 --> @Artemis1-0 commented on GitHub (Jul 8, 2025): @LucasXu0 Sent
Author
Owner

@LucasXu0 commented on GitHub (Jul 8, 2025):

@Artemis1-0 could you help confirm if this is the last output before crashing? I've hidden your path and user id.

One more thing I need to confirm: I saw your logs and want to know if 'OneDrive' refers only to the path name, or are you using OneDrive to sync your data?

{"msg":"[INIT - EVENT] open collab db for user .... at path: ...\collab_db\"","time":"07-08 11:00:30","target":"flowy_user::services::db"}
<!-- gh-comment-id:3048671091 --> @LucasXu0 commented on GitHub (Jul 8, 2025): @Artemis1-0 could you help confirm if this is the last output before crashing? I've hidden your path and user id. One more thing I need to confirm: I saw your logs and want to know if 'OneDrive' refers only to the path name, or are you using OneDrive to sync your data? ``` {"msg":"[INIT - EVENT] open collab db for user .... at path: ...\collab_db\"","time":"07-08 11:00:30","target":"flowy_user::services::db"} ```
Author
Owner

@Artemis1-0 commented on GitHub (Jul 8, 2025):

If I'm not mistaken, yes. Onedrive is just the path where my data is saved, I do not use it for syncing. I'll check as soon as I can get back onto my computer.

<!-- gh-comment-id:3049542521 --> @Artemis1-0 commented on GitHub (Jul 8, 2025): If I'm not mistaken, yes. Onedrive is just the path where my data is saved, I do not use it for syncing. I'll check as soon as I can get back onto my computer.
Author
Owner

@LucasXu0 commented on GitHub (Jul 9, 2025):

@Artemis1-0 I built a pre-release version that may fix this issue. Can you help me verify it? https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.9.4-250709-0618

<!-- gh-comment-id:3051747435 --> @LucasXu0 commented on GitHub (Jul 9, 2025): @Artemis1-0 I built a pre-release version that may fix this issue. Can you help me verify it? https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.9.4-250709-0618
Author
Owner

@Artemis1-0 commented on GitHub (Jul 9, 2025):

@LucasXu0 Hi there, the app now launches and stays for a few seconds before crashing. Only the window pops up and nothing else, and after about 10 seconds it crashes. I've emailed the logs to your email.

<!-- gh-comment-id:3053441965 --> @Artemis1-0 commented on GitHub (Jul 9, 2025): @LucasXu0 Hi there, the app now launches and stays for a few seconds before crashing. Only the window pops up and nothing else, and after about 10 seconds it crashes. I've emailed the logs to your email.
Author
Owner

@ltkermit commented on GitHub (Jul 10, 2025):

I am having this exact same problem. Let me know if you need any information from me to help track down the problem.

<!-- gh-comment-id:3058067736 --> @ltkermit commented on GitHub (Jul 10, 2025): I am having this exact same problem. Let me know if you need any information from me to help track down the problem.
Author
Owner

@Artemis1-0 commented on GitHub (Jul 11, 2025):

Good to see I'm not alone. @ltkermit what version were you upgrading from?

<!-- gh-comment-id:3062154452 --> @Artemis1-0 commented on GitHub (Jul 11, 2025): Good to see I'm not alone. @ltkermit what version were you upgrading from?
Author
Owner

@ltkermit commented on GitHub (Jul 11, 2025):

I upgraded from 0.9.3 and I am using self hosted AppFlowy-Cloud version 0.9.64

<!-- gh-comment-id:3062259930 --> @ltkermit commented on GitHub (Jul 11, 2025): I upgraded from 0.9.3 and I am using self hosted AppFlowy-Cloud version 0.9.64
Author
Owner

@Artemis1-0 commented on GitHub (Jul 11, 2025):

@LucasXu0 Also to note, when I run as admin on my account it crashes in the exact same was as I described. When I logged into another account (the admin one) that already had I had opened appflowy once before in when I encountered another bug, same story. When I logged into a third user account, one which had never launched appflowy before, I got to the welcome screen and after pressing the button for anonymous mode, it crashed and after that would crash in the exact same way. This on is the pre-release version you got me to test,

<!-- gh-comment-id:3063194052 --> @Artemis1-0 commented on GitHub (Jul 11, 2025): @LucasXu0 Also to note, when I run as admin on my account it crashes in the exact same was as I described. When I logged into another account (the admin one) that already had I had opened appflowy once before in when I encountered another bug, same story. When I logged into a third user account, one which had never launched appflowy before, I got to the welcome screen and after pressing the button for anonymous mode, it crashed and after that would crash in the exact same way. This on is the pre-release version you got me to test,
Author
Owner

@LucasXu0 commented on GitHub (Jul 15, 2025):

@Artemis1-0 @ltkermit Would you mind installing a debug version that will include more debug information to help us address this issue?

Update: https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.9.5-250714-0625, please note that it's debug version without any performance optimization.

<!-- gh-comment-id:3071645706 --> @LucasXu0 commented on GitHub (Jul 15, 2025): @Artemis1-0 @ltkermit Would you mind installing a debug version that will include more debug information to help us address this issue? Update: https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.9.5-250714-0625, please note that it's debug version without any performance optimization.
Author
Owner

@Artemis1-0 commented on GitHub (Jul 15, 2025):

It Works!. I ran the debug build and it managed to launch perfectly and pickup my database as well. Note: This was run in my downloads folder and I can try running this debug build again in the appflowy directory in Program Files (x86).

<!-- gh-comment-id:3072743344 --> @Artemis1-0 commented on GitHub (Jul 15, 2025): It Works!. I ran the debug build and it managed to launch perfectly and pickup my database as well. Note: This was run in my downloads folder and I can try running this debug build again in the appflowy directory in Program Files (x86).
Author
Owner

@LucasXu0 commented on GitHub (Jul 16, 2025):

@Artemis1-0 If so, it seems to be a release build issue. I built the same codebase but with different build flags (release and debug). I will upload a release build without windows installer.

Update: https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/download/0.9.5-250714-0625/AppFlowy_0.9.4_patch_2_release.zip.

<!-- gh-comment-id:3076481568 --> @LucasXu0 commented on GitHub (Jul 16, 2025): @Artemis1-0 If so, it seems to be a release build issue. I built the same codebase but with different build flags (release and debug). I will upload a release build without windows installer. Update: https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/download/0.9.5-250714-0625/AppFlowy_0.9.4_patch_2_release.zip.
Author
Owner

@Artemis1-0 commented on GitHub (Jul 16, 2025):

Just downloaded the zip file. It seems that whatever you did with the flags has fixed the issue. App launches and runs normally.

<!-- gh-comment-id:3077943113 --> @Artemis1-0 commented on GitHub (Jul 16, 2025): Just downloaded the zip file. It seems that whatever you did with the flags has fixed the issue. App launches and runs normally.
Author
Owner

@sofiecollini commented on GitHub (Jul 16, 2025):

I have the same problem as OP. I downloaded the zip file and tried both running it in its own extracted folder and by replacing the files in my Program Files and running it from there, but neither option worked. I get error messages asking for 4 missing DLL files. I've tried reinstalling the proper version also, but no dice. :(

<!-- gh-comment-id:3079072526 --> @sofiecollini commented on GitHub (Jul 16, 2025): I have the same problem as OP. I downloaded the zip file and tried both running it in its own extracted folder and by replacing the files in my Program Files and running it from there, but neither option worked. I get error messages asking for 4 missing DLL files. I've tried reinstalling the proper version also, but no dice. :(
Author
Owner

@LucasXu0 commented on GitHub (Jul 17, 2025):

@sofiecollini Please share more detailed information about the 4 missing DLL files.

<!-- gh-comment-id:3082100508 --> @LucasXu0 commented on GitHub (Jul 17, 2025): @sofiecollini Please share more detailed information about the 4 missing DLL files.
Author
Owner

@ltkermit commented on GitHub (Jul 17, 2025):

Sorry I got busy and have not had a chance to check back in. In my case the fix was to uninstall AppFlowy from my Windows machine, update the Ubuntu server that is running docker, update AppFlowy Cloud on that server, the re-install AppFlowy on my Windows machine. After that it opened and functioned normally again. Let me know if you there is anything specific that I can provide, and hopefully that doesn't muddy the waters at all.

<!-- gh-comment-id:3082309997 --> @ltkermit commented on GitHub (Jul 17, 2025): Sorry I got busy and have not had a chance to check back in. In my case the fix was to uninstall AppFlowy from my Windows machine, update the Ubuntu server that is running docker, update AppFlowy Cloud on that server, the re-install AppFlowy on my Windows machine. After that it opened and functioned normally again. Let me know if you there is anything specific that I can provide, and hopefully that doesn't muddy the waters at all.
Author
Owner

@Artemis1-0 commented on GitHub (Jul 20, 2025):

@LucasXu0 Hi Lucas, I'm having the same issue after installing 0.9.5. The debug and release build that you built runs fine but the official 0.9.5 release build still suffers from the same issue.

<!-- gh-comment-id:3094459917 --> @Artemis1-0 commented on GitHub (Jul 20, 2025): @LucasXu0 Hi Lucas, I'm having the same issue after installing 0.9.5. The debug and release build that you built runs fine but the official 0.9.5 release build still suffers from the same issue.
Author
Owner

@LucasXu0 commented on GitHub (Jul 21, 2025):

@Artemis1-0 can you try the zip installer? Download here. I'm wondering if it's related to the exe packager plugin.

<!-- gh-comment-id:3095000060 --> @LucasXu0 commented on GitHub (Jul 21, 2025): @Artemis1-0 can you try the zip installer? [Download here](https://github.com/AppFlowy-IO/AppFlowy/releases/download/0.9.5/AppFlowy-0.9.5-windows-x86_64.zip). I'm wondering if it's related to the exe packager plugin.
Author
Owner

@Artemis1-0 commented on GitHub (Jul 21, 2025):

@LucasXu0 Hi Lucas, it does seem to be an issue with the installer as the zip file works perfectly.

<!-- gh-comment-id:3097860061 --> @Artemis1-0 commented on GitHub (Jul 21, 2025): @LucasXu0 Hi Lucas, it does seem to be an issue with the installer as the zip file works perfectly.
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#3563
No description provided.