Bug #2252
closedAuthentication issue
100%
Description
This may be a duplicate of 2221 ?
With both 3.9.1330 and 3.9.1353 I fail to log in into web interface. What I try to do to fix this is:
- stop tvheadend
- sudo i to root account, then "su - hts" to hts account cd /home/hts/.hts/tvheadend ; rm r accesscontrol run "tvheadend C" to recreate all open access> now I can access the webinterface and do configuration. I add apersonal account there.
-
- stop tvheadend by "^C" (note, this often gives a segmentation fault:
...
2014-08-24 18:49:53.977 [ INFO] mpegts: 418 in KMS (0xd37070) - deleting
2014-08-24 18:49:53.977 [ INFO] mpegts: 130 in KMS (0xb62688) - deleting
2014-08-24 18:49:53.977 [ INFO] mpegts: 578 in KMS (0xd360b8) - deleting
Segmentation fault
...
Then start tvheadend via sudo /etc/init.d/tvheadend start. ps -ef shows:
hts 23663 1 1 18:50 ? 00:00:09 /usr/bin/tvheadend -f -u hts -g video -c /home/hts/.hts/tvheadend/
content of /home/hts/.hts/tvheadend/accesscontrol:
ls al /home/hts/.hts/tvheadend/accesscontrol/ 2 hts hts 4096 Aug 24 12:13 .
total 16
drwx-----
drwx------ 13 hts hts 4096 Aug 24 12:11 ..rwx----- 1 hts hts 318 Aug 24 12:13 8df33234830f4e7fba3bfb04a9445bc1rwx----- 1 hts hts 328 Aug 24 12:12 b1891cd836b09b09dd05962b925ca9c9
content of files:
root@raspberry03:/home/hts/.hts/tvheadend# cat /home/hts/.hts/tvheadend/accesscontrol/*
{
"index": 1,
"enabled": true,
"username": "sebas",
"password2": "VFZIZWFkZW5kLUhpZGUtKg==",
"prefix": "0.0.0.0/32",
"streaming": true,
"adv_streaming": false,
"dvr": false,
"dvrallcfg": true,
"webui": true,
"admin": true,
"tag_only": false,
"channel_min": 0,
"channel_max": 0,
"comment": "New entry"
}
{
"index": 2,
"enabled": true,
"username": "*",
"password2": "VFZIZWFkZW5kLUhpZGUtKg==",
"prefix": "0.0.0.0/0,::/0",
"streaming": true,
"adv_streaming": true,
"dvr": true,
"dvrallcfg": false,
"webui": true,
"admin": true,
"tag_only": false,
"channel_min": 0,
"channel_max": 0,
"comment": "Default access entry"
}
Still I now can not log into web interface, invalid username is reported by browser. I tried to add other accounts with different username/passwod configs but it stays all the same. Messages in daemon.log are simply:
Aug 24 19:06:37 raspberry03 tvheadend23663: HTTP: 192.168.2.100: /extjs.html -- 401
Any idea?
Files