Locked out of config
Added by Scooby Juna over 7 years ago
Hi all,
With lots of help from Mark Clarkstone I have a lovely TVHE server running on Debian.
All is well - but I have been locked out of the config as the web interface doesn't recognise my username or password.
Very strange - so I connected via putty and used the commannd sudo dpkg-reconfigure tvheadend
I re-entered my username and password, rebooted the server
I'm still not able to login
Any ideas?
S
Replies (2)
RE: Locked out of config - Added by Mark Clarkstone over 7 years ago
Scooby Juna wrote:
Hi all,
With lots of help from Mark Clarkstone I have a lovely TVHE server running on Debian.
All is well - but I have been locked out of the config as the web interface doesn't recognise my username or password.
Very strange - so I connected via putty and used the commannd sudo dpkg-reconfigure tvheadend
I re-entered my username and password, rebooted the server.
Check the values of the superuser file.
sudo cat /home/hts/.hts/tvheadend/superuser.
I'm still not able to login
Use the incognito mode on the browser to rule out caching, otherwise modify the startup script to temporarily disable acl.
Copy these exactly
sudo sed -i 's/ARGS="-f"/ARGS="-f --noacl"/g' /etc/init.d/tvheadend sudo service tvheadend restart
Open up the webui & create yourself another account, with admin privileges, don't forget to add a password (using the password tab). Or remove the network prefix from the * account.
Revert the above lines to the start up script..
sudo sed -i 's/ARGS="-f --noacl"/ARGS="-f"/g' /etc/init.d/tvheadend sudo service tvheadend restart
Hopefully that'll help :p
Any ideas?
S
RE: Locked out of config - Added by Scooby Juna over 7 years ago
Thank you Mark, this has fixed it
Very strange
Check the values of the superuser file.
sudo cat /home/hts/.hts/tvheadend/superuser.
Did this and they were correct
Tried in-private browsing which didn't help
All sorted now.