lanky8804

Members
  • Posts

    64
  • Joined

  • Last visited

Posts posted by lanky8804

  1. On 10/5/2023 at 7:42 AM, BoKKeR said:

     

    Could you tell me more how you detected the memory leak? What was your setup? 

     

    @lanky8804 did you manage to figure it out? Could you try removing the info config file and starting fresh? there is also an env variable that might show if the scraping is working:

    WRITE_HTML_OUTPUT=true

     

    @BoKKeR Thank you yes, rebooted a few times and then it appeared, thank you.

  2. So have rebooted HA a few times and left it for a while but still nothing being added to MQTT integration. Have searched entities also but nothing new added.

     

    Should the UnraidAPI just appear in the MQTT integration or do we still need to install that API addon like in the original version?

  3. Found a solution for anyone else

     

    Repo bokker/unraidapi-re:6.12 etc

     

    On the WebUI:

    Server IP - the long one from server GUI, DELETE the HTTPS at the start of it

    image.png.3bd3f80981b73bebae73100e54020182.png

     

    Tick the HTTPS option block

    Login with root and password.

     

    Now have my server details appearing.

     

    On to HA now.

  4. 15 hours ago, ArveVM said:

    Are you sure you have changed to the new docker?
    I believe it was like your screenshot until i updated to the new repository,,,
    image.png.142860fde58c5c4de2bc92c22b1f5cf6.png

    Thanks for the reply.

     

    My repo was booker/unraidapi-re:6.12

     

    Have changed it to booker/unraidapi-re but still the same issue.

     

    The logs from the docker seem odd with the ip being 0.0.0.0:80

     

    My unraid server is on port 8443

     

    image.thumb.png.d6e422d982d3c1aa306f05602428824f.png

     

    image.thumb.png.cac6a104e76bae8dff27146555c09336.png

  5. Hi

    Have had my Window 11 VM running for around 5 months with minimal issues however since upgrading to the newest version of unraid I constantly get this error message when trying to start the VM. I can fix it by rebooting the server however I don't understand what this error message is saying and how to fix it properly.

     

    Can anyone assist?

    Thanks

     

    Error:

    image.png.b7f2e7672de0c11f54c4762454f968ae.png

     

    VM XML:

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm'>
      <name>Windows 11</name>
      <uuid>6e51e682-d280-db84-39c4-8953dd45eb4b</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
      </metadata>
      <memory unit='KiB'>16777216</memory>
      <currentMemory unit='KiB'>16777216</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>16</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='4'/>
        <vcpupin vcpu='1' cpuset='16'/>
        <vcpupin vcpu='2' cpuset='5'/>
        <vcpupin vcpu='3' cpuset='17'/>
        <vcpupin vcpu='4' cpuset='6'/>
        <vcpupin vcpu='5' cpuset='18'/>
        <vcpupin vcpu='6' cpuset='7'/>
        <vcpupin vcpu='7' cpuset='19'/>
        <vcpupin vcpu='8' cpuset='8'/>
        <vcpupin vcpu='9' cpuset='20'/>
        <vcpupin vcpu='10' cpuset='9'/>
        <vcpupin vcpu='11' cpuset='21'/>
        <vcpupin vcpu='12' cpuset='10'/>
        <vcpupin vcpu='13' cpuset='22'/>
        <vcpupin vcpu='14' cpuset='11'/>
        <vcpupin vcpu='15' cpuset='23'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-i440fx-6.2'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/6e51e682-d280-db84-39c4-8953dd45eb4b_VARS-pure-efi-tpm.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv mode='custom'>
          <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' migratable='on'>
        <topology sockets='1' dies='1' cores='8' 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='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disks/Windows_11_VM/Windows 11/vdisk1.img'/>
          <target dev='hdc' bus='virtio'/>
          <boot order='1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/Domains/ISO/virtio-win-0.1.190-1.iso'/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <controller type='pci' index='0' model='pci-root'/>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </controller>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:ab:31:24'/>
          <source bridge='br0'/>
          <model type='virtio-net'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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'/>
        <tpm model='tpm-tis'>
          <backend type='emulator' version='2.0' persistent_state='yes'/>
        </tpm>
        <audio id='1' type='none'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x046d'/>
            <product id='0xc52b'/>
          </source>
          <address type='usb' bus='0' port='2'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x0b05'/>
            <product id='0x18f3'/>
          </source>
          <address type='usb' bus='0' port='3'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x0bda'/>
            <product id='0x8771'/>
          </source>
          <address type='usb' bus='0' port='4'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x1b1c'/>
            <product id='0x0c18'/>
          </source>
          <address type='usb' bus='0' port='5'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
    </domain>

     

  6. So Plex has sone something weird at some stage which I have only now discovered when formating a disk.

     

    My AppData is set to Prefer: Cache and always has been, my cache drive has 806GB free so it shouldnt stary using the array as storage space.

     

    When I navigate to the disk is question there are a bunch of folders but nothing inside them, am i safe to just delete the appdata folder in disk 5??

     

    Have attached some screenshots.

     

    Screenshot 2022-04-17 at 8.21.30 am.jpg

    Screenshot 2022-04-17 at 8.21.41 am.jpg

    Screenshot 2022-04-17 at 8.22.16 am.jpg

    Screenshot 2022-04-17 at 8.22.39 am.jpg

  7. 39 minutes ago, JorgeB said:

    If you want to change the filesystem you need to move the data elsewhere, then change filesystem by formatting, then restore the data, more info below:

     

     

    Ok thank you for my next disk upgrade i will do this.

     

    How can i copy the data from my old 3tb to my new 8tb already formatted to xfs. Can i use krusader or something similar?

     

    Can i just plug in my old 3tb leave it as an unassigned disk and then move/copy the files to the new 8tb?

  8. Hi

    Have been upgrading drives from 3tb to 8tb ones however my data has not been rebuilt.

     

    Steps:

    1. Ensured parity was good and no errors

    2. Followed official guidance to swap drive: https://wiki.unraid.net/Replacing_a_Data_Drive

    3. Left overnight to complete but no data restored.

     

    I have 2 things that i think might have caused it.

    1. Not sure if when restarted after replacing the drive a parity sync started

    2. I changed the format of the drive from reiserfs to xfs and selected/clicked the format button.

     

    I still have the original drive which was removed from the system, it has just been unplugged.

    I have not done anything else for fear of making it worse before getting guidance.

    I don't think my logs will help as has been restarted

     

    Can someone help me in the correct procedure to resolve

     

    Can I plug in the old data drive with a new config to get it back to previous then retry upgrading/replacing the drive??

     

    image.thumb.png.6f1eb6d96af26a20dfe7638bf1eb9c39.png

     

  9. @trurl

    No, no SMART warnings just a bunch of errors on read/write that and it make a clicking noise whereas it never use to. 
     

    odd about connection issue as haven’t opened in months now. 
     

    yes have a RAID card however has been flashed with firmware so just runs as JBOD with no RAID. This is all left to UnRAID as recommended. 
     

    still in old format as wasn’t sure how to upgrade then without loosing data and I don’t have the space elsewhere to move data then re-format, any ideas on this would be good also please if I have missed something simple. 
     

    so should I be all Ok just to replace a disk as normal, unmount pool, deselect disk, shutdown, replace etc?