vvolfpack

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by vvolfpack

  1. On 11/29/2023 at 9:46 AM, vvolfpack said:

    I too am having this same issue since August. Any update or tips to fix would be really helpful!

     

    Hey all! 

    I'm hoping some of you have encountered and solved a similar issue with Plex server crashing on Docker. I had this problem several weeks ago and reported it in August. Others have also reported something similar here and here. The problem seemed to resolve itself for a few weeks until the last update, but now it's back.

     

    Summary of the issue:

    • Plex server crashes intermittently, typically following or during a long media download cycle.
    • Restarting the Docker container brings it back online, but the crashes repeat.
    • I haven't found any clear clues in the logs.

     

    Would anyone be willing to help me troubleshoot this? I apologize if I've uploaded the wrong logs (details below)

     

    Attached logs:

    Stable log from this morning
    Log from a crash event
    Log after restarting the container and regaining stability

     

    Plex Media Server.1_Pre_Fail.log Plex Media Server.Working.log Plex Media Server_Post_Restart.log

  2. On 11/24/2023 at 10:04 PM, druck21 said:

    I am having this EXACT same issue. Started happening out of nowhere about a month or so ago. I’m on unRAID 6.12.3. All of a sudden the server just becomes completely unresponsive until I restart the container, in which case everything is back to normal. Probably happens every other day or so now. 

    I too am having this same issue since August. Any update or tips to fix would be really helpful!

  3. Just wanted to thank this thread for all the great discussion that helped me with my decision.

     

    I initially went with these ASM1166 cards (1, 2) , but both didn't get detected by my Windows machines ( 1 intel-based and 1 amd-based) for a firmware update. Returned them for a refund.

     

    I then followed other recommendations on the thread to order cards from more reliable sources like SYBA even though they're a bit more expensive. Here's the actual JMicron JMB582 card I ordered. Decided to go with a 2-port card instead for lower power consumption compared to 4/6 ports. Can confirm that it added only 3 watts on idle. One word of caution though that upon installing the expansion on my Z390 UD mobo, it automatically turned off my SATA controllers upon reboot. A simple fix via BIOS did it and now everything is working smoothly.

     

    • Like 1
  4. I'm running Plex Inc's PMS Docker and have the parameters set up for hardware transcoding and its directory set to RAM. I followed the serveral guides online to set this up. Settings attached!

     

    I suspect Plex's metadata is getting saved to RAM since every time my system reboots, my library mappings within the app are all reset and it re-downloads all my metadata files upon correcting the file mappings. Is that possible? Any help from the community would be greatly appreciated!

     

    Also attaching screenshots of the settings from within the docker and the template

     

    Screen Shot 2022-12-04 at 10.32.11 PM.png

    Screen Shot 2022-12-04 at 10.31.39 PM.png

    Screen Shot 2022-12-04 at 10.30.20 PM.png

    vvolfbox-diagnostics-20221204-2234.zip

  5. On 11/10/2022 at 1:32 PM, Hoopster said:

    I have this in my go file to limit transcoding to 16GB and to recreate the folder in RAM on reboot:

    mkdir /tmp/PlexRamScratch
    chmod -R 777 /tmp/PlexRamScratch
    mount -t tmpfs -o size=16g tmpfs /tmp/PlexRamScratch

     

    this is really useful! Noob question: Is there a guide that goes over how to set this up? Go File in config? 

     

  6. I'm in the same boat as OP wherein my server doesn't boot if I remove the NVME drive (which is currently unassigned) from the slot. It's not in a cache pool with the primary m.2 device. Before following the same steps by JorgeB to troubleshoot, I wanted to check with the forum if I can proceed. FWIW, I'm going through a full migration of the server to a new MoBo, Intel CPU, and a new cache drive.

    vvolfbox-diagnostics-20221105-1812.zip

  7. On 6/2/2022 at 6:40 PM, JonathanM said:

    docker exec <container name> /full/command/that/works/at/the/container/console

     

    Thanks for the tips! I was trying to run this script and it fails when run using User Scripts, but it works when run from within the console of the docker container.

     

    User Scripts scheduled script: Fails

     

    #!/bin/bash
    docker exec binhex-qbittorrentvpn curl -c ~/mam.cookies -b ~/mam.cookies https://t.myanonamouse.net/json/dynamicSeedbox.php

     

    Script used when running from within the docker container: Successfully works

    curl -c ~/mam.cookies -b ~/mam.cookies https://t.myanonamouse.net/json/dynamicSeedbox.php
    

     

    Any tips on what I'm doing incorrectly?

  8. This thread was extremely helpful, thanks! My use-case is slightly different wherein I'm looking to find just my audiobook files (m4a, mp3, etc.) from the downloads folder to a temp folder, where they'll be tagged separately with metadata. I wanted the downloads folder to be untouched since I'm seeding from there. I tried creating this script, but unfortunately, it isn't doing its job and I would love some help from someone who is more proficient in Linux commands.

     

    #!/bin/sh
    find /mnt/user/Downloads/torrents/completed/audiobooks/ -type f \( -iname \*.m4b -o -iname \*.mp3 -o -iname \*.mp4 -o -iname \*.m4a -o -iname \*.ogg \) -mmin -3 -exec cp -n "{}" /mnt/user/Media/Audiobooks/Temp/ \;

     

    I added this as new under User Scripts and nothing happens when I run it. The log file doesn't generate any errors either.

     

    What am I doing incorrectly?

  9. I upgraded to 6.9.2 yesterday and played around with SSL and remote access on Unraid. All went smooth until I opened Sonarr & Radarr this morning only to see all my data wiped :(. Have others noticed this too or is this just being me noobing around?

     

    1546114502_ScreenShot2021-07-08at3_17_09PM.thumb.png.eb896cb9cb9d39a10c84b9e2bac692b0.png

     

    Uploading logs for Radarr over here too in case the issues are related

    sonarr.txt radarr.txt

  10. Hey hivemind! Fix Common Problems detected a hardware issue and I'm unable to diagnose it. Would love to get your help on this. Logs attached

     

    Not sure if they're related, but I plugged in and passed through a RTX 3080 a few hours prior to this error. Almost in parallel, I also started noticing a clicking sound from one of my hard drives every 10-15 secondsn (intermittent)

     

    vvolfbox-diagnostics-20201229-0149.zip

     

    The error on Fix Common Problems: "Your server has detected hardware errors. You should install mcelog via the NerdPack plugin, post your diagnostics and ask for assistance on the unRaid forums. The output of mcelog (if installed) has been logged"

  11. I'm facing the same issue. I had a GPU passed through to the VM. Had to move it to a different system, and now the VM won't start via VNC either. Getting a similar error to OP. fwiw, got the same error message when I removed my nvme drive too (which wasn't passed through)

     

    Execution error: Device 0000:05:00.1 not found: could not access /sys/bus/pci/devices/0000:05:00.1/config: No such file or directory

     

    Unable to find Bus 05 Slot O1 in my XML. Could something else be the issue here?

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm'>
      <name>Gaming</name>
      <uuid>05a5b827-d0e0-6148-6908-a6cf7506671d</uuid>
      <description>Gaming and Plex</description>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>17301504</memory>
      <currentMemory unit='KiB'>17301504</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>8</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='2'/>
        <vcpupin vcpu='1' cpuset='10'/>
        <vcpupin vcpu='2' cpuset='4'/>
        <vcpupin vcpu='3' cpuset='12'/>
        <vcpupin vcpu='4' cpuset='5'/>
        <vcpupin vcpu='5' cpuset='13'/>
        <vcpupin vcpu='6' cpuset='6'/>
        <vcpupin vcpu='7' cpuset='14'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/05a5b827-d0e0-6148-6908-a6cf7506671d_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vendor_id state='on' value='none'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='4' threads='2'/>
        <cache mode='passthrough'/>
        <feature policy='require' name='topoext'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='hypervclock' present='yes'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_PRO_1TB_S5HVNE0MA06968M'/>
          <target dev='hdc' bus='virtio'/>
          <boot order='1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/Win10_1909_English_x64.iso'/>
          <target dev='hda' bus='ide'/>
          <readonly/>
          <boot order='2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso'/>
          <target dev='hdb' bus='ide'/>
          <readonly/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <controller type='ide' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </controller>
        <controller type='pci' index='0' model='pci-root'/>
        <controller type='usb' index='0' model='qemu-xhci' ports='15'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:ec:3e:28'/>
          <source bridge='br0'/>
          <model type='virtio'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </interface>
        <serial type='pty'>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
        </serial>
        <console type='pty'>
          <target type='serial' port='0'/>
        </console>
        <channel type='unix'>
          <target type='virtio' name='org.qemu.guest_agent.0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <sound model='ich9'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </sound>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </video>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x07' slot='0x00' function='0x3'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
        </hostdev>
        <memballoon model='virtio'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
        </memballoon>
      </devices>
    </domain>

     

  12. On 12/1/2020 at 5:33 PM, GeekMajic said:

    I love the new update, but I can't find how to import from Lists.

    I'm also facing the same issue since migrating to 3. Lists imported via Trakt are getting monitored, but movies aren't auto-downloading. (I have to manually "Search All" missing movies to trigger a download.

  13. On 2/17/2020 at 10:40 AM, vvolfpack said:

    vvolfbox-diagnostics-20200217-1058.zip 100.86 kB · 0 downloads

     

    Edit 1: After a reboot, the command passes successfully, but I'm unable to start the docker. After clicking "Start". It spins for a second and returns to "Stopped" state. Any help would be much appreciated!

     

     

    EDIT 2:

    Getting these syslogs from trying to start the application

    
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered blocking state
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered disabled state
    Feb 18 23:02:14 vvolfbox kernel: device veth72bc119 entered promiscuous mode
    Feb 18 23:02:14 vvolfbox kernel: IPv6: ADDRCONF(NETDEV_UP): veth72bc119: link is not ready
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered blocking state
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered forwarding state
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered disabled state
    Feb 18 23:02:14 vvolfbox kernel: eth0: renamed from veth7da683a
    Feb 18 23:02:14 vvolfbox kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth72bc119: link becomes ready
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered blocking state
    Feb 18 23:02:14 vvolfbox kernel: docker0: port 5(veth72bc119) entered forwarding state
    Feb 18 23:02:15 vvolfbox kernel: docker0: port 5(veth72bc119) entered disabled state
    Feb 18 23:02:15 vvolfbox kernel: veth7da683a: renamed from eth0
    Feb 18 23:02:15 vvolfbox kernel: docker0: port 5(veth72bc119) entered disabled state
    Feb 18 23:02:15 vvolfbox kernel: device veth72bc119 left promiscuous mode
    Feb 18 23:02:15 vvolfbox kernel: docker0: port 5(veth72bc119) entered disabled state

    Any help would be much appreciated, @binhex!

    Unfortunately, I'm still unable to start my docker in spite of multiple attempts to delete the app data and starting afresh. I've tried all troubleshooting steps. Would appreciate any help here!

  14. 11 hours ago, saarg said:

    So you need to look at the new method of stubbing using the PCI ID. I don't remember which release it was added, but go through the release announcements to find it. Might have been 6.8, but might have been in one of the 6.7 releases.

    Thanks for the help, saarg! I followed your suggestion and looked up the 6.7 release which led me to this awesome thread. Worked for both, the GPU and the USB hub.

  15. 7 hours ago, saarg said:

    unraid usb on the same usb controllers that you use vfio-pci.ids on

    I have 3 USB 3.0 controllers with legacy support. I also have XHCI enabled in my BIOS. My motherboard has 2x 2.0 ports and 4x 3.0 ports. Unraid is plugged into a 2.0 port

     

    07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller

    My Unraid's on Bus 1 (IOMMU Group 21 —07:00.1), whereas the Genesys USB Hub is on Bus 6 (Group 31 — 0c:00.3). 

     

    How might I solve for this?