tvheadend on Manjaro. Can't login to localhost:9981
I installed TVHEADEND from the repositories (as well as the HPS-VLC plugin) in standard Manjar 64 bit. I have my 2 DVB-T2 sticks working in Kaffeine so I'm hoping to get them to work in TV-Headend.
I cannot login to the webpage.
tvheadend -f -u hts -g video -C does
[ ALERT]:START: setgroups() failed, do you have permission?
I did change the authorizations for hts and added it to video
How are you starting tvh? Are you issuing that command as a non-privileged user (e.g. as yourself)?
I have tried running it as myself and running it using su.
Can you run it as su with the command above, please - I don't know if Manjaro has the equivalent of sudo, so it might be su to root then 'tvheadend -f -u hts -g video'.
The -C is specifically:
-C, --firstrun If no user account exists then create one with
no username and no password. Use with care as
it will allow world-wide administrative access
to your Tvheadend installation until you edit
the access-control from within the Tvheadend UI
... so you shouldn't need that normally.
Once running, can you give me 'ps -eaf | grep tvheadend', please.
Also, su to hts and then check group membership with 'groups'.
While you're there, check that /home/hts/.hts/tvheadend/superuser exists and see what it includes - that's your main admin user (unless -C has killed it). Also, check permissions: if you've run tvheadend as root initially then the config files won't be properly accessible to hts. Most things in your config directory should be hts:video, superuser file is hts:hts.
And if there's a config directory in the root user's home directory, rename it to get it out of the way as well to make sure that's not being used.
The configuration created an empty user with your suggestion and I got it working.
Thank you very much.
Okay - thanks for reporting back.