Hi,
ausführbar heißt eigentlich nur das die Datei permission.sh ausführbar gemacht werden muss. Das macht der Befehl chmod.
Und renderD128 liegt in /dev/dri/ warum das mitgeändert werden soll/muss weiß ich leider auch nicht.
Aber vielleicht kann @Ruschi da ja was zu sagen.
hab das nun mal durchgeführt, glaub ich. hat aber nix geändert.
Code
Last login: Sun Mar 31 10:10:50 2019 from 192.168.178.70
root@NAS:~# docker stop tvheadend
tvheadend
root@NAS:~# cd /usr/local/bin
root@NAS:/usr/local/bin# chmod a+x permissions.sh
root@NAS:/usr/local/bin# cd
root@NAS:~# docker start tvheadend
tvheadend
root@NAS:~#
im docker mal die containerdetails abgefragt fals hier der fehler bessser zu sehen ist.
Code
[
{
"Id": "d3ce4a80f13d101a57d7bd3c8a5df12c1caf5f5ac735295cc6e1d0df878700b7",
"Created": "2019-03-31T12:59:11.904872683Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "2019-03-31T13:03:27.037433931Z",
"FinishedAt": "2019-03-31T13:08:39.593933117Z"
},
"Image": "sha256:654bfa772da94b5e9a5f25e581596e6fbbc5c5f2005f43cad2c7b2950898fde2",
"ResolvConfPath": "/var/lib/docker/containers/d3ce4a80f13d101a57d7bd3c8a5df12c1caf5f5ac735295cc6e1d0df878700b7/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/d3ce4a80f13d101a57d7bd3c8a5df12c1caf5f5ac735295cc6e1d0df878700b7/hostname",
"HostsPath": "/var/lib/docker/containers/d3ce4a80f13d101a57d7bd3c8a5df12c1caf5f5ac735295cc6e1d0df878700b7/hosts",
"LogPath": "/var/lib/docker/containers/d3ce4a80f13d101a57d7bd3c8a5df12c1caf5f5ac735295cc6e1d0df878700b7/d3ce4a80f13d101a57d7bd3c8a5df12c1caf5f5ac735295cc6e1d0df878700b7-json.[definition='1','0']log[/definition]",
"Name": "/tvheadend",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/etc/localtime:/etc/localtime:ro",
"/sharedfolders/App Daten/TVHeadend:/config:rw",
"/sharedfolders/TVAufnahmen:/recordings:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host",
"PortBindings": {},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"label=disable"
],
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [
{
"PathOnHost": "/dev/dvb",
"PathInContainer": "/dev/dvb",
"CgroupPermissions": "rwm"
}
],
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": null,
"ReadonlyPaths": null
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/aa5340aa7113a2724d9c2ebc88d01a2f890ffa9b0ee17b5d6a1aa0871ec38944-init/diff:/var/lib/docker/overlay2/71555154456a1d73703a853e4a3e9012d1de32083954b16ac76dfaebaa63f6f4/diff:/var/lib/docker/overlay2/7c1f1fd00187e5948e261b830dfadfa9165660e878482f9dd862814908d7d342/diff:/var/lib/docker/overlay2/b7ad1fa09d8c6ef98005f51f61c167677776d820a8b8d8a31d7b64c030349015/diff:/var/lib/docker/overlay2/6f81bd330cf319de58fa8c3ec79529fdebd1447197a6879b83501236ebb41e30/diff:/var/lib/docker/overlay2/a20e2229ee7e0ad54d4fbe5e8c4ea504418cf33a5762eca17d5347476ec73b52/diff:/var/lib/docker/overlay2/7cb4e8241bf557b07249ed5cc17e1fa44e05ada35ff69e255a2aee9f587ca051/diff:/var/lib/docker/overlay2/2806bbc3b59c81e60307fa8e52b3e6063ceff31e4afccfa689cd37250ca4d23e/diff:/var/lib/docker/overlay2/0ff81d9d9992db30d90743b5a706fab9a9d543dcfcd8ec9381221af5b38f762a/diff:/var/lib/docker/overlay2/5fbfce3a6767f67b8416264e9728b77db245906337980ed43f4ccf4d90a36fa5/diff:/var/lib/docker/overlay2/6e21b356a248f95127a6bf63b9167df1f9804e3a670ff77a09914d4e1d64130c/diff:/var/lib/docker/overlay2/abbd51663e26af9c1a97cb87a26457cee4b1c9d568b1e990b09e3b5ac3335206/diff",
"MergedDir": "/var/lib/docker/overlay2/aa5340aa7113a2724d9c2ebc88d01a2f890ffa9b0ee17b5d6a1aa0871ec38944/merged",
"UpperDir": "/var/lib/docker/overlay2/aa5340aa7113a2724d9c2ebc88d01a2f890ffa9b0ee17b5d6a1aa0871ec38944/diff",
"WorkDir": "/var/lib/docker/overlay2/aa5340aa7113a2724d9c2ebc88d01a2f890ffa9b0ee17b5d6a1aa0871ec38944/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/sharedfolders/App Daten/TVHeadend",
"Destination": "/config",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/sharedfolders/TVAufnahmen",
"Destination": "/recordings",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/etc/localtime",
"Destination": "/etc/localtime",
"Mode": "ro",
"RW": false,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "NAS",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"9981/tcp": {},
"9982/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PGID=100",
"PUID=1000",
"TERM=xterm",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PS1=root@NAS:/$ ",
"HOME=/config"
],
"Cmd": null,
"Image": "linuxserver/tvheadend:latest",
"Volumes": {
"/config": {},
"/recordings": {}
},
"WorkingDir": "",
"Entrypoint": [
"/init"
],
"OnBuild": null,
"Labels": {
"MAINTAINER": "sparkyballs,TheLamer",
"build_version": "Linuxserver.io version:- 6bfeca6c-ls12 Build-date:- 2019-03-24T20:10:31-04:00",
"maintainer": "saarg",
"omv_docker_extra_args": "--device=/dev/dvb"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "8fd612c5ed7cb59e7d38699075515b978ea6e5d6a84be1bc4042dbe7a689bff5",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/default",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "2231c3948bcbd2ef644f6062b093b7d2b3c5c7f476c87ebda7db904581bfb194",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]
Alles anzeigen
und in den docker einstellungen auch nach den PUID und PGID geschaut.
Code
root@NAS:~# id matt48
uid=1000(matt48) gid=100(users) Gruppen=100(users),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),108(netdev),1000(matt48),1002(NASUser)
es bleibt dabei. keine TV Adapter. Bin alles aus dem Tread durchgegangen. Vielleicht neu machen? Vorher alles löschen?
Update: hab jetzt noch mal den Server komplett aus gemacht und vom Strom genommen. Keine Änderung