Re: [Nix-dev] Cannot run "hydra-create-user" ("no such table: Users")

2017-03-06 Thread Domen Kožar
https://github.com/peti/hydra-tutorial/blob/master/hydra-master.nix#L51-L73 On Sun, Mar 5, 2017 at 12:49 AM, Bas van Dijk wrote: > Hi Bjørn, > > At LumiGuide I use the following systemd service to setup hydra: > > # Create a hydra admin user named "" and copy the

Re: [Nix-dev] Cannot run "hydra-create-user" ("no such table: Users")

2017-03-06 Thread Bjørn Forsman
On 5 March 2017 at 01:21, Bjørn Forsman wrote: > Hi Bas, > > On 5 March 2017 at 00:49, Bas van Dijk wrote: > >> Hi Bjørn, >> >> At LumiGuide I use the following systemd service to setup hydra: >> >> # Create a hydra admin user named "" and copy

Re: [Nix-dev] Cannot run "hydra-create-user" ("no such table: Users")

2017-03-06 Thread Bjørn Forsman
On 5 March 2017 at 01:21, Bjørn Forsman wrote: > Hi Bas, > > On 5 March 2017 at 00:49, Bas van Dijk wrote: > >> Hi Bjørn, >> >> At LumiGuide I use the following systemd service to setup hydra: >> >> # Create a hydra admin user named "" and copy

Re: [Nix-dev] Cannot run "hydra-create-user" ("no such table: Users")

2017-03-06 Thread Bjørn Forsman
Hi Bas, On 5 March 2017 at 00:49, Bas van Dijk wrote: > Hi Bjørn, > > At LumiGuide I use the following systemd service to setup hydra: > > # Create a hydra admin user named "" and copy the GitHub private SSH > # key to hydra's home directory so that it can connect to

Re: [Nix-dev] Cannot run "hydra-create-user" ("no such table: Users")

2017-03-04 Thread Bas van Dijk
Hi Bjørn, At LumiGuide I use the following systemd service to setup hydra: # Create a hydra admin user named "" and copy the GitHub private SSH # key to hydra's home directory so that it can connect to GitHub to clone # our repo's. systemd.services.lumi-hydra-setup = { wantedBy = [

[Nix-dev] Cannot run "hydra-create-user" ("no such table: Users")

2017-03-04 Thread Bjørn Forsman
Hi all Hydra + Nixpkgs users, How did you manage to run "hydra-create-user"? It fails for me: $ sudo -u hydra hydra-create-user alice --full-name 'Alice Q. User' --email-address 'al...@example.org' --password alice --role admin DBIx::Class::Storage::DBI::_prepare_sth(): DBI Exception: