uwu console: incorrect behavior and misleading, alarming output message with --read-only shell on locked/open DB #1416

Closed
opened 2026-02-18 19:25:23 +00:00 by gamesguru · 0 comments
Contributor

Current error is this, which is quite alarming to the average user.

ERROR conduwuit: Critical error starting server: I/O error: Corruption: Missing WAL with log number: 335261.

Expected behavior is to do one of the following:

  1. successively retry/iterate until all portions of the database have been apprehended, or
  2. exit cowardly, immediately, and refuse to even open a --read-only shell against a locked database, or
  3. provide another way (i.e. momentary interruption) for a --read-only shell to request a momentary or partial release on the lock, so it can scan the logs into memory without them changing.
$ conduwuit --read-only
2026-02-18T19:16:18.236164Z  WARN conduwuit_core::config::check: Config parameter "legacy_media_authenticated_fetch" is unknown to conduwuit, ignoring.
2026-02-18T19:16:18.247270Z  WARN conduwuit_core::config::check: All URLs are allowed for URL previews via setting "url_preview_domain_explicit_allowlist" to "*". This opens up significant attack surface to your server. You are expected to be aware of the risks by doing this.
2026-02-18T19:16:18.247422Z  INFO conduwuit::server: 0.5.5 (0f7da345,b=feat/notification-endpoint-cinny) server_name=nutra.tk database_path="/var/lib/conduwuit" log_levels=info
  2026-02-18T19:17:06.199732Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335262 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335262.sst: No such file or directory
    at src/database/engine/logger.rs:18 on main ThreadId(1)
    in conduwuit_database::engine::open::open
    in conduwuit_router::run::start
    in conduwuit::main

  2026-02-18T19:17:06.199857Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335122 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335122.sst: No such file or directory
    at src/database/engine/logger.rs:18 on main ThreadId(1)
    in conduwuit_database::engine::open::open
    in conduwuit_router::run::start
    in conduwuit::main

  2026-02-18T19:17:06.203818Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335272 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335272.sst: No such file or directory
    at src/database/engine/logger.rs:18 on main ThreadId(1)
    in conduwuit_database::engine::open::open
    in conduwuit_router::run::start
    in conduwuit::main

  2026-02-18T19:17:06.203940Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335287 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335287.sst: No such file or directory
    at src/database/engine/logger.rs:18 on main ThreadId(1)
    in conduwuit_database::engine::open::open
    in conduwuit_router::run::start
    in conduwuit::main

  2026-02-18T19:17:06.447572Z ERROR conduwuit: Critical error starting server: I/O error: Corruption: Missing WAL with log number: 335261.
    at src/main/mod.rs:65 on main ThreadId(1)
    in conduwuit::main

Error: I/O error: Corruption: Missing WAL with log number: 335261.
Current error is this, which is quite alarming to the average user. `ERROR conduwuit: Critical error starting server: I/O error: Corruption: Missing WAL with log number: 335261.` Expected behavior is to do one of the following: 1. successively retry/iterate until all portions of the database have been apprehended, or 2. exit cowardly, immediately, and refuse to even open a `--read-only` shell against a locked database, or 3. provide another way (i.e. momentary interruption) for a `--read-only` shell to request a momentary or partial release on the lock, so it can scan the logs into memory without them changing. ```shell $ conduwuit --read-only 2026-02-18T19:16:18.236164Z WARN conduwuit_core::config::check: Config parameter "legacy_media_authenticated_fetch" is unknown to conduwuit, ignoring. 2026-02-18T19:16:18.247270Z WARN conduwuit_core::config::check: All URLs are allowed for URL previews via setting "url_preview_domain_explicit_allowlist" to "*". This opens up significant attack surface to your server. You are expected to be aware of the risks by doing this. 2026-02-18T19:16:18.247422Z INFO conduwuit::server: 0.5.5 (0f7da345,b=feat/notification-endpoint-cinny) server_name=nutra.tk database_path="/var/lib/conduwuit" log_levels=info 2026-02-18T19:17:06.199732Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335262 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335262.sst: No such file or directory at src/database/engine/logger.rs:18 on main ThreadId(1) in conduwuit_database::engine::open::open in conduwuit_router::run::start in conduwuit::main 2026-02-18T19:17:06.199857Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335122 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335122.sst: No such file or directory at src/database/engine/logger.rs:18 on main ThreadId(1) in conduwuit_database::engine::open::open in conduwuit_router::run::start in conduwuit::main 2026-02-18T19:17:06.203818Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335272 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335272.sst: No such file or directory at src/database/engine/logger.rs:18 on main ThreadId(1) in conduwuit_database::engine::open::open in conduwuit_router::run::start in conduwuit::main 2026-02-18T19:17:06.203940Z ERROR conduwuit_database::engine::logger: [db/version_set.cc:3150] Unable to load table properties for file 335287 --- IO error: No such file or directory: While open a file for random read: /var/lib/conduwuit/335287.sst: No such file or directory at src/database/engine/logger.rs:18 on main ThreadId(1) in conduwuit_database::engine::open::open in conduwuit_router::run::start in conduwuit::main 2026-02-18T19:17:06.447572Z ERROR conduwuit: Critical error starting server: I/O error: Corruption: Missing WAL with log number: 335261. at src/main/mod.rs:65 on main ThreadId(1) in conduwuit::main Error: I/O error: Corruption: Missing WAL with log number: 335261. ```
Jade closed this issue 2026-02-18 23:11:54 +00:00
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
continuwuation/continuwuity#1416
No description provided.