Project

General

Profile

WebUI access not working properly

Added by Nico Massenberg almost 12 years ago

Hello there,

I am using TVHeadend on a fresh Raspbmc installation, everything seemed to work fine. However, access controls only work when starting this way:

sudo /usr/local/bin/tvheadend -C

Then I changed the credentials via the WebUI / controls panel and checked them in accesscrontols/1 file. When starting TVH like this:

sudo /usr/local/bin/tvheadend -f

That way I cannot login with any credentials on any browser. A windows pops up saying that "tvheadend" needs my auth info but wont accept them. I have added a second user test/test, still no change.

Any idea on how to fix this?
Thanks.


Replies (5)

RE: WebUI access not working properly - Added by Nico Massenberg almost 12 years ago

Connecting to the TVH server with the credentials via XBMC add on works fine.

RE: WebUI access not working properly - Added by Nico Massenberg almost 12 years ago

Problem is still occuring .What am I doing wrong?

RE: WebUI access not working properly - Added by Prof Yaffle almost 12 years ago

Can you post your accesscontrol files here, do you think? I'll compare them with mine and see what's up... the only other thing I was wondering was the permissions when the daemon is running as normal, can it actually read the accesscontrol file?

RE: WebUI access not working properly - Added by Nico Massenberg almost 12 years ago

Hello Prof Yaffle,

thanks for your advice - you were right.
There were reading rights for the root user only and thus I had to run TVHeadend as following to login to the WebUI:

/usr/bin/tvheadend -f -u root -g root

Otherwise, the process runs from the user daemon.
Now everything works like a charm - thanks alot! Thread can be closed/markes solved.

RE: WebUI access not working properly - Added by Prof Yaffle almost 12 years ago

Probably safer to change the permissions so tvheadend/video can read the files and then run as that user... just seems cleaner than running as root, which is a bit of a blunt instrument. But glad you got it working, anyway!

    (1-5/5)