Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydra-init.service starts too early #366

Open
mweinelt opened this issue Feb 12, 2024 · 0 comments
Open

hydra-init.service starts too early #366

mweinelt opened this issue Feb 12, 2024 · 0 comments

Comments

@mweinelt
Copy link
Member

The hydra-init.service fails when it can't reach its database, which gets provided over a wireguard tunnel. It should likely run after wireguard-wg0.target.

Feb 12 00:20:00 rhea systemd[1]: Starting hydra-init.service...
Feb 12 00:20:00 rhea hydra-init[2100]: DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('dbname=hydra;host=10.254.1.9;user=hydra;;application_name=hydra-init','',...) failed: connection to server at "10.254.1.9", port 5432 failed: No route to host
Feb 12 00:20:00 rhea hydra-init[2100]:         Is the server running on that host and accepting TCP/IP connections? at /nix/store/8hr802y0w5jq5hlkrkil7s96p4f1n1dx-hydra-perl-deps/lib/perl5/site_perl/5.38.2/DBIx/Class/Storage/DBI.pm line 1639. at /nix/store/wcy7v3c83ks0ndyizfm7llm621dnnjhp-hydra-0.1.20240126.838648c/bin/.hydra-init-wrapped line 13
Feb 12 00:20:00 rhea systemd[1]: hydra-init.service: Main process exited, code=exited, status=115/n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant