Project

General

Profile

Broken WebUI (and no doubt other things)

Added by Lee Wilson almost 12 years ago

Hiya.

I have a nightmare of a time with my card setting it up, and my setup was a mess, so I thought now I have figured it out I would start again and do it cleanly.

so I ran

sudo service tvheadend stop
sudo aptitude purge tvheadend
sudo rm -rf /home/hts/.hts
sudo aptitude install tvheadend
sudo dpkg-reconfigure tvheadend

When I go to the WebUI I get

No data received
Unable to load the web page because the server sent no data.

Contents of ~/.hts/

.:
test.txt
tvheadend

./tvheadend:
dvbsatconf
epgdb.v2
superuser

./tvheadend/dvbsatconf:
_dev_dvb_adapter0_Montage_Technology_DS3000

./tvheadend/dvbsatconf/_dev_dvb_adapter0_Montage_Technology_DS3000:
1

I even tried building it, but that did not help either :(

hts@XBMC-PC:~/tv/tvheadend$ ./build.linux/tvheadend
Jan 16 08:12:26 [INFO]:charset: 71 entries loaded
Jan 16 08:12:26 [ALERT]:dvb: /dev/dvb/adapter0/frontend0: unable to open (err=Permission denied)
Jan 16 08:12:26 [ALERT]:v4l: Unable to open /dev/video0 -- Permission denied
Jan 16 08:12:26 [INFO]:CSA: Using SSE2 128bit parallel descrambling
Jan 16 08:12:26 [INFO]:epggrab: module eit created
Jan 16 08:12:26 [INFO]:epggrab: module uk_freesat created
Jan 16 08:12:26 [INFO]:epggrab: module uk_freeview created
Jan 16 08:12:26 [INFO]:epggrab: module viasat_baltic created
Jan 16 08:12:26 [INFO]:epggrab: module opentv-ausat created
Jan 16 08:12:26 [INFO]:epggrab: module opentv-skyit created
Jan 16 08:12:26 [INFO]:epggrab: module opentv-skyuk created
Jan 16 08:12:26 [INFO]:epggrab: module pyepg created
Jan 16 08:12:26 [INFO]:epggrab: module xmltv created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_eu_epgdata created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_eu_egon created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_ch_search created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_huro created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_es_laguiatv created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_ar created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_uk_rt created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_uk_bleb created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_combiner created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_fi created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_pt_meo created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_na_dd created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_it created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_se_swedb created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_se_tvzon created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_dk_dr created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_in created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_hr created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_za created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_il created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_fr_kazer created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_is created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_no_gfeed created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_fr created
Jan 16 08:12:28 [INFO]:epggrab: module /usr/bin/tv_grab_na_dtv created
Jan 16 08:12:28 [INFO]:epgdb: loaded v2
Jan 16 08:12:28 [INFO]:epgdb: channels 0
Jan 16 08:12:28 [INFO]:epgdb: brands 0
Jan 16 08:12:28 [INFO]:epgdb: seasons 0
Jan 16 08:12:28 [INFO]:epgdb: episodes 0
Jan 16 08:12:28 [INFO]:epgdb: broadcasts 0
Jan 16 08:12:28 [INFO]:dvr: Creating new configuration ''
Jan 16 08:12:28 [WARNING]:dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/home/hts". This can be changed from the web user interface.
Jan 16 08:12:28 [NOTICE]:START: HTS Tvheadend version 3.3.382~g2da44d4 started, running as PID:3339 UID:109 GID:117, settings located in '/home/hts/.hts/tvheadend'

Any help would be great.

S.


Replies (4)

RE: Broken WebUI (and no doubt other things) - Added by Lee Wilson almost 12 years ago

Ok I just tried.

Removed tvheadend (--purge)
removed hts user (and deleted /home/hts/)
removed PPA
added - https://launchpad.net/~jabbors/+archive/hts-stable
Installed tvheadend.

and its still not working :(

(I reverted back to the offical ppa after trying this)

RE: Broken WebUI (and no doubt other things) - Added by Adam Sutton almost 12 years ago

Can you enable debug logging (in /etc/default/tvheadend there should be a var that needs setting to 1). Then the debug will be placed in /var/log/{messages,syslog} (forget which). Either attach the entire file or grep all lines with tvh in them.

Also can you confirm which version you now have installed?

Also double check you don't have a rogue tvheadend process that's died but holding the port open.

And exactly how far do you get? I.e. do you get any of the UI displayed?

Adam

P.S.
Sorry some of those Qs are a bit out of order I didn't read through linearly ;)

RE: Broken WebUI (and no doubt other things) - Added by Lee Wilson almost 12 years ago

Ok I am getting somewhere, its a cookie issue (urgh) if I use CTRL + Shift + n in Chrome it loads fine.

So something somewhere has broken it on my box (CTRL + F5 didnt shake it either)

I purged all the cookies for 192.168.1.2 and it worked again.

Dont I feel stupid :(

thanks for the speedy reply though

RE: Broken WebUI (and no doubt other things) - Added by m 321liftoff over 11 years ago

I just now had this same problem, where Chrome would not allow the page to load, but opening an Incognito window loaded correctly. Clearing the cookies fixed the problem for me as well. Any thoughts on why this would happen? Was a cookie expiring but not refreshing properly?

    (1-4/4)