Hello,
I am not able to login after restart StartOS.
on the local IP adress is shown “StartOS - Diagnostic Mode” with: Database Error
Job for postgresql@15-main.service failed because the service did not take the steps required by its unit configuration. See “systemctl status postgresql@15-main.service” and “journalctl -xeu postgresql@15-main.service” for details.
and following logs:
2025-10-21T16:15:55+02:00 2025-10-21T14:15:55.449300Z INFO inner_main :setup_or_init : startos::bins::start_init: Loaded Disk 2025-10-21T16:15:55+02:00 2025-10-21T14:15:55.511216Z INFO inner_main :setup_or_init :init :secret_store :init_postgres :bind : startos::disk::mount::util: Binding /embassy-data/main/postgresql to /var/lib/postgresql 2025-10-21T16:15:58+02:00 2025-10-21T14:15:58.227864Z ERROR inner_main : startos::bins::start_init: Job for postgresql@15-main.service failed because the service did not take the steps required by its unit configuration. 2025-10-21T16:15:58+02:00 See “systemctl status postgresql@15-main.service” and “journalctl -xeu postgresql@15-main.service” for details. 2025-10-21T16:15:58+02:00 2025-10-21T14:15:58.227881Z DEBUG inner_main : startos::bins::start_init: Job for postgresql@15-main.service failed because the service did not take the steps required by its unit configuration. 2025-10-21T16:15:58+02:00 See “systemctl status postgresql@15-main.service” and “journalctl -xeu postgresql@15-main.service” for details. 2025-10-21T16:16:01+02:00 2025-10-21T14:16:01.001011Z ERROR inner_main :init : startos::context::diagnostic: Error: Database Error: Job for postgresql@15-main.service failed because the service did not take the steps required by its unit configuration. 2025-10-21T16:16:01+02:00 See “systemctl status postgresql@15-main.service” and “journalctl -xeu postgresql@15-main.service” for details. 2025-10-21T16:16:01+02:00 : Starting diagnostic UI 2025-10-21T16:16:01+02:00 2025-10-21T14:16:01.013805Z DEBUG inner_main :init : startos::context::diagnostic: Error { source: 2025-10-21T16:16:01+02:00 0: Job for postgresql@15-main.service failed because the service did not take the steps required by its unit configuration. 2025-10-21T16:16:01+02:00 See “systemctl status postgresql@15-main.service” and “journalctl -xeu postgresql@15-main.service” for details. 2025-10-21T16:16:01+02:00 0: 2025-10-21T16:16:01+02:00 Location: 2025-10-21T16:16:01+02:00 startos/src/util/mod.rs:163 2025-10-21T16:16:01+02:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2025-10-21T16:16:01+02:00 0: startos::init::init_postgres 2025-10-21T16:16:01+02:00 at startos/src/init.rs:46 2025-10-21T16:16:01+02:00 1: startos::context::rpc::secret_store 2025-10-21T16:16:01+02:00 at startos/src/context/rpc.rs:92 2025-10-21T16:16:01+02:00 2: startos::init::init 2025-10-21T16:16:01+02:00 at startos/src/init.rs:192 2025-10-21T16:16:01+02:00 3: startos::bins::start_init::setup_or_init 2025-10-21T16:16:01+02:00 at startos/src/bins/start_init.rs:23 2025-10-21T16:16:01+02:00 4: startos::bins::start_init::inner_main 2025-10-21T16:16:01+02:00 at startos/src/bins/start_init.rs:198 2025-10-21T16:16:01+02:00 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. 2025-10-21T16:16:01+02:00 Run with RUST_BACKTRACE=full to include source snippets., kind: Database, revision: None }
I tried to Restart Server and System Rebuild from Diagnostic Mode page, but without success.
Could you help me, how to resolve it?
Thank you
