#2934·cloudreve

从v3.8升级失败,数据库sqlite

Author: Jacko-JohnCreated Sep 28, 2025Updated Sep 25, 2026
Labelswontfix

/ _\ | ___ _ _ | | __ _____ _____ / / | |/ _ | | | |/ _ | '_/ _ \ \ / / _
/ /
| | () | || | (| | | | /\ V / / _/||_/ _,|_,|| _| _/ ___|

V4.8.0 Commit #7d97237 Pro=false

[Info] 2025-09-28 11:43:04 [/home/vsts/work/1/s/inventory/client.go:49] Initializing database connection... [Info] 2025-09-28 11:43:04 [/home/vsts/work/1/s/inventory/client.go:77] Connect to SQLite database "/home/jacko/cloudreve/data/cloudreve.db". [Info] 2025-09-28 11:43:04 [/home/vsts/work/1/s/inventory/migration.go:32] Start initializing database schema... [Info] 2025-09-28 11:43:04 [/home/vsts/work/1/s/inventory/migration.go:33] Creating basic table schema... [Panic] 2025-09-28 11:43:04 [/home/vsts/work/1/s/application/dependency/dependency.go:854] Fatal error in dependency initialization: failed to migrate database: Failed creating schema resources: sql/schema: copy rows from old table "users" to new temporary table "new_users": constraint failed: NOT NULL constraint failed: new_users.group_users (1299) panic: Fatal error in dependency initialization: failed to migrate database: Failed creating schema resources: sql/schema: copy rows from old table "users" to new temporary table "new_users": constraint failed: NOT NULL constraint failed: new_users.group_users (1299)