| 21 Jan 2022 |
kenran_ | That is, I create the hash by entering a nix-shell -p libargon2, doing argon2 "$(LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c16)" -id -t 3 -k 262144 -p 1 -l 16 -e, entering blub, pressing Enter (is that wrong?), then ^D, and specify the resulting hash as hydra-create-user myuser --full-name 'foo bar' --email-address 'foo@bar.com' --role admin --password-hash '$argon2id$v=19$m=262144,t=3,p=1$U3I1UGt6ekV4c09oeGZxTA$oQRySAPG6a6Wpao7wSQQ6w' | 05:23:53 |
kenran_ | I just tried using the exact example line from hydra-create-user --help, user alice with password foobar, and it doesn't work either, so I guess something else is not working as expected here. Or maybe I misconfigured something, but so far everything should be copied from the article. Guess I'll stick with the plain text password for now. | 05:27:14 |
kenran_ | * I just tried using the exact example line from hydra-create-user --help, user alice with password foobar, and it doesn't work either, so I guess something else is not working as expected here. Or maybe I misconfigured something, but so far everything should be copied from the article. Guess I'll stick with the plain text password for now and change it via the web interface. | 06:22:41 |
kenran_ | So far, I've set up the Hydra (on NixOS btw) and added the imperative and the declarative examples from the Wiki page, but nothing seems to be happening: localhost is supposedly Idle. How can I see "what it is doing"? | 07:23:46 |
kenran_ | Ah, something has happened right now, the evaluations were probably just taking a long time (or the restart of my server actually changed something). | 07:27:42 |
kenran_ | But only the declarative example is working, the imperative one stays at 0%. That's not as important for me though. | 07:28:08 |
kenran_ | Got it, the branch nixos-18.03 doesn't exist anymore! | 07:41:47 |
kenran_ | (I updated the wiki accordingly :)) | 08:48:31 |
kenran_ | * (I updated the wiki accordingly) | 08:48:46 |
kenran_ | But phew, I keep having new questions, sorry for all the text:
- I noticed (after a couple of trivial builds) that
/var/lib/hydra/scm is already at 14GB, (this is a small testing machine with only 20GB of disk space). Is there documentation about what goes where and how to clean it up?
- Are these files maybe the
nixpkgs variants that are pulled when building? If so, are they garbage-collected at some point?
| 08:59:58 |
das_j | In reply to @kenran_:matrix.org
But phew, I keep having new questions, sorry for all the text:
- I noticed (after a couple of trivial builds) that
/var/lib/hydra/scm is already at 14GB, (this is a small testing machine with only 20GB of disk space). Is there documentation about what goes where and how to clean it up?
- Are these files maybe the
nixpkgs variants that are pulled when building? If so, are they garbage-collected at some point?
There is a button to clean the SCM cache in the admin menu. It should contain all SCM repos like git that are input of any evaluations | 09:06:10 |
das_j | It's git repos so you can probably clean them with git commands as the appropriate user but I haven't ever done this | 09:06:35 |
kenran_ | Ah thanks, I can't see that right now, as the disk ran full and thus I couldn't access the web interface anymore :D | 09:06:51 |
das_j | But 14GB is strange… we have been using Hydra for a couple of years now and we only have 9GB | 09:07:34 |
kenran_ | But is it normal that this escalates that quickly w.r.t. disk usage? https://github.com/NixOS/hydra/issues/421 shows a value of 20GB for a much bigger thing. | 09:07:49 |
das_j | In reply to @kenran_:matrix.org But is it normal that this escalates that quickly w.r.t. disk usage? https://github.com/NixOS/hydra/issues/421 shows a value of 20GB for a much bigger thing. That's from 2016 btw… that's pretty old in Hydra terms ;) | 09:08:42 |
kenran_ | Ok, thanks, seems like it isn't normal then. I read somewhere that dumps could be quite big if they happen. | 09:08:46 |
kenran_ | In reply to @janne.hess:helsinki-systems.de That's from 2016 btw… that's pretty old in Hydra terms ;) Haha yes, but still: they have 100+GB of logs, I have KBs | 09:09:03 |