Sundtek Support Forum

English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: ehfred10 am Februar 04, 2021, 01:02:41 Nachmittag

Titel: Sundtek docker unraid
Beitrag von: ehfred10 am Februar 04, 2021, 01:02:41 Nachmittag
Hello,

I'm running under unraid OS with tvheadend docker.

I've tried to follow the wiki (https://sundtek.de/wiki/index.php?title=Docker) without any success.

I've noticed an error in logs:

[ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0

Any kind of help would be greatly appreciated

Thank you,
Titel: Re: Sundtek docker unraid
Beitrag von: Sundtek am Februar 04, 2021, 07:59:05 Nachmittag
You will have to create the device nodes on the host before creating the docker, the documentation in the wiki is referring to Docker on a Synology NAS.
The nodes need to exist before you create and start a docker image because docker needs this to know which devices it should allow.

mkdir -p /dev/dvb/adapter0
mknod /dev/dvb/adapter0/frontend0 c 212 1
mknod /dev/dvb/adapter0/dvr0 c 212 5
mknod /dev/dvb/adapter0/demux0 c 212 3
mkdir -p /dev/dvb/adapter1
mknod /dev/dvb/adapter1/frontend0 c 212 7
mknod /dev/dvb/adapter1/dvr0 c 212 11
mknod /dev/dvb/adapter1/demux0 c 212 9
mkdir -p /dev/dvb/adapter2
mknod /dev/dvb/adapter2/frontend0 c 212 13
mknod /dev/dvb/adapter2/dvr0 c 212 17
mknod /dev/dvb/adapter2/demux0 c 212 15

so that was for the host, now in docker you have to install the driver like we've written in the wiki documentation.
Titel: Re: Sundtek docker unraid
Beitrag von: ehfred10 am Februar 04, 2021, 08:01:18 Nachmittag
Ok, thanks for your quick reply.

Do I have to run the setup on the host?
Titel: Re: Sundtek docker unraid
Beitrag von: Sundtek am Februar 04, 2021, 08:09:00 Nachmittag
I have updated the documentation a bit, yes the mknod commands have to be started on the native host (please read the updated documentation in the wiki). If something's unclear let me know so we can update it again.

I added some documentation about unraid
https://sundtek.com/wiki/index.php?title=Docker#Unraid

If there are any further issues just let us know.
Titel: Re: Sundtek docker unraid
Beitrag von: ehfred10 am Februar 04, 2021, 09:24:00 Nachmittag
Now the adapter is correctly configured and works like a charm...
Thank you for your help and the update of the wiki :)