Faspina

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by Faspina

  1. I had a problem with the latest release, updated the docker this morning and lost my unraid ui. Took me about 30 minute to figure out what was going on. Doing this in the cli brought it back but only temporary. /etc/rc.d/rc.php-fpm restart it kept stopping. All the docker were fine. All my hosted apps fine. Only the UI that kept stopping So I finally stop the unraid-api docker. And the problem went away. I think the docker was hammering the unraid server. Found a bunch of these in the logs and overloaded the UI Oct 1 07:30:18 SERVER nginx: 2023/10/01 07:30:18 [error] 9491#9491: *125230 limiting requests, excess: 20.002 by zone "authlimit", client: 172.17.0.13, server: , request: "GET /login HTTP/1.1", host: "192.168.7.11" They went away when I stopped the unraid-ap docker and the UI came back for good. I confirmed the issue by restarting the container eventually the UI was unresponsive. Not sure what is going on, passing along the info. Let me know if you need anything. Heading out on business tomorrow so i will be unresponsive during the week.
  2. Brand new install from the template. New database . Getting this The `20210703194509_added_balance_to_account` migration started at 2022-11-06 00:51:23.824673 UTC failed I see the tables created in the deb, but the container fails to start. migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve The `20210703194509_added_balance_to_account` migration started at 2022-11-06 00:51:23.824673 UTC failed error Command failed with exit code 1. error Command failed with exit code 1. yarn run v1.22.19 $ yarn database:migrate && yarn database:seed && node main $ prisma migrate deploy Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "ghostfolio", schema "public" at "192.168.7.11:5432" 52 migrations found in prisma/migrations Applying migration `20210604190809_initial_migration` Applying migration `20210605161257_added_symbol_profile` Applying migration `20210612110542_added_auth_device` Applying migration `20210616075245_added_sectors_to_symbol_profile` Applying migration `20210703194509_added_balance_to_account` info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn run v1.22.19 $ yarn database:migrate && yarn database:seed && node main $ prisma migrate deploy Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "ghostfolio", schema "public" at "my-ip:5432" 52 migrations found in prisma/migrations info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  3. Getting for the 1st time today. I have a few new dockers running, but nothing that I can figure out. Help appreciated. "Your server has run out of memory, and processes (potentially required) are being killed off." Diagnostics attached. What exactly should I be looking for. server-diagnostics-20221017-0534.zip
  4. CPU Look normal, My 20+ Dockers an VM seem to be running fine but the UI (remotely via ip address) is very very slow. It used to be instant. Any ideas. Working on getting a diagnostic as soon as I can server-diagnostics-20220622-1747.zip Went back to 6.10.2 rebooted a few times and seems to have done the trick, kind of scared to go to 6.10.3 again
  5. Been using the container for a while with object detection. I did a fresh install. I noticed object detection was not working. Dropped into the container command line to execute bash zm_event_start.sh 834 2 from /var/lib/bash zm_event_start.sh 834 2 and go no permission had to do chmod +x *.* then it started working . WHen I updated to the new version yesterday I had to do the same thing. HOw can I make sure this get executed when I download the new image
  6. No pass through GPU or USB devices are allocated to the server. Just running it with VNC display to run a few process to backup to a the cloud. char device redirected to /dev/pts/1 (label charserial0) 2020-04-24T05:02:32.526940Z qemu-system-x86_64: warning: Spice: display-channel.c:2420:display_channel_validate_surface: invalid surface_id 65793 id 0, group 0, virt start 0, virt end ffffffffffffffff, generation 0, delta 0 id 1, group 1, virt start 14a99d200000, virt end 14a9a11fe000, generation 0, delta 14a99d200000 id 2, group 1, virt start 14a998c00000, virt end 14a99cc00000, generation 0, delta 14a998c00000 2020-04-24T09:14:30.814710Z qemu-system-x86_64: Spice: memslot.c:118:memslot_get_virt: address generation is not valid, group_id 1, slot_id 1, gen 1, slot_gen 0 2020-04-24 09:14:31.046+0000: shutting down, reason=crashed
  7. I have a GIGABYTE NVidia GT 1030 it is not my Primary Graphics for Unraid , I am using the buildit card for unraid. I Have both the Card and Audio devices from the card in the same IMMO group. I have followed space invaders video to edit the XML to make sure they are set for Multifunction in the same SLOT I have tried this with both HyperV support in and out. I am using OVMF (I have the same problem in SeaBios) When I try to install the drivers I get Windows encountered a problem installing the drivers software for your devices. I see nothing in windows event log about Error 43 . The drivers have never installed. Any help would be appreciated. here is my XML <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='9'> <name>Windows 10</name> <uuid>f74361f4-cbfa-7feb-e31e-91deba27ffd5</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='8'/> <vcpupin vcpu='1' cpuset='20'/> <vcpupin vcpu='2' cpuset='9'/> <vcpupin vcpu='3' cpuset='21'/> <vcpupin vcpu='4' cpuset='10'/> <vcpupin vcpu='5' cpuset='22'/> <vcpupin vcpu='6' cpuset='11'/> <vcpupin vcpu='7' cpuset='23'/> </cputune> <resource> <partition>/machine</partition> </resource> <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/f74361f4-cbfa-7feb-e31e-91deba27ffd5_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='4' threads='2'/> <cache mode='passthrough'/> </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/user/domains/Windows 10/vdisk1.img' index='3'/> <backingStore/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/en_windows_10_multiple_editions_x64_dvd_6846432.iso' index='2'/> <backingStore/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <alias name='ide0-0-0'/> <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' index='1'/> <backingStore/> <target dev='hdb' bus='ide'/> <readonly/> <alias name='ide0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='qemu-xhci' ports='15'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:49:14:9c'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/0'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-9-Windows 10/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='mouse' bus='ps2'> <alias name='input0'/> </input> <input type='keyboard' bus='ps2'> <alias name='input1'/> </input> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <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='0x03' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc534'/> <address bus='6' device='2'/> </source> <alias name='hostdev2'/> <address type='usb' bus='0' port='1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x0d8c'/> <product id='0x0008'/> <address bus='6' device='3'/> </source> <alias name='hostdev3'/> <address type='usb' bus='0' port='2'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain>
  8. I have some time at home to take a look at this. I will try to build a container for unraid for open eats.
  9. It appears that I have figured out how to get the NVIDA cards to work with SeaBIOS. I had to set the USB Controller in the VM to 3.0 (qumu xhci) and not ehci , that did the trick. Seems to be working flawless. I will certainly attempt to upgrade the video card. For what I am doing this seems to work
  10. I am testing testing a new build with a trial version of Unraid preparing to move my stuff over soon. Super Micro XLDTL-if Mother board 32G Ram - Booting in Legacy Bios mode it does not do UEFI two XEON 5670 processors I have 3 GPU cards I am "testing" with my hope is to get one of them as GPU Pass through consistently Nvidia 9500gs Nvidia 8600gs AMD Radeon 4650 I have had the some luck with the AMD and Windows 10 with the GPU pass through and full control with the mouse, however it hangs when I restart the Win 10 VM and it does not seem to be very consistent. Sometime yes sometime no. My logs suggested it picked up the PCI card, I see the id but no picture. I have followed space invaders guide (both parts) build this all with VNC and put in all the drivers. Can't seem to figure out what is going on. For the AMD I get two devices (Video and Sound) and put both of them in the VM I have a Nvidia 8400 gs on the way as someone suggested this $15.00. We will see what happens with that one. I have two windows VM I am testing with one with OVMF the other with SeaBios. That way I can mix and match gpu cards with each system. with the NVIDIA cards I can get a picture with SeaBio but it won't allow me to log in as if there is no mouse/keyboard . I only have one that I pass through to the VM. What combo should I try? Does Anyone have these cards? What do I need to post here to help figure this out?
  11. Using a IOS phone I am having the same problem. Port forwarding seems to working as my windows client is working. Its just the phone that has problems
  12. A series of unfortunate events, both USB drives i have are pretty sizable, meaning the stick out from the front of the tower server. The both of them have been bumped by me or the dog several times, he's a big dog. The first one took first hit and became unusable (to answer your question yes I back up religiously) , the 2nd one got bump months ago but has been usable since I am only now seeing problem. I will try out the chkdsk as soon as I have a chance , ideally though I have a lower form factor USB one that I can but in there and feel a little more confident about it being hit should I have to replace it. I did email support so we will see what they say.,
  13. This is my 2nd flash drive since moving to Unraid and now I am getting a read only error on flash drive when it boots, in need to backup and copy to a new flash drive but will trouble copying the license again with the online tool. How many times can I replace the USB drive with the licensing tool?
  14. I got a free Dell T310 from work with Xeon CPU x3430 @2.4ghz. My main hobby is home automation so right now its running a bunch of docker containers and running the quiet well. The most intensive one is the Zoneminder container with object detection. I track the usage in influxdb/grafana with telegraf and my 24 average total CPU usage is about 70% so not bad for a 2009 hardware. In addition to the docker I have a Ubuntu VM that is uses to do cloud backup. I am fine on storage, I have SSD for cache, 2Tb parity, as well 2Tb+1Tb+320gb+320gb storage. I plan to move the drives over as is .I do not store videos and use plex and don't plan to so storage has not been an ssue. Its mainly CPU Power. What I want to do is put in a graphics card and crankup up Ubuntu Desktop VM as a workstation . Maybe do face detection with zoneminder docker and I need more CPU power for that. if my budget is $400 max, what can i get used to give me most upgrade for the price that will hold 6 drives.
  15. It seems to be working well and doesn't require as much CPU as some of the other object detect solutions I have seen with home assistant. I will be playing with face recognition later. I will keep you posted. Thanks for putting the framework in place!!!
  16. I finally got object detection working on my under powered Unraid server. It actually works pretty good pass the detected:car message in MQTT as part of the alarm. I have not played with the filitering in objectdetect.ini I had to make modifications to the userscript.sh in the OP to get it to work. It was missing some components that I discovered dropping into the container and running "bash /user/bin/detect_wrapper.sh EID MID where EID is event ID and MID is the monitor ID. #!/bin/sh # Python modules needed for hook processing apt-get -y install python-pip cmake apt-get -y install libsm6 libxext6 libxrender1 libfontconfig1 pip install numpy opencv-python imutils configparser Shapely future python setup.py install # Install for face recognition pip install face_recognition
  17. I think I got it I had several problems. it was not picking up the script variable. I copied and pasted from here maybe something was wonky, then they script filed was not saved in a good linux format deleted it and rebuilt in in nano on the host. that seem to work.
  18. I have tried getting the userscript.sh as stated in your OP to run but I don't think its working .What is weird is I see this in the log *** Running /etc/my_init.d/999_advanced_script.sh... Userscript Provided *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 927 Mar 7 09:03:11 cbd80626d0d2 cron[930]: (CRON) INFO (pidfile fd = 3) Mar 7 09:03:11 cbd80626d0d2 cron[930]: (CRON) INFO (Running @reboot jobs) Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [using config file: /etc/zm/zmeventnotification.ini] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [Push enabled via FCM] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [MQTT Enabled] Mar 7 09:03:11 cbd80626d0d2 zmeventnotification[913]: INF [You are running version: 3.2-docker] I did chmod +x userscript.sh have ADVANCED_SCRIPT 1 as a variable in my docker setup when I drop into the docker console pip is not found. shouldn't it have been installed by the user script below. #!/bin/sh # Python modules needed for hook processing apt-get -y install python-pip pip install numpy opencv-python imutils configparser Shapely pip ./setup.py install # Install for face recognition pip install face_recognition
  19. Well it says enabled. So that is good. What do I have to do to setup a ubuntu desktop and pass through to the Radeon. This is what I get internal error: qemu unexpectedly closed the monitor: 2019-02-26T16:28:54.945172Z qemu-system-x86_64: -device vfio-pci,host=04:00.0,id=hostdev0,bus=pci.4,addr=0x0: vfio error: 0000:04:00.0: failed to setup container for group 13: failed to set iommu for container: Operation not permitted
  20. All, I started down this unraid road because I have been involved in home automation for a while and my home assistant and supporting components mainly on docker were scattered among sever old server. So I managed to get a PowerEdge T310 with Intel® Xeon® CPU X3430 @ 2.40GHz processor. It has 8GB of memory but I can probably up that if needed. What I am trying to figure out is if I can replace a desktop with a VM (Ubuntu or Windows 7) to a Radon graphics card. The PowerEdge has a built in VGA monitor I get a IOMMU error when I try to setup a VM . I googled the heck out of the error even tried some stuff in my syslinux.cfg but no luck. I am wondering if my motherboard supports passthrough to the pci ports, how do I find out. My goal here is to really figure out what this free server can do form me so I a know what I am dealing with. It does everything I need it to do by consolidating my dockers and file storage to one place. Now I want MORE! Any thoughts on this