[Nix-dev] hydra-init

stewart mackenzie setori88 at gmail.com
Sat Jul 11 19:15:13 CEST 2015


So I deleted /var/db/postgresql and /var/lib/hydra

then following the section "Letting nix handle the git repository" of
this tutorial:

https://nixos.org/wiki/Installing_hydra_as_nixos_module

then
# su hydra
$ psql # and can see all the hydra tables with \d
hydra> select * from users; # results in an empty table

so I run:

$ hydra-init
Can't locate strict.pm:   Permission denied at
/nix/store/992kbzgv3gpgarpp9kv7xlj652s2r0m0-hydra-0.1pre1234-abcdef/bin/.hydra-init-wrapped
line 3.
BEGIN failed--compilation aborted at
/nix/store/992kbzgv3gpgarpp9kv7xlj652s2r0m0-hydra-0.1pre1234-abcdef/bin/.hydra-init-wrapped
line 3.

oh dear,

then I run

$ hydra-create-user stewart --password lamepassword --role admin

results in the same error as above.

seems strict.pm is missing.

Am I missing a step? Been a while since I setup hydra.

/sjm


More information about the nix-dev mailing list