有大佬部署成功过吗。我链接了 tidbcloud 的数据库,报错: /--------------------------------------------------------------------
| Starting Vaultwarden | | Version 1.33.2 | |--------------------------------------------------------------------| | This is an unofficial Bitwarden implementation, DO NOT use the | | official channels to report bugs/features, regardless of client. | | Send usage/configuration questions or feature requests to: | | https://github.com/dani-garcia/vaultwarden/discussions or | | https://vaultwarden.discourse.group/ | | Report suspected bugs/issues in the software itself at: | | https://github.com/dani-garcia/vaultwarden/issues/new | --------------------------------------------------------------------/

[2025-03-22 11:37:22.713][panic][ERROR] thread 'main' panicked at 'Error running migrations: QueryError(DieselMigrationName { name: "2022-03-02-210038_update_devices_primary_key", version: MigrationVersion("20220302210038") }, DatabaseError(Unknown, "Unsupported drop primary key when the table is using clustered index"))': src/db/mod.rs:473 0: vaultwarden::init_logging::{{closure}} 1: std::panicking::rust_panic_with_hook 2: std::panicking::begin_panic_handler::{{closure}} 3: std::sys::backtrace::__rust_end_short_backtrace 4: rust_begin_unwind 5: core::panicking::panic_fmt 6: core::result::unwrap_failed 7: vaultwarden::db::DbPool::from_config 8: vaultwarden::main::{{closure}} 9: vaultwarden::main 10: std::sys::backtrace::__rust_begin_short_backtrace 11: main 12: <unknown> 13: __libc_start_main 14: _start

从日志看,这个错误发生在 Vaultwarden 试图修改 devices 表的主键时,而 TiDB 不支持在使用聚簇索引的表上删除主键。

举报· 206 次点击
登录 注册 站外分享
1 条回复  
lin002 楼主 初学 3 天前
tidbcloud 是免费提供数据库的商家, Serverless High available elastic clusters with freeforever option. 5GiB Storage free forever 50M Request Units free each monthVector Search for Gen-Al apps (Beta)
返回顶部