I can´t access my vault after last update 1.16.2
-
My vaultwarden is returning this message:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.Apache/2.4.52 (Ubuntu) Server at "domain.com" Port 8000
since I upgrade to 1.16.2 and upgrade from cloudron 1.5 to 1.6
Any one are seen this problem ?
-
Just checking your instance. It's crashing with the following error:
Nov 23 23:31:56[2023-11-23 22:31:56.286][panic][ERROR] thread 'main' panicked at 'Error loading twofactor: DatabaseError(Unknown, "Table 'c71776808dbfe2a3.twofactor' doesn't exist")': src/db/models/two_factor.rs:153 Nov 23 23:31:560: vaultwarden::init_logging::{{closure}} Nov 23 23:31:561: std::panicking::rust_panic_with_hook Nov 23 23:31:562: std::panicking::begin_panic_handler::{{closure}} Nov 23 23:31:563: std::sys_common::backtrace::__rust_end_short_backtrace Nov 23 23:31:564: rust_begin_unwind Nov 23 23:31:565: core::panicking::panic_fmt Nov 23 23:31:566: core::result::unwrap_failed Nov 23 23:31:567: tokio::runtime::context::runtime_mt::exit_runtime Nov 23 23:31:568: tokio::runtime::scheduler::multi_thread::worker::block_in_place Nov 23 23:31:569: vaultwarden::main::{{closure}} Nov 23 23:31:5610: tokio::runtime::park::CachedParkThread::block_on Nov 23 23:31:5611: rocket::async_main Nov 23 23:31:5612: vaultwarden::main Nov 23 23:31:5613: std::sys_common::backtrace::__rust_begin_short_backtrace Nov 23 23:31:5614: std::rt::lang_start::{{closure}} Nov 23 23:31:5615: std::rt::lang_start_internal Nov 23 23:31:5616: main Nov 23 23:31:5617: <unknown> Nov 23 23:31:5618: __libc_start_main Nov 23 23:31:5619: _start Nov 23 23:31:56
-
The issue here is because of collation issues which vaultwarden had in the past.
restore: stderr from db import: ERROR 3780 (HY000) at line 531: Referencing column 'organization_uuid' and referenced column 'uuid' in foreign key constraint 'auth_requests_ibfk_2' are incompatible.
Applying the fix in https://github.com/dani-garcia/vaultwarden/wiki/Using-the-MariaDB-(MySQL)-Backend#foreign-key-errors-collation-and-charset