[SOLVED] cannot access configuration through browser (port 9981 and others)
Added by Pep Franchesco over 6 years ago
Edit: It was a very dumb thing, I was typing "hostname" as indicated in the Kodi wiki guide instead of "localhost". About the local ip route, I don't know why but it was a different address than the one i used to acces my router configuration.
I just installed TVheadend into my Raspberry Pi 3 (raspbianstretch), through the mpmc repository.
Everything went presumably fine, registered my user and password into the terminal pseudo gui and now when I proceed to configure it into Chromium (also tried Chrome into another computer adding my IP), I just get "This site can’t be reached
hostname’s server DNS address could not be found."
Probably is some stupid mistake but I'm really a newb into all this networking stuff.
Also tried it with other ports (--htps_port and --http_port), with daemonizing (-u user and -f I think) and without daemonizing. I must say that in this later option always finds problems connecting to the ports in the terminal emulator (and in the plain terminal also), but when I do change them to other ports i also find the same problem connecting to them, but none in the terminal (port lines appear green).
I must also mention than sometimes when I first type the Tvheadend in the terminal, it appears as a second process (TVheadend #2), so maybe it is running automatically when i start the raspberry? This does not happen always. And I never find two instances of tvheadend in the task manager.
Thanks for your help.
PS: Forgot to mention, I always find this line marked red "2018-05-22 12:51:15.957 [ ERROR] access: No access entries loaded"
Replies (4)
RE: [HELP] cannot access configuration through browser (port 9981 and others) - Added by Mark Clarkstone over 6 years ago
During the install you should've been asked to enter a username and password, try logging in with that then create the access entries.
This sounds like a permissions problem. Make sure the user (by default it's hts) has access to the configuration folder & the correct permissions have been set. `ls -lah /home/hts/.hts/tvheadend`.
Don't run tvheadend with different users on the same config file.
RE: [HELP] cannot access configuration through browser (port 9981 and others) - Added by Pep Franchesco over 6 years ago
Hi, the thing is I just cannot even log in through the browser, I just find the DNS error. I think i found like three different users in my task manager relating to the processes of Tvheadend and Thd (or some other similar abbreviation) being "hts" as you mentioned, pi (which is the default user) and root. Even when root was there, I couldn't reach the page through the port, so i can't really say if it s a permission thing.
I'll try again what you suggested of setting the permissions.
pi@raspberrypi:~ $ ls -lah /home/hts/.hts/tvheadend total 40K drwxr-xr-x 6 hts hts 4.0K May 22 13:44 . drwxr-xr-x 3 hts hts 4.0K May 21 17:14 .. drwx------ 2 hts video 4.0K May 21 17:14 bouquet -rw------- 1 hts video 1.2K May 21 17:14 config drwx------ 3 hts video 4.0K May 21 17:14 dvr -rw------- 1 hts video 138 May 22 13:44 epgdb.v2 drwx------ 3 hts video 4.0K May 21 17:54 input -rw-r--r-- 1 hts video 22 May 22 13:44 .lock drwx------ 2 hts video 4.0K May 21 17:14 profile -rw------- 1 hts hts 41 May 21 17:14 superuser
RE: [HELP] cannot access configuration through browser (port 9981 and others) - Added by Mark Clarkstone over 6 years ago
You have a superuser file, login using the credentials in that file.
RE: [HELP] cannot access configuration through browser (port 9981 and others) - Added by Pep Franchesco over 6 years ago
Yeah, checked that file and that's the user I created during the install and was using to start the program with "tvheadend -u user".
when you mean log in you mean in the web based interface? Because I cannot get to that page, thats the problem. Only the typical DNS error page from the browser.
Will try to reinstall the program and report back.
Thanks for your support Mark!!
Edit:
Tried reinstalling with no luck so far, same access entries error and same DNS problem in Chromium (other native raspbian browsers say URL not found).
I'll try reinstalling a stable version instead of release.
Edit2: same result