Jump to content

jimmy898

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by jimmy898

  1. Working perfect here with docker (unraid-managed) and zero customs!
  2. Hello! Great development so far, I've switched both my backend and frontend to ABS. Just a note: when downloading an audiobook from my oneplus 8 (android 12), it triggers a fail notification related to the cover objects but it's misleading, if you launch a manual scan of the local folder it finds the covers and correctly apply. I'm sorry if it's a known issue, maybe I've missed the post with resolution.
  3. Same here with traefik, no issues at all
  4. My library follow the very same structure, is ready to go! Being able to apply the Metadata into the ID3 tags would be awsome, right now Calibre is a powefull tool in find the correct info among the web but when we talk about audiobooks there is no way to "export his knowledge". Bring his Embed Metadata tool in audiobookshelf would be a killing feature imho!
  5. Hi @advplyr. Thanks once again for the great app and his develpment. Right now I have my audiobook's library in Calibre, it works pretty well even with my italian editions. I'm struggling to find a way to embed metadata files into the files, unfortunately Calibre can't write the metadata from the .opf files into the ID3 MP3 tags. This means no info in my audiobook player (besides Title and Artist) ....so sad!! Do you think this could be a feature? Thanks in advance.
  6. Thanks @Squid! Just started looking around ... when I switch browsing to docker hub I can't install the container or even open the info:
  7. It works also removing servers.json. They already updated the :latest but even with the last commit I'm still facing the issue
  8. Bug open! https://github.com/qdm12/gluetun/issues/654 It seems we are not the only ones @monarc
  9. Hi everyone! last update broke my instance of Gluetun, the container seems in shutdown loop: 2021/09/30 09:59:05 INFO Shutdown successful 2021/09/30 09:59:06 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:06 INFO Shutdown successful 2021/09/30 09:59:06 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:06 INFO Shutdown successful 2021/09/30 09:59:07 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:07 INFO Shutdown successful 2021/09/30 09:59:09 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:09 INFO Shutdown successful 2021/09/30 09:59:11 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:11 INFO Shutdown successful 2021/09/30 09:59:15 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:15 INFO Shutdown successful 2021/09/30 09:59:22 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:22 INFO Shutdown successful 2021/09/30 09:59:35 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 09:59:35 INFO Shutdown successful 2021/09/30 10:00:01 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 10:00:01 INFO Shutdown successful 2021/09/30 10:00:53 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 10:00:53 INFO Shutdown successful 2021/09/30 10:01:54 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP 2021/09/30 10:01:54 INFO Shutdown successful 2021/09/30 10:02:54 ERROR cannot read servers from file: json: cannot unmarshal string into Go struct field ProtonvpnServer.protonvpn.servers.exit_ip of type []net.IP Anyone else with the same issue?
  10. Thanks for the hint! Just to be sure: the script should have the very same name of the container right? So if my container name is "zabbix-agent2", the starting script should be "/boot/config/plugins/ca.update.applications/scripts/starting/zabbix-agent2.sh". Right?
  11. This worked for me too. After the "fix" I have the same logs: [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-initialise-db: executing... [cont-init.d] 40-initialise-db: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. 210826 10:27:08 mysqld_safe Logging to '/config/databases/1e9a6a6ee3d8.err'. 210826 10:27:08 mysqld_safe Starting mariadbd daemon with databases from /config/databases
  12. Hi guys, it's a nab question but I'm stuck so... how can I change the script permissions (+x) in "/boot/config/plugins/ca.update.applications/scripts/starting/"? chmod it's not working: root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# ls -l total 8 -rw------- 1 root root 748 Aug 19 21:55 zabbix-agent2.sh root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# chmod +x zabbix-agent2.sh root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# ls -l total 8 -rw------- 1 root root 748 Aug 19 21:55 zabbix-agent2.sh thanks!
  13. Great idea! Right now I'm using Calibre also for audiobooks but a dedicated service it's missing, I'll follow this project
  14. I get the job done! thanks a lot. With [PLUGIN] CA APPLICATION AUTO UPDATE I've added a script that runs after the update at container start. It should automate the permissions fix. Core commands are: docker exec --user root zabbix-agent2 sh -c "addgroup -g 281 docker" docker exec --user root zabbix-agent2 sh -c "sed -i "s/docker:x:281:/docker:x:281:zabbix/g" /etc/group" About User Scripts I've already set up a script that populates files: sensors > /mnt/user/appdata/zabbix_agent/misc/scripts/temperatures_data apcaccess > /mnt/user/appdata/zabbix_agent/misc/scripts/ups_data Adding avolume binding "/var/local/:/var/local/" I'm able to use the template of @fabianonline (thans a lot!): https://git.schle.nz/fabian/unraid-zabbix_agent/raw/branch/main/zabbix_template.xml
  15. First of all great job! Thanks for the template and guidelines. I'm facing the same problem with the very same solution but I can't find a way to easily add the user "zabbix" into the group "docker" due to usermod command not installed. Am I missing something? I correctly create the group with: docker exec --user root zabbix-agent2 sh -c "addgroup -g 281 docker" Do you have any hint? Thank you!
  16. That's it, 1.21.2.3939-3945797bd version is the key! Thank @John_M Double checking Got HW Transcoding to work with libva/vaapi on Raden APU (Ryzen 7 4700U) I'm feeling an idiot, last 2 messages state the very same point. I will stay with this version hoping for future (maybe official) full HW transconding support from Plex Team.
  17. I'm aware of the current lack of support, unfortunately I'm too bound with Plex to switch torward Jellyfin 😔 For the moment I'll keep my hope and faith in Plex, but in case of switch your container will be the first option 100% Here below my template: <?xml version="1.0"?> <Container version="2"> <Name>PlexMediaServer</Name> <Repository>mauimauer/plex:jan2021-v2</Repository> <Registry>https://hub.docker.com/r/plexinc/pms-docker/</Registry> <Network>t2_proxy</Network> <MyIP/> <Shell>sh</Shell> <Privileged>false</Privileged> <Support>https://forums.plex.tv/categories/docker</Support> <Project>https://plex.tv/</Project> <Overview>Plex Media Server&#xD; &#xD; Enjoy your media on all your devices.&#xD; All your movie, TV Show, music, and photo collections at your fingertips, anywhere you go on all the devices you love.</Overview> <Category>MediaServer:Video MediaServer:Music MediaServer:Photos</Category> <WebUI>http://[IP]:[PORT:32400]/web</WebUI> <TemplateURL>https://raw.githubusercontent.com/plexinc/pms-docker/master/plex-unRAID.xml</TemplateURL> <Icon>https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png</Icon> <ExtraParams>-h JimmyPlex --device=/dev/dri</ExtraParams> <PostArgs/> <CPUset/> <DateInstalled>1613862768</DateInstalled> <DonateText/> <DonateLink/> <Description>Plex Media Server&#xD; &#xD; Enjoy your media on all your devices.&#xD; All your movie, TV Show, music, and photo collections at your fingertips, anywhere you go on all the devices you love.</Description> <Networking> <Mode>t2_proxy</Mode> <Publish> <Port> <HostPort>32400</HostPort> <ContainerPort>32400</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>3005</HostPort> <ContainerPort>3005</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>8324</HostPort> <ContainerPort>8324</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>32469</HostPort> <ContainerPort>32469</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>1900</HostPort> <ContainerPort>1900</ContainerPort> <Protocol>udp</Protocol> </Port> <Port> <HostPort>32410</HostPort> <ContainerPort>32410</ContainerPort> <Protocol>udp</Protocol> </Port> <Port> <HostPort>32412</HostPort> <ContainerPort>32412</ContainerPort> <Protocol>udp</Protocol> </Port> <Port> <HostPort>32413</HostPort> <ContainerPort>32413</ContainerPort> <Protocol>udp</Protocol> </Port> <Port> <HostPort>32414</HostPort> <ContainerPort>32414</ContainerPort> <Protocol>udp</Protocol> </Port> </Publish> </Networking> <Data> <Volume> <HostDir>/mnt/user/temp/</HostDir> <ContainerDir>/transcode</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/user/media/</HostDir> <ContainerDir>/data</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/user/personal/</HostDir> <ContainerDir>/private</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/user/appdata/PlexMediaServer</HostDir> <ContainerDir>/config</ContainerDir> <Mode>rw</Mode> </Volume> </Data> <Environment> <Variable> <Value>xxxxxxxxxxxxxxxxxxxx</Value> <Name>PLEX_CLAIM</Name> <Mode/> </Variable> <Variable> <Value>99</Value> <Name>PLEX_UID</Name> <Mode/> </Variable> <Variable> <Value>100</Value> <Name>PLEX_GID</Name> <Mode/> </Variable> <Variable> <Value>latest</Value> <Name>VERSION</Name> <Mode/> </Variable> <Variable> <Value>http://192.168.xxx.xxx:32400/</Value> <Name>ADVERTISE_IP</Name> <Mode/> </Variable> </Environment> <Labels> <Label> <Value>true</Value> <Name>traefik.enable</Name> <Mode/> </Label> <Label> <Value>https</Value> <Name>traefik.http.routers.plex-rtr.entrypoints</Name> <Mode/> </Label> <Label> <Value>Host(`xxxxxxxxxxxxxxxxxx`)</Value> <Name>traefik.http.routers.plex-rtr.rule</Name> <Mode/> </Label> <Label> <Value>plex-svc</Value> <Name>traefik.http.routers.plex-rtr.service</Name> <Mode/> </Label> <Label> <Value>32400</Value> <Name>traefik.http.services.plex-svc.loadbalancer.server.port</Name> <Mode/> </Label> <Label> <Value>chain-oauth@file</Value> <Name>traefik.http.routers.plex-rtr.middlewares</Name> <Mode/> </Label> </Labels> <Config Name="Host Port 1" Target="32400" Default="32400" Mode="tcp" Description="Container Port: 32400" Type="Port" Display="always" Required="true" Mask="false">32400</Config> <Config Name="Host Port 2" Target="3005" Default="3005" Mode="tcp" Description="Container Port: 3005" Type="Port" Display="always" Required="true" Mask="false">3005</Config> <Config Name="Host Port 3" Target="8324" Default="8324" Mode="tcp" Description="Container Port: 8324" Type="Port" Display="always" Required="true" Mask="false">8324</Config> <Config Name="Host Port 4" Target="32469" Default="32469" Mode="tcp" Description="Container Port: 32469" Type="Port" Display="always" Required="true" Mask="false">32469</Config> <Config Name="Host Port 5" Target="1900" Default="1900" Mode="udp" Description="Container Port: 1900" Type="Port" Display="always" Required="true" Mask="false">1900</Config> <Config Name="Host Port 6" Target="32410" Default="32410" Mode="udp" Description="Container Port: 32410" Type="Port" Display="always" Required="true" Mask="false">32410</Config> <Config Name="Host Port 7" Target="32412" Default="32412" Mode="udp" Description="Container Port: 32412" Type="Port" Display="always" Required="true" Mask="false">32412</Config> <Config Name="Host Port 8" Target="32413" Default="32413" Mode="udp" Description="Container Port: 32413" Type="Port" Display="always" Required="true" Mask="false">32413</Config> <Config Name="Host Port 9" Target="32414" Default="32414" Mode="udp" Description="Container Port: 32414" Type="Port" Display="always" Required="true" Mask="false">32414</Config> <Config Name="Host Path 2" Target="/transcode" Default="" Mode="rw" Description="Container Path: /transcode" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/temp/</Config> <Config Name="Host Path 3" Target="/data" Default="" Mode="rw" Description="Container Path: /data" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/media/</Config> <Config Name="Key 1" Target="PLEX_CLAIM" Default="Insert Token from https://plex.tv/claim" Mode="" Description="Container Variable: PLEX_CLAIM" Type="Variable" Display="always" Required="false" Mask="false">claim-zUyjdosybEs9sZ5x9geo</Config> <Config Name="Key 2" Target="PLEX_UID" Default="99" Mode="" Description="Container Variable: PLEX_UID" Type="Variable" Display="always" Required="false" Mask="false">99</Config> <Config Name="Key 3" Target="PLEX_GID" Default="100" Mode="" Description="Container Variable: PLEX_GID" Type="Variable" Display="always" Required="false" Mask="false">100</Config> <Config Name="Key 4" Target="VERSION" Default="latest" Mode="" Description="Container Variable: VERSION" Type="Variable" Display="always" Required="false" Mask="false">latest</Config> <Config Name="Key 5" Target="ADVERTISE_IP" Default="http://192.168.8.108:32400/" Mode="" Description="Container Variable: ADVERTISE_IP" Type="Variable" Display="always" Required="false" Mask="false">http://192.168.8.108:32400/</Config> <Config Name="Host Path 3" Target="/private" Default="" Mode="rw" Description="Container Path: /private" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/personal/</Config> <Config Name="AppData Config Path" Target="/config" Default="/mnt/user/appdata/PlexMediaServer" Mode="rw" Description="Container Path: /config" Type="Path" Display="advanced-hide" Required="true" Mask="false">/mnt/user/appdata/PlexMediaServer</Config> <Config Name="Host Label 1" Target="traefik.enable" Default="true" Mode="" Description="Container Label: traefik.enable" Type="Label" Display="advanced-hide" Required="true" Mask="false">true</Config> <Config Name="Host Label 2" Target="traefik.http.routers.plex-rtr.entrypoints" Default="https" Mode="" Description="Container Label: traefik.http.routers.plex-rtr.entrypoints" Type="Label" Display="advanced-hide" Required="true" Mask="false">https</Config> <Config Name="Host Label 3" Target="traefik.http.routers.plex-rtr.rule" Default="Host(`xxxxxxxxxxxxxxxxx`)" Mode="" Description="Container Label: traefik.http.routers.plex-rtr.rule" Type="Label" Display="advanced-hide" Required="true" Mask="false">Host(`xxxxxxxxxxxxxx`)</Config> <Config Name="Host Label 5" Target="traefik.http.routers.plex-rtr.service" Default="plex-svc" Mode="" Description="Container Label: traefik.http.routers.plex-rtr.service" Type="Label" Display="advanced-hide" Required="true" Mask="false">plex-svc</Config> <Config Name="Host Label 6" Target="traefik.http.services.plex-svc.loadbalancer.server.port" Default="32400" Mode="" Description="Container Label: traefik.http.services.plex-svc.loadbalancer.server.port" Type="Label" Display="advanced-hide" Required="true" Mask="false">32400</Config> <Config Name="Host Label 7" Target="traefik.http.routers.plex-rtr.middlewares" Default="chain-oauth@file" Mode="" Description="Container Label: traefik.http.routers.plex-rtr.middlewares" Type="Label" Display="advanced-hide" Required="true" Mask="false">chain-oauth@file</Config> </Container> Run command if you prefer: Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='PlexMediaServer' --net='t2_proxy' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'PLEX_CLAIM'='xxxxxxxxxxxxx' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -e 'ADVERTISE_IP'='http://192.168.xxx.xxx:32400/' -l 'traefik.enable'='true' -l 'traefik.http.routers.plex-rtr.entrypoints'='https' -l 'traefik.http.routers.plex-rtr.rule'='Host(`xxxxxxxxxxxxxx`)' -l 'traefik.http.routers.plex-rtr.service'='plex-svc' -l 'traefik.http.services.plex-svc.loadbalancer.server.port'='32400' -l 'traefik.http.routers.plex-rtr.middlewares'='chain-oauth@file' -p '32400:32400/tcp' -p '3005:3005/tcp' -p '8324:8324/tcp' -p '32469:32469/tcp' -p '1900:1900/udp' -p '32410:32410/udp' -p '32412:32412/udp' -p '32413:32413/udp' -p '32414:32414/udp' -v '/mnt/user/temp/':'/transcode':'rw' -v '/mnt/user/media/':'/data':'rw' -v '/mnt/user/personal/':'/private':'rw' -v '/mnt/user/appdata/PlexMediaServer':'/config':'rw' -h JimmyPlex --device=/dev/dri 'mauimauer/plex:jan2021-v2' 6b6463ed4237694f5f2bf9cef6c886e73b1509c7236b2a148b1ee6ad58a5ad8f The command finished successfully! Thanks in advance
  18. Hi everyone! In the last few days I switched from Athlon 220 GE to Ryzen 3400G. The AMD GPU drivers and hardware Transcoding are huge topics in my "to do" list, so here I am. Here below the configuration steps: GPU Driver Integration --> un-blacklisted AMD drivers: root@JimmyHTPC:~# ls -la /dev/dri/ total 0 drwxr-xr-x 3 root root 100 Feb 22 22:14 ./ drwxr-xr-x 16 root root 3460 Feb 23 14:10 ../ drwxr-xr-x 2 root root 80 Feb 22 22:14 by-path/ crw-rw---- 1 root video 226, 0 Feb 22 22:14 card0 crw-rw---- 1 root video 226, 128 Feb 22 22:14 renderD128 Following the tips in Got HW Transcoding to work with libva/vaapi on Raden APU (Ryzen 7 4700U) I have deployed the custom version "mauimauer/plex:jan2021-v2". Container libva drivers for AMD GPUs plus related shared libraries: # cd /usr/lib/plexmediaserver/lib # ls -la total 50996 drwxr-xr-x 1 root root 1660 Feb 21 00:13 . drwxr-xr-x 1 root root 364 Feb 21 00:13 .. drwxr-xr-x 1 root root 108 Feb 21 00:13 dri -rw-r--r-- 1 root root 4361312 Feb 17 17:30 libavcodec.so.58 -rw-r--r-- 1 root root 6057904 Feb 17 17:30 libavfilter.so.7 -rw-r--r-- 1 root root 5516920 Feb 17 17:30 libavformat.so.58 -rw-r--r-- 1 root root 523320 Feb 17 17:30 libavutil.so.56 -rw-r--r-- 1 root root 7696 Feb 17 17:30 libboost_atomic.so -rw-r--r-- 1 root root 67456 Feb 17 17:30 libboost_chrono.so -rw-r--r-- 1 root root 70848 Feb 17 17:30 libboost_date_time.so -rw-r--r-- 1 root root 137456 Feb 17 17:30 libboost_filesystem.so -rw-r--r-- 1 root root 310784 Feb 17 17:30 libboost_iostreams.so -rw-r--r-- 1 root root 1727272 Feb 17 17:30 libboost_locale.so -rw-r--r-- 1 root root 650976 Feb 17 17:30 libboost_program_options.so -rw-r--r-- 1 root root 62976 Feb 17 17:30 libboost_random.so -rw-r--r-- 1 root root 1029672 Feb 17 17:30 libboost_regex.so -rw-r--r-- 1 root root 7312 Feb 17 17:30 libboost_system.so -rw-r--r-- 1 root root 230336 Feb 17 17:30 libboost_thread.so -rw-r--r-- 1 root root 40400 Feb 17 17:30 libboost_timer.so -rw-r--r-- 1 root root 2830544 Feb 17 17:30 libcrypto.so.1.1 -rw-r--r-- 1 root root 421480 Feb 17 17:30 libcurl.so -rw-r--r-- 1 root root 43544 Jan 26 17:58 libdrm_amdgpu.so.1 -rw-r--r-- 1 root root 137472 Feb 17 17:30 libdrm_intel.so.1 -rw-r--r-- 1 root root 76408 Feb 17 17:30 libdrm.so.2 -rw-r--r-- 1 root root 83264 Feb 17 17:30 libexslt.so.0 -rw-r--r-- 1 root root 140496 Feb 17 17:30 libfmt.so.4 -rw-r--r-- 1 root root 7384216 Feb 17 17:30 libfreeimage.so -rw-r--r-- 1 root root 156104 Feb 17 17:30 libgmock.so -rw-r--r-- 1 root root 500856 Feb 17 17:30 libgtest.so -rw-r--r-- 1 root root 96064 Feb 17 17:30 libhdhomerun.so -rw-r--r-- 1 root root 1236696 Feb 17 17:30 libidn2.so -rw-r--r-- 1 root root 1132544 Feb 17 17:30 libigdgmm.so.plex -rw-r--r-- 1 root root 62800 Feb 17 17:30 libminiupnpc.so.17 -rw-r--r-- 1 root root 2592224 Feb 17 17:30 libopencv_core.so.3.1 -rw-r--r-- 1 root root 2754360 Feb 17 17:30 libopencv_imgproc.so.3.1 -rw-r--r-- 1 root root 41696 Feb 17 17:30 libpciaccess.so.0 -rw-r--r-- 1 root root 1667024 Feb 17 17:30 libpion.so -rw-r--r-- 1 root root 2034976 Feb 17 17:30 libpython2.7.so.1.0 -rw-r--r-- 1 root root 368208 Feb 17 17:30 libsoci_core.so -rw-r--r-- 1 root root 98176 Feb 17 17:30 libsoci_sqlite3.so -rw-r--r-- 1 root root 1402592 Feb 17 17:30 libsqlite3.so -rw-r--r-- 1 root root 587064 Feb 17 17:30 libssl.so.1.1 -rw-r--r-- 1 root root 1272424 Feb 17 17:30 libstdc++.so.6 -rw-r--r-- 1 root root 149920 Feb 17 17:30 libswresample.so.3 -rw-r--r-- 1 root root 829824 Feb 17 17:30 libswscale.so.5 -rw-r--r-- 1 root root 1257936 Feb 17 17:30 libtag.so.1 -rw-r--r-- 1 root root 93816 Feb 17 17:30 libusb-1.0.so.0 -rw-r--r-- 1 root root 12376 Feb 17 17:30 libva-drm.so.2 -rw-r--r-- 1 root root 161992 Feb 17 17:30 libva.so.2 -rw-r--r-- 1 root root 1430800 Feb 17 17:30 libxml2.so.2 -rw-r--r-- 1 root root 260240 Feb 17 17:30 libxslt.so.1 -rw-r--r-- 1 root root 920 Feb 17 18:26 plexmediaserver.default -rwxr-xr-x 1 root root 6711 Feb 17 18:26 plexmediaserver.init -rw-r--r-- 1 root root 1709 Feb 17 18:26 plexmediaserver.service # ls -la dri/ total 53600 drwxr-xr-x 1 root root 108 Feb 21 00:13 . drwxr-xr-x 1 root root 1660 Feb 21 00:13 .. -rw-r--r-- 1 root root 7852504 Feb 17 17:30 i965_drv_video.so -rw-r--r-- 1 root root 36357472 Feb 17 17:30 iHD_drv_video.so -rw-r--r-- 1 root root 10668448 Jan 26 17:58 radeonsi_drv_video.so As far as I understand it's all ready to go for HW transconding... but it's not working though: Here below my Plex logs: Plex_HWTranscoding.txt From a noob perspective the issue should be here: Feb 24, 2021 12:07:10.916 [0x14f43b5fa700] DEBUG - [Transcode] Codecs: testing h264_nvenc (encoder) Feb 24, 2021 12:07:10.918 [0x14f43b5fa700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvenc Feb 24, 2021 12:07:10.928 [0x14f43b5fa700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1 Feb 24, 2021 12:07:10.928 [0x14f43b5fa700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA Feb 24, 2021 12:07:10.928 [0x14f43b5fa700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred Feb 24, 2021 12:07:10.929 [0x14f43b5fa700] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi Feb 24, 2021 12:07:10.929 [0x14f43b5fa700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi Feb 24, 2021 12:07:10.954 [0x14f43b5fa700] ERROR - [Transcode] [FFMPEG] - libva: dlopen of /usr/lib/plexmediaserver/lib/dri/radeonsi_drv_video.so failed: /usr/lib/plexmediaserver/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /lib/x86_64-linux-gnu/libLLVM-11.so.1) Feb 24, 2021 12:07:10.954 [0x14f43b5fa700] ERROR - [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error). Feb 24, 2021 12:07:10.954 [0x14f43b5fa700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error Thanks in advance! Gianmarco
  19. Sorry for the late reply. No need to check only container specific traffic, br0 it's fine too. I'm trying with the following scripts: #!/bin/bash R1=`cat /sys/class/net/br0/statistics/rx_bytes` T1=`cat /sys/class/net/br0/statistics/tx_bytes` sleep 10 R2=`cat /sys/class/net/br0/statistics/rx_bytes` T2=`cat /sys/class/net/br0/statistics/tx_bytes` TBPS=`expr $T2 - $T1` RBPS=`expr $R2 - $R1` TRTOT=`expr $TBPS + $RBPS` TOTKBPS=`expr $TRTOT / 10240` if [ $TOTKBPS -lt 300 ] then arrayStarted=true noParity=true docker restart binhex-qbittorrentvpn fi It should works!
  20. Thanks! tTo add an if condition related to network traffic is a mess or something achivable? Inviato dal mio moto g(6) plus utilizzando Tapatalk
  21. Speed drops are not so frequent, actually 1/2 in few days. Anyway in my experience a periodic restart of binhex-qbittorrentvpn container keep it much healthy and allow to avoid subdole hangs that may stay pending for hours. Sometimes is the VPN provider (Surfshark) that drop the connection, it's a great service price/quality and I'm very happy with it though. Do you have any idea how to setup the script? Thanks!
  22. The aim to perform the restart only if the traffic is low, while with high values (eg 600+ KB/s) the scrit wont start. It's crazy? Is there any simpler way to achive this? BTW thanks for the hourly script hint!!
  23. Hi everyone, I'm really noob with no idea where to start... I was thinking a way to restart a docker container (easy job, already found the script) ONLY IF the network traffic is below a defined threshold. Do you have suggestion? My need is to schedule (every hour) the restart of qbittorrent container to workaround the frequent hangs. Thanks in advance!!
×
×
  • Create New...