I’m trying to set up murmur on my NixOS server. Murmur runs and I’m able to connect, but I can’t set the superuser password; t says that it succeeded, but I still couldn’t log into the SuperUser account. My murmur configuration looks like this:
If I manually locate murmurd (which is not on my path) and use -readsupw, it still doesn’t work. How would I go about making this persistent and actually getting it to work?
How I did it: cat /etc/systemd/system/murmur.service | grep ExecStart
returns ExecStart=/nix/store/...-murmur-1.2.19/bin/murmurd -ini /nix/store/...-murmurd.ini
which I use to run sudo -u murmur /nix/store/...-murmur-1.2.19/bin/murmurd -ini /nix/store/...-murmurd.ini -readsupw
I suppose there should be an easier way to do this.
In version >=1.2.4 the SuperUser password is generated automatically on the first server start. You can find it in the logfile. Search for an entry like <W>2013-09-03 11:23:44.516 1 => Password for 'SuperUser' set to 'supersecretpassword' . You can of course change this password.
I had problems connecting to the DB and running the commands. So what I did was, remove the murmur.sqlite file, set up the logfile with permissions to the user murmur, set the logFile in the Nix config, tail -f murmur.log in one terminal and systemctl restart murmur in another to see the password.