[GH-ISSUE #8332] [Bug] App Flows Crashes on Startup After Initial Login/Local Mode Selection (White Screen & Crash) #3737

Open
opened 2026-03-23 21:32:48 +00:00 by mirror · 8 comments
Owner

Originally created by @Elysifyre on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8332

Bug Description

Upon a fresh installation of AppFlowy, the application launches correctly to the welcome/login screen. However, after either logging in or selecting "Local Mode," the application immediately crashes. Subsequent attempts to open AppFlowy result in only a brief white screen before it crashes again.
The only way to return to the initial login screen is to completely uninstall the software and delete all associated user configuration data. However, the problem repeats as soon as I try to log in or use local mode again.

How to Reproduce

Perform a fresh install of AppFlowy .
Launch the application. The welcome/login screen appears successfully.
Either log in with an account or select the "Local Mode" option.
The application crashes/closes abruptly.
Try to reopen AppFlowy.
Actual Result:​ A white window appears for a moment, then the application crashes again.
Workaround:​ Uninstalling AppFlowy and manually deleting its configuration folder allows you to see the login screen again

Expected Behavior

After logging in or selecting "Local Mode," the application should open the main workspace interface successfully. Subsequent launches should open directly to the workspace without crashing.

Operating System

Operating System:​ [Windows 11 25H2]

AppFlowy Version(s)

AppFlowy Version:​ [AppFlowy-0.10.3-windows-x86_64]

Screenshots

No response

Additional Context

No response

Originally created by @Elysifyre on GitHub (Nov 7, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8332 ### Bug Description Upon a fresh installation of AppFlowy, the application launches correctly to the welcome/login screen. However, after either logging in or selecting "Local Mode," the application immediately crashes. Subsequent attempts to open AppFlowy result in only a brief white screen before it crashes again. The only way to return to the initial login screen is to completely uninstall the software and delete all associated user configuration data. However, the problem repeats as soon as I try to log in or use local mode again. ### How to Reproduce Perform a fresh install of AppFlowy . Launch the application. The welcome/login screen appears successfully. Either log in with an account or select the "Local Mode" option. The application crashes/closes abruptly. Try to reopen AppFlowy. Actual Result:​ A white window appears for a moment, then the application crashes again. Workaround:​ Uninstalling AppFlowy and manually deleting its configuration folder allows you to see the login screen again ### Expected Behavior After logging in or selecting "Local Mode," the application should open the main workspace interface successfully. Subsequent launches should open directly to the workspace without crashing. ### Operating System Operating System:​ [Windows 11 25H2] ### AppFlowy Version(s) AppFlowy Version:​ [AppFlowy-0.10.3-windows-x86_64] ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

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

Workaround:​ Uninstalling AppFlowy and manually deleting its configuration folder allows you to see the login screen again

After doing that, are you able to log in successfully?

<!-- gh-comment-id:3500913659 --> @LucasXu0 commented on GitHub (Nov 7, 2025): > Workaround:​ Uninstalling AppFlowy and manually deleting its configuration folder allows you to see the login screen again After doing that, are you able to log in successfully?
Author
Owner

@Elysifyre commented on GitHub (Nov 7, 2025):

Workaround:​ Uninstalling AppFlowy and manually deleting its configuration folder allows you to see the login screen again

After doing that, are you able to log in successfully?

Hello, the result is still no go. I tried the historical versions and came to a conclusion: versions before the release of 0.9.3 (including 0.9.3) can be used normally, but the same problem occurs in all newer versions than 0.9.3.

<!-- gh-comment-id:3501138891 --> @Elysifyre commented on GitHub (Nov 7, 2025): > > Workaround:​ Uninstalling AppFlowy and manually deleting its configuration folder allows you to see the login screen again > > After doing that, are you able to log in successfully? Hello, the result is still no go. I tried the historical versions and came to a conclusion: versions before the release of 0.9.3 (including 0.9.3) can be used normally, but the same problem occurs in all newer versions than 0.9.3.
Author
Owner

@LucasXu0 commented on GitHub (Nov 14, 2025):

Hi @Elysifyre, can you try this package: AppFlowy Release 0.10.4-crash-251114-1040?

Please note that the Windows exe is not code-signed, but it's safe to use.

<!-- gh-comment-id:3530697676 --> @LucasXu0 commented on GitHub (Nov 14, 2025): Hi @Elysifyre, can you try this package: [AppFlowy Release 0.10.4-crash-251114-1040](https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.10.4-crash-251114-1040)? Please note that the Windows exe is not code-signed, but it's safe to use.
Author
Owner

@smallfish45 commented on GitHub (Nov 14, 2025):

AppFlowy Release 0.10.4-crash-251114-1040

Still crashed when i use this version

<!-- gh-comment-id:3530726503 --> @smallfish45 commented on GitHub (Nov 14, 2025): [AppFlowy Release 0.10.4-crash-251114-1040](https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.10.4-crash-251114-1040) Still crashed when i use this version
Author
Owner

@smallfish45 commented on GitHub (Nov 14, 2025):

i try 0.9.3 its ok

<!-- gh-comment-id:3530727846 --> @smallfish45 commented on GitHub (Nov 14, 2025): i try 0.9.3 its ok
Author
Owner

@LucasXu0 commented on GitHub (Nov 14, 2025):

Can you follow this guide to run the application and send messages from Command Prompt?

<!-- gh-comment-id:3530919740 --> @LucasXu0 commented on GitHub (Nov 14, 2025): Can you follow this [guide](https://appflowy.com/ccf3ca5a-7ecd-4c35-805c-3a3c9c22e87d/AppFlowy-Q-A?blockId=DgHR5yQW) to run the application and send messages from Command Prompt?
Author
Owner

@smallfish45 commented on GitHub (Nov 14, 2025):

Creating user data folder for URL: https://beta.appflowy.cloud, root:C:\Users\relpacestring\AppData\Roaming\io.appflowy\AppFlowy\data 2025-11-14 14:27:52 INFO flowy_core: 💡Some("Windows 10 Pro"), platform: Windows
at flowy-core\src\lib.rs:120

{"msg":"💡Some("Windows 10 Pro"), platform: Windows","time":"11-14 14:27:52","target":"flowy_core"}
{"msg":"[🟢 INIT - START]","time":"11-14 14:27:52","target":"flowy_core"}
2025-11-14 14:27:52 INFO flowy_core: 🔥AppFlowy Configuration { app_version: Version { major: 0, minor: 10, patch: 4 }, storage_path: "C:\Users\relpacestring\AppData\Roaming\io.appflowy\AppFlowy\data_beta.appflowy.cloud", application_path: "C:\Users\relpacestring\AppData\Roaming\io.appflowy\AppFlowy\data", log_filter: "flowy_core=info,flowy_folder=info,collab_sync=info,collab_folder=info,collab_database=info,collab_plugins=info,collab=info,flowy_user=info,flowy_user_pub=info,flowy_document=info,flowy_database2=info,flowy_server=info,flowy_notification=info,lib_infra=info,flowy_search=info,flowy_chat=info,flowy_ai=info,flowy_ai_pub=info,flowy_sqlite_vec=info,sync_log=info,dart_ffi=info,client_api=info,infra=info", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud:443/ws/v2", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core\src\lib.rs:140
in flowy_core::init

{"msg":"[INIT - EVENT] 🔥AppFlowy Configuration { app_version: Version { major: 0, minor: 10, patch: 4 }, storage_path: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_beta.appflowy.cloud", application_path: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data", log_filter: "flowy_core=info,flowy_folder=info,collab_sync=info,collab_folder=info,collab_database=info,collab_plugins=info,collab=info,flowy_user=info,flowy_user_pub=info,flowy_document=info,flowy_database2=info,flowy_server=info,flowy_notification=info,lib_infra=info,flowy_search=info,flowy_chat=info,flowy_ai=info,flowy_ai_pub=info,flowy_sqlite_vec=info,sync_log=info,dart_ffi=info,client_api=info,infra=info", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud:443/ws/v2", gotrue_url: "https://beta.appflowy.cloud/gotrue" }","time":"11-14 14:27:52","target":"flowy_core"}
2025-11-14 14:27:52 INFO flowy_ai::embeddings::context: Initializing vector db
at flowy-ai\src\embeddings\context.rs:43
in flowy_core::init

{"msg":"[INIT - EVENT] Initializing vector db","time":"11-14 14:27:52","target":"flowy_ai::embeddings::context"}
2025-11-14 14:27:52 INFO flowy_ai::embeddings::context: [Embedding] Vector db created at: "C:\Users\relpacestring\AppData\Roaming\io.appflowy\AppFlowy\data_beta.appflowy.cloud"
at flowy-ai\src\embeddings\context.rs:46
in flowy_core::init

{"msg":"[INIT - EVENT] [Embedding] Vector db created at: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_beta.appflowy.cloud"","time":"11-14 14:27:52","target":"flowy_ai::embeddings::context"}
2025-11-14 14:27:52 WARN flowy_ai::embeddings::context: [Embedding] Ollama is not initialized, cannot create scheduler
at flowy-ai\src\embeddings\context.rs:96
in flowy_core::init

{"msg":"[INIT - EVENT] [Embedding] Ollama is not initialized, cannot create scheduler","time":"11-14 14:27:52","target":"flowy_ai::embeddings::context"}
2025-11-14 14:27:52 INFO flowy_ai::model_select: [Model Selection] Adding source: server
at flowy-ai\src\model_select.rs:54
in flowy_core::init

{"msg":"[INIT - EVENT] [Model Selection] Adding source: server","time":"11-14 14:27:52","target":"flowy_ai::model_select"}
2025-11-14 14:27:52 INFO flowy_user::user_manager::manager: Init user session: 525524298228568064, workspace: e3208b47-679e-4bb4-919c-699e87d27532
at flowy-user\src\user_manager\manager.rs:129
in flowy_core::init

{"msg":"[INIT - EVENT] Init user session: 525524298228568064, workspace: e3208b47-679e-4bb4-919c-699e87d27532","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"}
2025-11-14 14:27:52 INFO flowy_core::deps_resolve::cloud_service_impl: ServerProvider: auth provider from Cloud to Local
at flowy-core\src\deps_resolve\cloud_service_impl.rs:208
in flowy_core::init

{"msg":"[INIT - EVENT] ServerProvider: auth provider from Cloud to Local","time":"11-14 14:27:52","target":"flowy_core::deps_resolve::cloud_service_impl"}
2025-11-14 14:27:52 INFO flowy_user::user_manager::manager: init user session: 525524298228568064, auth type: Vault
at flowy-user\src\user_manager\manager.rs:161
in flowy_core::init

{"msg":"[INIT - EVENT] init user session: 525524298228568064, auth type: Vault","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"}
{"msg":"[🟢 SPAWN_OBSERVE_TOKEN_CHANGED - START]","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"}
{"msg":"[SPAWN_OBSERVE_TOKEN_CHANGED - END]","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"}
2025-11-14 14:27:52 INFO flowy_user::user_manager::manager: Prepare user data migration
at flowy-user\src\user_manager\manager.rs:175
in flowy_core::init

{"msg":"[INIT - EVENT] Prepare user data migration","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"}
2025-11-14 14:27:52 INFO flowy_user::services::db: open collab db for user 525524298228568064 at path: "C:\Users\relpacestring\AppData\Roaming\io.appflowy\AppFlowy\data_beta.appflowy.cloud\525524298228568064\collab_db"
at flowy-user\src\services\db.rs:147
in flowy_core::init

{"msg":"[INIT - EVENT] open collab db for user 525524298228568064 at path: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_beta.appflowy.cloud\\525524298228568064\\collab_db"","time":"11-14 14:27:52","target":"flowy_user::services::db"}

<!-- gh-comment-id:3531106003 --> @smallfish45 commented on GitHub (Nov 14, 2025): Creating user data folder for URL: https://beta.appflowy.cloud, root:C:\Users\relpacestring\AppData\Roaming\io.appflowy\AppFlowy\data 2025-11-14 14:27:52 INFO flowy_core: 💡Some("Windows 10 Pro"), platform: Windows at flowy-core\src\lib.rs:120 {"msg":"💡Some(\"Windows 10 Pro\"), platform: Windows","time":"11-14 14:27:52","target":"flowy_core"} {"msg":"[🟢 INIT - START]","time":"11-14 14:27:52","target":"flowy_core"} 2025-11-14 14:27:52 INFO flowy_core: 🔥AppFlowy Configuration { app_version: Version { major: 0, minor: 10, patch: 4 }, storage_path: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_beta.appflowy.cloud", application_path: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data", log_filter: "flowy_core=info,flowy_folder=info,collab_sync=info,collab_folder=info,collab_database=info,collab_plugins=info,collab=info,flowy_user=info,flowy_user_pub=info,flowy_document=info,flowy_database2=info,flowy_server=info,flowy_notification=info,lib_infra=info,flowy_search=info,flowy_chat=info,flowy_ai=info,flowy_ai_pub=info,flowy_sqlite_vec=info,sync_log=info,dart_ffi=info,client_api=info,infra=info", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud:443/ws/v2", gotrue_url: "https://beta.appflowy.cloud/gotrue" } at flowy-core\src\lib.rs:140 in flowy_core::init {"msg":"[INIT - EVENT] 🔥AppFlowy Configuration { app_version: Version { major: 0, minor: 10, patch: 4 }, storage_path: \"C:\\\\Users\\\\relpacestring\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_beta.appflowy.cloud\", application_path: \"C:\\\\Users\\\\relpacestring\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data\", log_filter: \"flowy_core=info,flowy_folder=info,collab_sync=info,collab_folder=info,collab_database=info,collab_plugins=info,collab=info,flowy_user=info,flowy_user_pub=info,flowy_document=info,flowy_database2=info,flowy_server=info,flowy_notification=info,lib_infra=info,flowy_search=info,flowy_chat=info,flowy_ai=info,flowy_ai_pub=info,flowy_sqlite_vec=info,sync_log=info,dart_ffi=info,client_api=info,infra=info\", base_url: \"https://beta.appflowy.cloud\", ws_url: \"wss://beta.appflowy.cloud:443/ws/v2\", gotrue_url: \"https://beta.appflowy.cloud/gotrue\" }","time":"11-14 14:27:52","target":"flowy_core"} 2025-11-14 14:27:52 INFO flowy_ai::embeddings::context: Initializing vector db at flowy-ai\src\embeddings\context.rs:43 in flowy_core::init {"msg":"[INIT - EVENT] Initializing vector db","time":"11-14 14:27:52","target":"flowy_ai::embeddings::context"} 2025-11-14 14:27:52 INFO flowy_ai::embeddings::context: [Embedding] Vector db created at: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_beta.appflowy.cloud" at flowy-ai\src\embeddings\context.rs:46 in flowy_core::init {"msg":"[INIT - EVENT] [Embedding] Vector db created at: \"C:\\\\Users\\\\relpacestring\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_beta.appflowy.cloud\"","time":"11-14 14:27:52","target":"flowy_ai::embeddings::context"} 2025-11-14 14:27:52 WARN flowy_ai::embeddings::context: [Embedding] Ollama is not initialized, cannot create scheduler at flowy-ai\src\embeddings\context.rs:96 in flowy_core::init {"msg":"[INIT - EVENT] [Embedding] Ollama is not initialized, cannot create scheduler","time":"11-14 14:27:52","target":"flowy_ai::embeddings::context"} 2025-11-14 14:27:52 INFO flowy_ai::model_select: [Model Selection] Adding source: server at flowy-ai\src\model_select.rs:54 in flowy_core::init {"msg":"[INIT - EVENT] [Model Selection] Adding source: server","time":"11-14 14:27:52","target":"flowy_ai::model_select"} 2025-11-14 14:27:52 INFO flowy_user::user_manager::manager: Init user session: 525524298228568064, workspace: e3208b47-679e-4bb4-919c-699e87d27532 at flowy-user\src\user_manager\manager.rs:129 in flowy_core::init {"msg":"[INIT - EVENT] Init user session: 525524298228568064, workspace: e3208b47-679e-4bb4-919c-699e87d27532","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"} 2025-11-14 14:27:52 INFO flowy_core::deps_resolve::cloud_service_impl: ServerProvider: auth provider from Cloud to Local at flowy-core\src\deps_resolve\cloud_service_impl.rs:208 in flowy_core::init {"msg":"[INIT - EVENT] ServerProvider: auth provider from Cloud to Local","time":"11-14 14:27:52","target":"flowy_core::deps_resolve::cloud_service_impl"} 2025-11-14 14:27:52 INFO flowy_user::user_manager::manager: init user session: 525524298228568064, auth type: Vault at flowy-user\src\user_manager\manager.rs:161 in flowy_core::init {"msg":"[INIT - EVENT] init user session: 525524298228568064, auth type: Vault","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"} {"msg":"[🟢 SPAWN_OBSERVE_TOKEN_CHANGED - START]","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"} {"msg":"[SPAWN_OBSERVE_TOKEN_CHANGED - END]","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"} 2025-11-14 14:27:52 INFO flowy_user::user_manager::manager: Prepare user data migration at flowy-user\src\user_manager\manager.rs:175 in flowy_core::init {"msg":"[INIT - EVENT] Prepare user data migration","time":"11-14 14:27:52","target":"flowy_user::user_manager::manager"} 2025-11-14 14:27:52 INFO flowy_user::services::db: open collab db for user 525524298228568064 at path: "C:\\Users\\relpacestring\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_beta.appflowy.cloud\\525524298228568064\\collab_db" at flowy-user\src\services\db.rs:147 in flowy_core::init {"msg":"[INIT - EVENT] open collab db for user 525524298228568064 at path: \"C:\\\\Users\\\\relpacestring\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_beta.appflowy.cloud\\\\525524298228568064\\\\collab_db\"","time":"11-14 14:27:52","target":"flowy_user::services::db"}
Author
Owner

@smallfish45 commented on GitHub (Nov 14, 2025):

logs of AppFlowy Release 0.10.4-crash-251114-1040 version win10

<!-- gh-comment-id:3531111938 --> @smallfish45 commented on GitHub (Nov 14, 2025): logs of [AppFlowy Release 0.10.4-crash-251114-1040](https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.10.4-crash-251114-1040) version win10
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#3737
No description provided.