[GH-ISSUE #3230] [BUG]: 创建imges成功,容器启动错误。请教如何解决 #2077

Closed
opened 2026-02-22 18:28:04 -05:00 by yindo · 2 comments
Owner

Originally created by @sdlyzhuangd on GitHub (Feb 15, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3230

How are you running AnythingLLM?

Docker (local)

What happened?

27 migrations found in prisma/migrations

Error: SQLite database error

attempt to write a readonly database

0: sql_schema_connector::sql_migration_persistence::initialize

       with namespaces=None

         at schema-engine/connectors/sql-schema-connector/src/sql_migration_persistence.rs:14

1: schema_core::state::ApplyMigrations

         at schema-engine/core/src/state.rs:201

Are there known steps to reproduce?

No response

Originally created by @sdlyzhuangd on GitHub (Feb 15, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3230 ### How are you running AnythingLLM? Docker (local) ### What happened? 27 migrations found in prisma/migrations Error: SQLite database error attempt to write a readonly database 0: sql_schema_connector::sql_migration_persistence::initialize with namespaces=None at schema-engine/connectors/sql-schema-connector/src/sql_migration_persistence.rs:14 1: schema_core::state::ApplyMigrations at schema-engine/core/src/state.rs:201 ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:28:04 -05:00
yindo closed this issue 2026-02-22 18:28:04 -05:00
Author
Owner

@micjac99 commented on GitHub (Feb 16, 2025):

$HOME/anythingllm/anthingllm.db readonly , chmod to writable

chmod 777 -R $HOME/anythingllm

@micjac99 commented on GitHub (Feb 16, 2025): $HOME/anythingllm/anthingllm.db readonly , chmod to writable chmod 777 -R $HOME/anythingllm
Author
Owner

@sdlyzhuangd commented on GitHub (Feb 21, 2025):

是创建前设置目录权限吗?还是部署后设置

@sdlyzhuangd commented on GitHub (Feb 21, 2025): 是创建前设置目录权限吗?还是部署后设置
yindo changed title from [BUG]: 创建imges成功,容器启动错误。请教如何解决 to [GH-ISSUE #3230] [BUG]: 创建imges成功,容器启动错误。请教如何解决 2026-06-05 14:44:24 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2077