TVHeadend Keeps Asking For a Password
Added by John Benson over 7 years ago
I am using LibreELEC on my Wetek Play 2 and after installing TVHeadend and getting most of the way through seting it up, it started asking for a password after I came back to it on my PC, but what ever i put in it will not start up.
I have no experience of using putty etc i was wondering if there is an easy way of either resetting TVHeadend, adding a password without starting it or removing it completely so I can start again.
Or is there a writeup that would run me through the reset process
I have tried uninstalling it and tried installing 4 and 4.2 but it still asks for the password
Replies (5)
RE: TVHeadend Keeps Asking For a Password - Added by Star Scream over 7 years ago
From the FAQ [[https://tvheadend.org/projects/tvheadend/wiki/Faq]]:
"Help! I can’t login to the web user interface.
If you build Tvheadend from source and just execute it, it won’t let anyone in. The rationale behind this is that we think it is bad to have services running with wide open administrative access.
If you start Tvheadend with the ‘-C’ argument. A default user with no user-name or password will be created. Make sure that you later edit this via the Configuration / Access control tab in the web ui.
If you start Tvheadedn with the '--noacl' argument, all Access Control will be removed and you can setup required users via Configuration / Access control tab.
If you installed the Tvheadend debian package you should have been asked for a superuser username + password during the install. This super user account can not be modified from within Tvheadend itself. If you want to change it, you need to reconfigure the Debian package. To do that, execute the following line in a command prompt:
sudo dpkg-reconfigure tvheadend"
HTH
RE: TVHeadend Keeps Asking For a Password - Added by John Benson over 7 years ago
Thanks for the reply
I am using TVheadend on my Wetek Play 2 running LibreELEC, how do i login to that when i am normally using windows to access the TVHeadend and that will not let me start.
I don't understand how i can start it using -C, could you please give me a clue.
I can putty to the wetek Play 2 but the dpkg-reconfigure tvheadend does not work
RE: TVHeadend Keeps Asking For a Password - Added by Robert Cameron over 7 years ago
The reason the dpkg-reconfigure
doesn't work is because LibreELEC is not a real/full OS. You need to SSH in to the device, stop the Tvheadend service, and then manually start it with the -C
flag as the same user/group that Tvheadend normally runs as.
Unfortunately, I do not know how LE manages its services, nor which users/groups it assigns to Tvheadend. If you plan on using Tvheadend, please for everyone's sake (and your own sanity) stay away from LibreELEC.
RE: TVHeadend Keeps Asking For a Password - Added by John Benson over 7 years ago
Thanks for that Robert, i think you may be correct there.
RE: TVHeadend Keeps Asking For a Password - Added by i3laze _ over 7 years ago
Was tweaking the Access Control and came up with the same issue on LibreELEC..
Launching ./tvheadend -C didn't help - any changes weren't saved.
The reason was that TVheadend service was launched via "systemctl" with a specific configuration path.
I used "ps aux | grep headend" to figure out the folder and wipe it.
LibreELEC:~ # ps ax | grep headend 5354 root 0:00 /storage/.kodi/addons/service.tvheadend42/bin/tvheadend -B -C -u root -g video -c /storage/.kodi/userdata/addon_data/service.tvheadend42 LibreELEC:~ # systemctl stop service.tvheadend42 LibreELEC:~ # rm -R /storage/.kodi/userdata/addon_data/service.tvheadend42/