Linux http://localhost:9981/extjs.html is EMPTY
#1
I d/l'd TVH today. After entering a username and password during the download, those 2 were required when I ran (called) tvheadend from a terminal and opened a tab in Chrome and called TVH's webpage (http://localhost:9981/).

After the username and pw were entered correctly, the localhost:9981 came up but is empty, completely, except for the line in the URL of Chrome.

Terminal output:

Jun 07 20:17:49.563 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/home/mark/Videos". This can be changed from the web user interface.
Jun 07 20:17:49.563 [ ERROR] tcp: bind: *: Address already in use

Jun 07 20:17:49.563 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:6945 UID:1000 GID:1000, settings located in '/home/mark/.hts/tvheadend'

Anybody got a clue?
Reply
#2
How did you download, from where? Binary or source code (i.e. did you build it yourself)? And how did you install it?

Looks like something's screwed in the installation process - you're running it as yourself (mark/users) instead of the normal hts/video, plus the version 0.0.0~unknown suggests that something can't read a config file to work out what version it is (guessing a bit).
Reply
#3
The version info is embedded into the binary at compilation time, but only if its done from a git checkout (rather than a tarball etc..) so I'd guess its a self build.

I'm not sure why the UI is empty, but the fact that you get:

Jun 07 20:17:49.563 [ ERROR] tcp: bind: *: Address already in use

Tells us that this is probably not the only instance you have running. My guess is that the daemon instance that's automatically started by upstart/sysvinit after installation is already running and bound to the port. That though probably doesn't explain the blank UI. Maybe check that you aren't getting any errors within the browser.

You could also try accessing one of the non JS pages, http://localhost:9981/simple.html, maybe. Just to check if the server is running and listening etc.. But the fact you get a blank rather than 500/404 (other error code) probably implies this is a JS issue.

Adam
Reply
#4
Opening: http://localhost:9981/simple.html

shows:

Recorder log:
No entries

Yes, self-compiled, as I was not lucky enough to find the ubuntu/debian files first. When apt-get (Ubuntu pkg. install command) didn't have it in the repos, I tried self compiling. The terminal output from that is at: http://pastebin.com/Eh0GLz4v

Please have a quick look there. Should I un-compile? Is that even possible?
Reply
#5
I would install the official deb first and see if that helps, make sure you remove any traces of the stuff you built yourself.

Adam
Reply
#6
tvheadend installed? BUT: http://localhost:9981/extjs.htm still empty

mark@Lexington-19:~$ tvheadend
Jun 08 16:21:01.294 [ INFO]:charset: 71 entries loaded
Jun 08 16:21:01.295 [ INFO]:v4l: /dev/video0: uvcvideo UVC Camera (046d:0807) usb-0000:00:02.1-4 capabilities: 0x04000001
Jun 08 16:21:01.295 [ INFO]:v4l: /dev/video0: Input #0: Camera 1 (Camera), audio:0x0, tuner:0, standard:0000000000000000,
Jun 08 16:21:01.295 [ INFO]:v4l: /dev/video0: Format #0: YUV 4:2:2 (YUYV) [YUYV]
Jun 08 16:21:01.295 [ INFO]:v4l: /dev/video0: Format #1: MJPEG [MJPG] (compressed)
Jun 08 16:21:01.295 [WARNING]:v4l: /dev/video0: Device does not have a tuner, device skipped
Jun 08 16:21:01.306 [ INFO]:CSA: Using SSE2 128bit parallel descrambling
Jun 08 16:21:01.306 [ INFO]:epggrab: module eit created
Jun 08 16:21:01.307 [ INFO]:epggrab: module uk_freesat created
Jun 08 16:21:01.307 [ INFO]:epggrab: module uk_freeview created
Jun 08 16:21:01.307 [ INFO]:epggrab: module viasat_baltic created
Jun 08 16:21:01.309 [ INFO]:epggrab: module opentv-ausat created
Jun 08 16:21:01.309 [ INFO]:epggrab: module opentv-skyit created
Jun 08 16:21:01.309 [ INFO]:epggrab: module opentv-skyuk created
Jun 08 16:21:01.315 [ INFO]:epggrab: module pyepg created
Jun 08 16:21:01.315 [ INFO]:epggrab: module xmltv created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_fr created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_dtv_la created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_se_swedb created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_dk_dr created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_nl created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_uk_bleb created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_il created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_ar created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_fi created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_za created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_hr created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_is created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_es_laguiatv created
Jun 08 16:21:04.031 [ INFO]:epggrab: module /usr/bin/tv_grab_fi_sv created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_uk_rt created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_ch_search created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_na_dd created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_fr_kazer created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_in created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_eu_epgdata created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_huro created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_es_miguiatv created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_combiner created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_ee created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_pt_meo created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_no_gfeed created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_it created
Jun 08 16:21:04.032 [ INFO]:epggrab: module /usr/bin/tv_grab_pt created
Jun 08 16:21:04.032 [ INFO]:epgdb: loaded v2
Jun 08 16:21:04.032 [ INFO]:epgdb: channels 0
Jun 08 16:21:04.032 [ INFO]:epgdb: brands 0
Jun 08 16:21:04.032 [ INFO]:epgdb: seasons 0
Jun 08 16:21:04.032 [ INFO]:epgdb: episodes 0
Jun 08 16:21:04.032 [ INFO]:epgdb: broadcasts 0
Jun 08 16:21:04.032 [ INFO]:dvr: Creating new configuration ''
Jun 08 16:21:04.032 [WARNING]:dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/home/mark/Videos". This can be changed from the web user interface.
Jun 08 16:21:04.033 [ NOTICE]:START: HTS Tvheadend version 3.4~precise started, running as PID:5513 UID:1000 GID:1000, settings located in '/home/mark/.hts/tvheadend'
Jun 08 16:21:04.821 [ INFO]:AVAHI: Service 'Tvheadend' successfully established.
^CJun 08 16:22:42.000 [ INFO]:epgdb: saved
Jun 08 16:22:42.000 [ INFO]:epgdb: brands 0
Jun 08 16:22:42.000 [ INFO]:epgdb: seasons 0
Jun 08 16:22:42.000 [ INFO]:epgdb: episodes 0
Jun 08 16:22:42.000 [ INFO]:epgdb: broadcasts 0
Reply
#7
Is there some reason for starting it from the command line as yourself, instead of sudo service tvheadend start (assuming a 'buntu derivative)? Have you tried running it as a service under hts/videos, since you're inevitably heading for adapter problems unless you've specifically addressed that...?
Reply
#8
I suggest opening the Developer tools in Chrome and look for any errors in the console tab. If you see anything, paste it here.
Reply

Logout Mark Read Team Forum Stats Members Help
http://localhost:9981/extjs.html is EMPTY0