Project

General

Profile

Bug #3123

TVHeadend won't let me log in...

Added by Head End about 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2015-10-01
Due date:
% Done:

0%

Estimated time:
Found in version:
tvheadend: version 4.0.6-4~ge3e8a56
Affected Versions:

Description

Hi, I've used TVH for a long time, but now I've installed it on Debian 8 and initially I could log in and set everything up. But now i want to change something and it doesn't let me into the webgui even though I used the correct name/password. I am sure I did, I checked in the superusers file...
I've done a re-install, a purge and a reinstall, a reconfigure, deleted the HTS account folder followed by a reconfigure etc... all with the same result...

Anyone have a clue to why this is happening?

Thanks in advance...


Files

tvheadend.png (178 KB) tvheadend.png screenshot of browser (firefox) and terminal (konsole) Head End, 2015-10-01 23:58

History

#1

Updated by Paolo Roascio about 9 years ago

Try to start tvheadend with the -C option, so you can access without authentication. Then you can check your settings

#2

Updated by Head End about 9 years ago

Paolo Roascio wrote:

Try to start tvheadend with the -C option, so you can access without authentication. Then you can check your settings

I did that, and the first time it worked, now it doesn't anymore??? It still doesn't let me log in with the right credentials...

BTW, it's a clean install of Debian 8 Jessie, kernel 3.16.0-4-amd64

Tell me if you need some more info.

#3

Updated by Head End about 9 years ago

Output from: tvheadend -C

2015-10-01 23:47:59.770 [ INFO] main: Log started
2015-10-01 23:47:59.858 [ INFO] config: loaded
2015-10-01 23:47:59.964 [ INFO] scanfile: DVB-T - loaded 43 regions with 729 networks
2015-10-01 23:47:59.964 [ INFO] scanfile: DVB-S - loaded 1 regions with 92 networks
2015-10-01 23:47:59.964 [ INFO] scanfile: DVB-C - loaded 17 regions with 52 networks
2015-10-01 23:47:59.964 [ INFO] scanfile: ATSC - loaded 2 regions with 14 networks
2015-10-01 23:48:00.218 [ INFO] linuxdvb: adapter added /dev/dvb/adapter1
2015-10-01 23:48:00.575 [ INFO] linuxdvb: adapter added /dev/dvb/adapter0
2015-10-01 23:48:00.979 [ INFO] dvr: Creating new configuration ''
2015-10-01 23:48:00.979 [ INFO] epggrab: module eit created
2015-10-01 23:48:00.979 [ INFO] epggrab: module uk_freesat created
2015-10-01 23:48:00.979 [ INFO] epggrab: module uk_freeview created
2015-10-01 23:48:00.979 [ INFO] epggrab: module viasat_baltic created
2015-10-01 23:48:00.984 [ INFO] epggrab: module opentv-ausat created
2015-10-01 23:48:00.984 [ INFO] epggrab: module opentv-skynz created
2015-10-01 23:48:00.984 [ INFO] epggrab: module opentv-skyit created
2015-10-01 23:48:00.985 [ INFO] epggrab: module opentv-skyuk created
2015-10-01 23:48:00.987 [ INFO] epggrab: module pyepg created
2015-10-01 23:48:00.987 [ INFO] epggrab: module xmltv created
2015-10-01 23:48:00.989 [ INFO] spawn: Executing "/usr/bin/tv_find_grabbers"
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_combiner created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_no_gfeed created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_is created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_il created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_na_dd created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_in created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_hr created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_se_swedb created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_uk_bleb created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_fr_kazer created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_na_dtv created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_dk_dr created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_it created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_ar created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_se_tvzon created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_pt_meo created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_za created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_eu_egon created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_huro created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_eu_epgdata created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_fr created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_fi created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_ch_search created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_uk_rt created
2015-10-01 23:48:02.547 [ INFO] epggrab: module /usr/bin/tv_grab_es_laguiatv created
2015-10-01 23:48:02.548 [ INFO] xmltv: external socket enabled
2015-10-01 23:48:02.548 [ INFO] pyepg: external socket enabled
2015-10-01 23:48:02.562 [ INFO] epgdb: loaded v2
2015-10-01 23:48:02.562 [ INFO] epgdb: config 1
2015-10-01 23:48:02.562 [ INFO] epgdb: channels 0
2015-10-01 23:48:02.562 [ INFO] epgdb: brands 0
2015-10-01 23:48:02.562 [ INFO] epgdb: seasons 0
2015-10-01 23:48:02.562 [ INFO] epgdb: episodes 859
2015-10-01 23:48:02.562 [ INFO] epgdb: broadcasts 859
2015-10-01 23:48:02.563 [ NOTICE] START: HTS Tvheadend version 4.0.6-4~ge3e8a56 started, running as PID:1689 UID:1000 GID:1000, CWD:/home/bhr CNF:/home/bhr/.hts/tvheadend
2015-10-01 23:48:02.563 [ INFO] mpegts: 474MHz in freeview - tuning on Afatech AF9013 : DVB-T #0
2015-10-01 23:48:02.563 [ INFO] subscription: 0001: "epggrab" subscribing to mux "474MHz", weight: 4, adapter: "Afatech AF9013 : DVB-T #0", network: "freeview", service: "Raw PID Subscription"
2015-10-01 23:48:02.564 [ INFO] htsp: Got connection from 127.0.0.1
2015-10-01 23:48:02.564 [ INFO] htsp: 127.0.0.1: Welcomed client software: XBMC Media Center (HTSPv8)
2015-10-01 23:48:02.564 [ INFO] htsp: 127.0.0.1 [ XBMC Media Center ]: Identified as user xbmc
2015-10-01 23:48:02.565 [ INFO] htsp: 127.0.0.1 [ xbmc | XBMC Media Center ]: Privileges raised
2015-10-01 23:48:03.427 [ INFO] AVAHI: Service 'Tvheadend' successfully established.
2015-10-01 23:48:03.538 [WARNING] tot: invalid checksum (len 8, errors 1)
2015-10-01 23:48:03.538 [ ERROR] time: TOT - unable to update system time: Operation not permitted
2015-10-01 23:48:06.351 [WARNING] mpegts: mux 474MHz in freeview changed from DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 1/2:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:06.351 [WARNING] mpegts: mux 474MHz in freeview changed to DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 2/3:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:06.352 [WARNING] mpegts: mux 474MHz in freeview changed from DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 2/3:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:06.352 [WARNING] mpegts: mux 474MHz in freeview changed to DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 1/2:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:09.401 [ INFO] subscription: 0001: "epggrab" unsubscribing
2015-10-01 23:48:19.000 [ INFO] mpegts: 474MHz in freeview - tuning on Afatech AF9013 : DVB-T #0
2015-10-01 23:48:19.000 [ INFO] subscription: 0002: "scan" subscribing to mux "474MHz", weight: 5, adapter: "Afatech AF9013 : DVB-T #0", network: "freeview", service: "Raw PID Subscription"
2015-10-01 23:48:20.279 [WARNING] tot: invalid checksum (len 8, errors 1)
2015-10-01 23:48:22.355 [WARNING] mpegts: mux 474MHz in freeview changed from DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 1/2:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:22.355 [WARNING] mpegts: mux 474MHz in freeview changed to DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 2/3:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:22.356 [WARNING] mpegts: mux 474MHz in freeview changed from DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 2/3:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:22.356 [WARNING] mpegts: mux 474MHz in freeview changed to DVBT freq 474000000 bw 8MHz cons QAM/64 hier NONE code_rate 1/2:NONE guard 1/4 trans 8k plp_id -1
2015-10-01 23:48:22.569 [ INFO] htsp: 127.0.0.1 [ xbmc | XBMC Media Center ]: Disconnected
2015-10-01 23:48:22.569 [ INFO] htsp: Got connection from 127.0.0.1
2015-10-01 23:48:22.569 [ INFO] htsp: 127.0.0.1: Welcomed client software: XBMC Media Center (HTSPv8)
2015-10-01 23:48:22.569 [ INFO] htsp: 127.0.0.1 [ XBMC Media Center ]: Identified as user xbmc
2015-10-01 23:48:22.569 [ INFO] htsp: 127.0.0.1 [ xbmc | XBMC Media Center ]: Privileges raised
2015-10-01 23:48:30.357 [ INFO] mpegts: 474MHz in freeview scan complete
2015-10-01 23:48:30.357 [ INFO] subscription: 0002: "scan" unsubscribing

xbmc connects and plays tv... Then I open 127.0.0.1:9981, it asks me for a name/password even though I started with the -C option, output:

2015-10-01 23:51:04.160 [ ERROR] http: 127.0.0.1: HTTP/1.1 GET /extjs.html -- 401
2015-10-01 23:51:11.789 [ ERROR] http: 127.0.0.1: HTTP/1.1 GET /extjs.html -- 401

I hope this helps. Tell me if you need more.

Thanks.

#4

Updated by Jaroslav Kysela about 9 years ago

Try "--noacl" option, then change your password and try without this permissive option.

#5

Updated by Head End about 9 years ago

THANK YOU!

Starting with: 'tvheadend --noacl' worked! I have no clue why it didn't work before, as I could log in the first time, change the name/password and see them change in the 'superuser' file. So now I am a happy camper again!

I do have some general remarks though, but I will post then in the appropriate forum. In hindsight I think I should've posted this one there too, sorry for that.

Thanks once more for helping me so quick and good Jaroslav and Paolo!

#6

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed

Note that '--noacl' is not for standard usage (if you want use the users/passwords). The access checks are bypassed with this option.

Also available in: Atom PDF