Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - TVHeadend

Featured Replies

Hi,

 

i've updated today to the latest Version of TvHeadend. After that, TvHeadend doesn't start up.

I don't know the Problem.

 

I've removed the docker image and rolled back to the previous Docker container by running this command:

 

docker run -d --name="tvheadend" --net="bridge" -e TZ="Europe/Berlin" -e HOST_OS="unRAID" -e "PGID"="100" -e "PUID"="99" -p 9981:9981/tcp -p 9982:9982/tcp -v "/mnt/user/appdata/tvheadend":"/config":rw -v "/mnt/user/Aufnahmen/":"/recordings":rw -v "/mnt/user/appdata/tvheadend/logos":"/logos":rw --device=/dev/dvb/ linuxserver/tvheadend:29

 

 

Thanks,

chvb

 

I have no problem with tvheadend not starting here. Fresh pull and fresh appdata folder.

What is the output of the log in the docker page?

  • Replies 1.3k
  • Views 315.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • You need to install the driver to use your adapter. Then use /dev/dvb as the path for the device pass through. If you are using 6.9.x I don't know if the permissions are set correctly, so make sure no

  • Thanks man, I'm just playing around with TV stuff so I'll try it here. 

  • I tried WG+ but in the end I gave up, purely because it's too complicated and too cumbersome. I got it working, but it wasn't reliable and you have to rebuild the first search index relatively frequen

Posted Images

this is the error from the log.

 

ErrorWarningSystemArrayLogin


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/index.php/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2016-10-09 15:47:58.334 [ INFO] main: Log started
2016-10-09 15:47:58.336 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-10-09 15:47:58.337 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-10-09 15:47:58.337 [ ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP

2016-10-09 15:47:58.337 [ ERROR] satips: using Google lookup (might block the task until timeout)

2016-10-09 15:47:58.369 [ INFO] satips: Starting SAT>IP RTSP server 172.17.0.9:9983
2016-10-09 15:47:58.369 [ INFO] satips: SAT>IP Server initialized
2016-10-09 15:47:58.369 [ INFO] satips: HTTP 172.17.0.9:9981, RTSP 172.17.0.9:9983
2016-10-09 15:47:58.369 [ INFO] satips: descramble 1, muxcnf 0
2016-10-09 15:47:58.395 [ INFO] config: backup: migrating config from 4.1-2249~g747ed01 (running 4.1-2267~g6efcfd2)
2016-10-09 15:47:58.395 [ INFO] config: backup: running, output file /config/backup/4.1-2249~g747ed01.tar.bz2
2016-10-09 15:47:58.395 [ INFO] spawn: Executing "/bin/tar"
2016-10-09 15:48:12.800 [ INFO] config: backup: completed
2016-10-09 15:48:12.815 [ ERROR] START: filename /config/channel/config/config.tmp is invalid

2016-10-09 15:48:12.825 [ INFO] main: Log started
2016-10-09 15:48:12.827 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-10-09 15:48:12.828 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-10-09 15:48:12.828 [ ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP

2016-10-09 15:48:12.828 [ ERROR] satips: using Google lookup (might block the task until timeout)

2016-10-09 15:48:12.867 [ INFO] satips: Starting SAT>IP RTSP server 172.17.0.9:9983
2016-10-09 15:48:12.867 [ INFO] satips: SAT>IP Server initialized
2016-10-09 15:48:12.867 [ INFO] satips: HTTP 172.17.0.9:9981, RTSP 172.17.0.9:9983
2016-10-09 15:48:12.867 [ INFO] satips: descramble 1, muxcnf 0
2016-10-09 15:48:12.886 [ INFO] config: backup: migrating config from 4.1-2249~g747ed01 (running 4.1-2267~g6efcfd2)
2016-10-09 15:48:12.886 [ INFO] config: backup: running, output file /config/backup/4.1-2249~g747ed01.tar.bz2
2016-10-09 15:48:12.887 [ INFO] spawn: Executing "/bin/tar"
2016-10-09 15:48:27.192 [ INFO] config: backup: completed
2016-10-09 15:48:27.208 [ ERROR] START: filename /config/channel/config/config.tmp is invalid

2016-10-09 15:48:27.219 [ INFO] main: Log started
2016-10-09 15:48:27.221 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-10-09 15:48:27.222 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-10-09 15:48:27.222 [ ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP

2016-10-09 15:48:27.222 [ ERROR] satips: using Google lookup (might block the task until timeout)

2016-10-09 15:48:27.254 [ INFO] satips: Starting SAT>IP RTSP server 172.17.0.9:9983
2016-10-09 15:48:27.254 [ INFO] satips: SAT>IP Server initialized
2016-10-09 15:48:27.254 [ INFO] satips: HTTP 172.17.0.9:9981, RTSP 172.17.0.9:9983
2016-10-09 15:48:27.254 [ INFO] satips: descramble 1, muxcnf 0
2016-10-09 15:48:27.286 [ INFO] config: backup: migrating config from 4.1-2249~g747ed01 (running 4.1-2267~g6efcfd2)
2016-10-09 15:48:27.286 [ INFO] config: backup: running, output file /config/backup/4.1-2249~g747ed01.tar.bz2
2016-10-09 15:48:27.286 [ INFO] spawn: Executing "/bin/tar"

this is the error from the log.

 

ErrorWarningSystemArrayLogin


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/index.php/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2016-10-09 15:47:58.334 [ INFO] main: Log started
2016-10-09 15:47:58.336 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-10-09 15:47:58.337 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-10-09 15:47:58.337 [ ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP

2016-10-09 15:47:58.337 [ ERROR] satips: using Google lookup (might block the task until timeout)

2016-10-09 15:47:58.369 [ INFO] satips: Starting SAT>IP RTSP server 172.17.0.9:9983
2016-10-09 15:47:58.369 [ INFO] satips: SAT>IP Server initialized
2016-10-09 15:47:58.369 [ INFO] satips: HTTP 172.17.0.9:9981, RTSP 172.17.0.9:9983
2016-10-09 15:47:58.369 [ INFO] satips: descramble 1, muxcnf 0
2016-10-09 15:47:58.395 [ INFO] config: backup: migrating config from 4.1-2249~g747ed01 (running 4.1-2267~g6efcfd2)
2016-10-09 15:47:58.395 [ INFO] config: backup: running, output file /config/backup/4.1-2249~g747ed01.tar.bz2
2016-10-09 15:47:58.395 [ INFO] spawn: Executing "/bin/tar"
2016-10-09 15:48:12.800 [ INFO] config: backup: completed
2016-10-09 15:48:12.815 [ ERROR] START: filename /config/channel/config/config.tmp is invalid

2016-10-09 15:48:12.825 [ INFO] main: Log started
2016-10-09 15:48:12.827 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-10-09 15:48:12.828 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-10-09 15:48:12.828 [ ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP

2016-10-09 15:48:12.828 [ ERROR] satips: using Google lookup (might block the task until timeout)

2016-10-09 15:48:12.867 [ INFO] satips: Starting SAT>IP RTSP server 172.17.0.9:9983
2016-10-09 15:48:12.867 [ INFO] satips: SAT>IP Server initialized
2016-10-09 15:48:12.867 [ INFO] satips: HTTP 172.17.0.9:9981, RTSP 172.17.0.9:9983
2016-10-09 15:48:12.867 [ INFO] satips: descramble 1, muxcnf 0
2016-10-09 15:48:12.886 [ INFO] config: backup: migrating config from 4.1-2249~g747ed01 (running 4.1-2267~g6efcfd2)
2016-10-09 15:48:12.886 [ INFO] config: backup: running, output file /config/backup/4.1-2249~g747ed01.tar.bz2
2016-10-09 15:48:12.887 [ INFO] spawn: Executing "/bin/tar"
2016-10-09 15:48:27.192 [ INFO] config: backup: completed
2016-10-09 15:48:27.208 [ ERROR] START: filename /config/channel/config/config.tmp is invalid

2016-10-09 15:48:27.219 [ INFO] main: Log started
2016-10-09 15:48:27.221 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2016-10-09 15:48:27.222 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2016-10-09 15:48:27.222 [ ERROR] satips: use --satip_bindaddr parameter to select the local IP for SAT>IP

2016-10-09 15:48:27.222 [ ERROR] satips: using Google lookup (might block the task until timeout)

2016-10-09 15:48:27.254 [ INFO] satips: Starting SAT>IP RTSP server 172.17.0.9:9983
2016-10-09 15:48:27.254 [ INFO] satips: SAT>IP Server initialized
2016-10-09 15:48:27.254 [ INFO] satips: HTTP 172.17.0.9:9981, RTSP 172.17.0.9:9983
2016-10-09 15:48:27.254 [ INFO] satips: descramble 1, muxcnf 0
2016-10-09 15:48:27.286 [ INFO] config: backup: migrating config from 4.1-2249~g747ed01 (running 4.1-2267~g6efcfd2)
2016-10-09 15:48:27.286 [ INFO] config: backup: running, output file /config/backup/4.1-2249~g747ed01.tar.bz2
2016-10-09 15:48:27.286 [ INFO] spawn: Executing "/bin/tar"

 

Looks like there is something wrong with your config. Try renaming  /config/channel/config/config.tmp to something else and then start tvheadend again.

I've removed /config/channel/config/config.tmp and /config/channel/config/tag.tmp

 

after that, i have removed the backups under /backup

 

after a restart of the container, tvheadend works. I think there was a problem with the migrating of the data to newer version.

 

Thanks for the help!

I get execution error when trying to start tvheadend since updating to 6.2.1 a few days ago. My tvheadend docker also updated and is currently up to date.

 

I have "--device=/dev/dvb" in extra parameters, as per previous posts here.

 

Log.

Oct 12 20:49:28 Tower kernel: device veth6110b93 entered promiscuous mode

Oct 12 20:49:30 Tower kernel: docker0: port 6(veth6110b93) entered disabled state

Oct 12 20:49:30 Tower kernel: device veth6110b93 left promiscuous mode

Oct 12 20:49:30 Tower kernel: docker0: port 6(veth6110b93) entered disabled state

Oct 12 20:50:08 Tower kernel: device veth2d154a6 entered promiscuous mode

Oct 12 20:50:11 Tower kernel: docker0: port 6(veth2d154a6) entered disabled state

Oct 12 20:50:11 Tower kernel: device veth2d154a6 left promiscuous mode

Oct 12 20:50:11 Tower kernel: docker0: port 6(veth2d154a6) entered disabled state

 

Any help appreciated. 

I get execution error when trying to start tvheadend since updating to 6.2.1 a few days ago. My tvheadend docker also updated and is currently up to date.

 

I have "--device=/dev/dvb" in extra parameters, as per previous posts here.

 

Any help appreciated.

 

Did you update using the official LT way or did you use the DVB plugin?

Dammit I thought I did,  now I'm having some doubts.

 

I'll install dvb build and try again.

 

Thanks.

 

:o:-\::)

Working now, must have had a  moment of stupidity.

Dammit I thought I did,  now I'm having some doubts.

 

I'll install dvb build and try again.

 

Thanks.

 

:o:-\::)

Working now, must have had a  moment of stupidity.

 

Nice to know my DVB builds are integrating so well that people forget about them.  ;D

Yea, really appreciate your work. One question why can't the dvb drivers be included in the main unRAID build.

Yea, really appreciate your work. One question why can't the dvb drivers be included in the main unRAID build.

 

Mainly support, and LT (understandably) don't what to produce multiple different versions.

  • 2 weeks later...

I currently use the TVHeadEnd PlugIn (https://lime-technology.com/forum/index.php?topic=40704.90;topicseen)

 

If I wanted to migrate to the Docker, is there a way for me to preserve all my settings, recordings tec. I really don't want to start setting the whole thing up again.

 

Thanks

 

You should be able to copy your settings to the container.

Make the appdata folder for Tvheadend and point to that one when adding the container.

Could you do ls -la on the config folder you have now?

I was using tvheadend on Ubuntu and I'm trying to get it set up on unRAID along with all the other stuff I had running.  I have the basic functionality working but I'm running into an issue getting the guide data into tvheadend.  I'm using webgrab++ and think that is working properly. 

 

I seem to be missing the EPG modules tab from tvheadend. I tried all view levels and I'm logged into admin account.  Any idea what is going on with this or what I could have done to lose the tab?

 

Tvheadend.png.2ddcddf05b86b9963a422ca48a08942b.png

Configuration ==> General ==> Base ==> User interface level

 

I'm guessing it's set at basic....  ;)

Yup, and of course I only changed the view level on the individual pages...  :-[

 

Thanks!

Getting exceution error since the last update.

Getting exceution error since the last update.

 

Working fine here, and that is nowhere near enough information to help you.  Update to Unraid?  Update to TVH?  Have you got the DVB build installed this time?  Right DVB build?

 

The last time you reported this the logs weren't anything to do with TVH either so unless you give us something to go on there's nothing I can advise.  See the link in my sig regardiing docker help.

Sorry, just thought maybe there was a know issue.

 

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered blocking state

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

Nov 6 10:29:35 Tower kernel: device vethb0b3e01 entered promiscuous mode

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered blocking state

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered forwarding state

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

Nov 6 10:29:37 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

Nov 6 10:29:37 Tower kernel: device vethb0b3e01 left promiscuous mode

Nov 6 10:29:37 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

 

This is log just after I try to start tvheadend docker. When I try to start I get execution error no such container.

I'm running  unRAID Version: 6.3.0-rc3, DVB Version: LibreELEC which worked fine until last tvheadend docker update.

I have also this in  Extra parameter  --device=/dev/dvb

 

Just did force update.

Command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name="tvheadend" --net="bridge" -e TZ="Europe/London" -e HOST_OS="unRAID" -e "PGID"="100" -e "PUID"="99" -p 9981:9981/tcp -p 9982:9982/tcp -v "/mnt/disk6/appdata/tvheadend":"/config":rw -v "/mnt/disk6/tv-recordings":"/recordings":rw -v "/mnt/user":"/unraid":rw --device=/dev/dvb linuxserver/tvheadend

f54387c953a06e0db9bf1fc961eb8964f61f58bc846bd45f22053973ef8d6816

 

The command finished successfully!

 

Still getting same error.

 

Thank-you.

Sorry, just thought maybe there was a know issue.

 

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered blocking state

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

Nov 6 10:29:35 Tower kernel: device vethb0b3e01 entered promiscuous mode

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered blocking state

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered forwarding state

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

Nov 6 10:29:37 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

Nov 6 10:29:37 Tower kernel: device vethb0b3e01 left promiscuous mode

Nov 6 10:29:37 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

 

This is log just after I try to start tvheadend docker. When I try to start I get execution error no such container.

I'm running  unRAID Version: 6.3.0-rc3, DVB Version: LibreELEC which worked fine until last tvheadend docker update.

I have also this in  Extra parameter  --device=/dev/dvb

 

Just did force update.

Command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name="tvheadend" --net="bridge" -e TZ="Europe/London" -e HOST_OS="unRAID" -e "PGID"="100" -e "PUID"="99" -p 9981:9981/tcp -p 9982:9982/tcp -v "/mnt/disk6/appdata/tvheadend":"/config":rw -v "/mnt/disk6/tv-recordings":"/recordings":rw -v "/mnt/user":"/unraid":rw --device=/dev/dvb linuxserver/tvheadend

f54387c953a06e0db9bf1fc961eb8964f61f58bc846bd45f22053973ef8d6816

 

The command finished successfully!

 

Still getting same error.

 

Thank-you.

It's important to say where you get the error message. It's impossible for us to read your mind  ;)

Looks like it the error is in the webui of unraid when you start the container, so try removing tvheadend and delete the image and install it again.

Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered blocking state
Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state
Nov 6 10:29:35 Tower kernel: device vethb0b3e01 entered promiscuous mode
Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered blocking state
Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered forwarding state
Nov 6 10:29:35 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state
Nov 6 10:29:37 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state
Nov 6 10:29:37 Tower kernel: device vethb0b3e01 left promiscuous mode
Nov 6 10:29:37 Tower kernel: docker0: port 5(vethb0b3e01) entered disabled state

 

These aren't errors and aren't related to TVheadend....

 

If you check the link in my sig and read the post it will tell you how to get docker logs....  Although if the container doesn't exist as seems to be your problem then that's not relevant here.

OK I deleted the tvheadend docker image and reinstalled,  but I get the command failed, see below.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="tvheadend" --net="bridge" -e TZ="Europe/London" -e HOST_OS="unRAID" -e "PGID"="100" -e "PUID"="99" -p 9981:9981/tcp -p 9982:9982/tcp -v "/mnt/disk6/appdata/tvheadend":"/config":rw -v "/mnt/disk6/tv-recordings":"/recordings":rw -v "/mnt/user":"/unraid":rw --device=/dev/dvb linuxserver/tvheadend

0558fb8ef577336ebad4acabacb84b230dc7f6f5b30b7d0fa75ab5eea7c81e7a

/usr/bin/docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/dvb": lstat /dev/dvb: no such file or directory.

 

The command failed.

 

Also if I remove --device=/dev/dvb from extra parameters I can start tvheadend fine, but then it doesn't find any dvb devices.

 

If you read back through this thread you will see my earlier posts about similar problems. 

OK I deleted the tvheadend docker image and reinstalled,  but I get the command failed, see below.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="tvheadend" --net="bridge" -e TZ="Europe/London" -e HOST_OS="unRAID" -e "PGID"="100" -e "PUID"="99" -p 9981:9981/tcp -p 9982:9982/tcp -v "/mnt/disk6/appdata/tvheadend":"/config":rw -v "/mnt/disk6/tv-recordings":"/recordings":rw -v "/mnt/user":"/unraid":rw --device=/dev/dvb linuxserver/tvheadend

0558fb8ef577336ebad4acabacb84b230dc7f6f5b30b7d0fa75ab5eea7c81e7a

/usr/bin/docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/dvb": lstat /dev/dvb: no such file or directory.

 

The command failed.

 

Also if I remove --device=/dev/dvb from extra parameters I can start tvheadend fine, but then it doesn't find any dvb devices.

 

If you read back through this thread you will see my earlier posts about similar problems.

Post a screenshot from the unraid dvb plugin.

If you read back through this thread you will see my earlier posts about similar problems.

 

Your earlier problem was because you didn't install the DVB build so there were no drivers/firmware for your card.

 

Specifically this screen

 

HEF0EIG.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.