XBian tvheadend package
|
20th Nov, 2013, 09:45 PM
Post: #16
|
|||
|
|||
RE: XBian tvheadend package
Hi guys,
I just got closer to my RasPi and installed the TVHeadEnd package. But the server doesn't work. I tried to get to ip_address:9981. Nothing happened. What should I do? Here is the content of the only file in the TVHeadEnd directory: Terminal xbian@xbian ~/.hts/tvheadend/accesscontrol $ cat 1 { "enabled": 1, "username": "xbian", "password": "raspberry", "comment": "Default access entry", "prefix": "0.0.0.0/24", "streaming": 1, "dvr": 1, "dvrallcfg": 1, "webui": 1, "admin": 1, "id": "1" } Edit 1: Well, I managed to start TVHeadEnd by using the following command in shell: Code: xbian@xbian ~ $ sudo start tvheadend What I'm doing wrong now and why isn't TVHeadEnd starting on reboot? Thanks. |
|||
20th Nov, 2013, 11:40 PM
Post: #17
|
|||
|
|||
RE: XBian tvheadend package
(20th Nov, 2013 09:45 PM)starous Wrote: See my previous post: replace "prefix": "0.0.0.0/24", by "prefix": "0.0.0.0/0,::/0" |
|||
20th Nov, 2013, 11:53 PM
Post: #18
|
|||
|
|||
RE: XBian tvheadend package
(20th Nov, 2013 11:40 PM)Killerbee Wrote:(20th Nov, 2013 09:45 PM)starous Wrote: Hi, I have tried this, but it didn't help |
|||
21st Nov, 2013, 12:04 AM
Post: #19
|
|||
|
|||
RE: XBian tvheadend package
(20th Nov, 2013 11:53 PM)starous Wrote: Hi, Did you check the file permissions of the ~/.hts/tvheadend/accesscontrol/1 file? It needs to be owned by xbian and it should have read/write permission. By the way the file needs to be in the /home/xbian directory. Not in /root KB |
|||
21st Nov, 2013, 12:09 AM
Post: #20
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 12:04 AM)Killerbee Wrote:(20th Nov, 2013 11:53 PM)starous Wrote: Hi, It seems that it has the right permission Terminal xbian@xbian ~/.hts/tvheadend/accesscontrol $ ls -l celkem 4 -rw-r--r-- 1 xbian xbian 291 lis 20 13:07 1 xbian@xbian ~/.hts/tvheadend/accesscontrol $ And it's location is in /home/xbian/.hts/tvheadend/accesscontrol |
|||
21st Nov, 2013, 12:36 AM
Post: #21
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 12:09 AM)starous Wrote: It seems that it has the right permission what does ps -ef | grep tvheadend show? |
|||
21st Nov, 2013, 12:44 AM
Post: #22
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 12:36 AM)Killerbee Wrote: what does ps -ef | grep tvheadend show? Terminal xbian@xbian ~ $ ps -ef | grep tvheadend xbian 9619 1 0 15:35 ? 00:00:00 tvheadend -f -u xbian -g video xbian 10216 10094 0 15:42 pts/0 00:00:00 grep --color=auto tvheadend and permissions are Terminal drwxr-xr-x 1 xbian xbian 18 lis 19 21:21 .hts |
|||
21st Nov, 2013, 12:54 AM
Post: #23
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 12:44 AM)starous Wrote: Looks good to me. Maybe you could try this. Terminal stop tvheadend now run tvheadend manually. So without the start command but with -C Terminal tvheadend -C Hit CTRL C to stop tvheadend Now start tvheadend with the start command Terminal start tvheadend KB |
|||
21st Nov, 2013, 01:05 AM
Post: #24
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 12:54 AM)Killerbee Wrote:(21st Nov, 2013 12:44 AM)starous Wrote: Thanks, it helped. Few more questions: Will it work properly even after setting the user name and password? Will it start on reboot? Is it normal that I need to use the sudo command to start or stop the service, when I have permissions as xbian? |
|||
21st Nov, 2013, 01:14 AM
Post: #25
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 01:05 AM)starous Wrote: Thanks, it helped. Hold your horses I am not an expert First off all. Are you able to access tvheadend in your browser now with user xbian password raspberry? To answer your question about start on reboot: I am facing the same issue. I have to dig into it myself. It seems to be an upstart script issue. I am new to upstart. Regarding "sudo start tvheadend": yes as far as I know sudo is normal in this situation. Since only "root" is allowed to start any daemon. KB |
|||
21st Nov, 2013, 01:32 AM
Post: #26
|
|||
|
|||
RE: XBian tvheadend package
(21st Nov, 2013 01:14 AM)Killerbee Wrote: Hold your horses I am not an expert Accessing with xbian:raspberry is working. Awesome. When you get an answer for the start after reboot, let me know |
|||
21st Nov, 2013, 07:26 AM
Post: #27
|
|||
|
|||
RE: XBian tvheadend package
if you upgrade to version 1.0.1b of tvheadend package, it should auto start on reboot (it is fixing startup script). also, with this version tvheadend is added into services list of xbian-config and should be controllable through xbian-config (ssh and/or XBMC version).
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
23rd Nov, 2013, 03:01 AM
Post: #28
|
|||
|
|||
XBian tvheadend package
(21st Nov, 2013 07:26 AM)mk01 Wrote: if you upgrade to version 1.0.1b of tvheadend package, it should auto start on reboot (it is fixing startup script). also, with this version tvheadend is added into services list of xbian-config and should be controllable through xbian-config (ssh and/or XBMC version). Well, it seems that there is a problem. I've updated to 1.0.1b and my tvheadend stop working again. I've looked into file 1 and its content was Terminal { "enabled": 1, "username": "xbian", "password": "raspberry", "comment": "Default access entry", "prefix": "0.0.0.0/24", "streaming": 1, "dvr": 1, "dvrallcfg": 1, "webui": 1, "admin": 1, "id": "1" } And this time tvheadend -C didn't help. |
|||
23rd Nov, 2013, 03:40 AM
Post: #29
|
|||
|
|||
RE: XBian tvheadend package
(23rd Nov, 2013 03:01 AM)starous Wrote:(21st Nov, 2013 07:26 AM)mk01 Wrote: if you upgrade to version 1.0.1b of tvheadend package, it should auto start on reboot (it is fixing startup script). also, with this version tvheadend is added into services list of xbian-config and should be controllable through xbian-config (ssh and/or XBMC version). mk01 forgot to modify this part (probably so did you).... Code: See my previous post: @mk01 Could please update the prefix in the configuration file? Version 3.5 requires this new prefix. Also we have to run tvheadend -C once to make it work. Could you please add tvheadend -C to the installation script (and kill it)? Thanks |
|||
23rd Nov, 2013, 05:14 AM
Post: #30
|
|||
|
|||
XBian tvheadend package
So, I managed to fix the tvheadend server on my XBian, but it still doesn't start on reboot
|
|||
« Next Oldest | Next Newest »
|