dboris

Members
  • Posts

    83
  • Joined

  • Last visited

Everything posted by dboris

  1. The irony at me having the same issue months later and searching again until I find my message.
  2. So it really was out of luck that 10000 worked and 10001 failed ! I searched and found on this topic some indications to use the terminal : dd if=/dev/zero of=/mnt/ssd/swap/swapfile bs=1M count=32768 btrfs property set /mnt/ssd/swap/swapfile compression none mkswap -L swapfile /mnt/ssd/swap/swapfile chmod 600 /mnt/ssd/swap/swapfile swapon -v /mnt/ssd/swap/swapfile Would you mind validating that this matches the settings bellow ? I tried, but first row created the right file, but second row gets me : ERROR: failed to set compression for /mnt/ssd/swap/swapfile: Invalid argument And while the filehas been created after a few seconds, the options doesn't update to the right size on the pluggin. And regarding swapiness, should I run this ? sysctl /mnt/ssd/swap/swapfile.swappiness=10 Thanks ! Note that I'm doing this for GitLab CE repository that wants to eat all my ram. I probably could find the answers by googling, but I'm hopping some user may find this post useful.
  3. When typing "10G" or swap amounts above 10000, I noticed the pluggin stops working : Cache is missing when typing "free -m".
  4. No I don't face this issue. 2 factor authentication worked for me on my mobile : had to log in manually on authelia. Once done, still working today.
  5. Hello I tried installing and removing entirely the docker multiple times without having any success. Basically I can't manage to access the GUI. I managed to crash my server as ram usage goes off the roof. I tried limiting the ram : still doesn't work. Edit : I checked the docker folder's permission and it was all messed up. I created the gitlab-ce folder myself and reinstalled it. Edit : The template was installing it on my media / HDD folder, for an unknown reason, when my app data should only be on my SSD drive. Edit it works this morning, but I cry : 7.44GB/used. CPU usage on the docker being displayed "0.46%". Overall CPU load is >90% and when I shut down the docker, load I goes back to 5-20%. Doesn't work for me, zero repos as well. Repports errors and GUI doesn't work if allocated with 4GB of memory, which should be it's minimum requirement for 500 users.
  6. I got once again the case where my folders disappeared after I made a change on a Folderview. I still have no idea on what caused the issue. I realised that typing "debug", only works when the plugin works ; after facing the bug I tried typing it, no results. Then I clicked previous page on my browser, validated, hopping to recover my settings ; itcreated an empty folder and all my previous folders were gone. I typed debug again and this time it worked. So I'm a bit annoyed of loosing my groups everytime ah ah ah. Which file could I back up to manually save my settings, so I can still use FolderView, and experiment to try to identify what cause that bug ? edit: I had already uninstalled the previous plugin. debug-DOCKER (1).json
  7. Thanks again Simon ! It makes sense. I made several Google search to see if this had been changed and couldn't find anything but this topic.
  8. Hello hello. I'm having issues with cache getting filled until Docker can't start anymore. I enabled the secondary storage to fill out the cache. However, I still want my docker and often read-files to be on the cache. I also want the cache to offload to array when it's getting full. However I noticed that the "use cache pool" option is now gone on the GUI. What should I do to emulate that behaviour ? This is what I used to have : And this is what I have today ; no more "prefer" option. Thanks !
  9. You want to access your Home Assistant VM remotely ? eg : with your phone companion app So simple, but couldn't find guide anywhere 😔 ! So here we are ! It's basically Home Assistant Cloud for free. You will "simply" need to reverse proxy home assistant virtual machine with Traefik on Unraid ! 🥸 You must already : configure Home Assistant with a Fixed IP. have a domain or a DDNS setup have attributed a subdomain to point to home assistant have successfully reverse proxied a service/docker (so you don't start with HA's VM) MUST ABSOLUTELY have set up a double auth middleware (so you don't expose your HA VM to the rest of the world). I won't provide support for these steps. Ibracorp videos are a good starting point. I personally use ddns-updater, Cloudflare and Authelia. On Home Assistant, edit your configuration.yaml (with the file editor HA plugin) : homeassistant: external_url: "https://subdomain.domain.com" # provide your subdomain and domain, with no port internal_url: "http://homeassistant.local:8123" # local address with port http: use_x_forwarded_for: true ip_ban_enabled: false trusted_proxies: - 192.168.X.X/24 # replace X to fit your local devices On Traefik, edit fileConfig.yml, to include under "http:", and edit the following : subdomain domain localip localport auth (if not already named auth, must be replaced with the identifier of your middleware) ## EXTERNAL ROUTING - Only use if you want to proxy something manually ## routers: HomeAssistantRouter: entryPoints: https rule: "Host(`subdomain.domain.com`)" service: HomeAssistantService middlewares: - auth ## SERVICES ## services: HomeAssistantService: loadBalancer: servers: - url: http://localip:localport Then go check on Traefik's UI to see if there's any error being reported. It should be all green. You'll just need to log on your Auth service before logging in Home Assistant. I tried from the Companion's app and it worked perfectly with Authelia. You are now set, enjoy the automations ! 👏
  10. It works. Reboot bug was because somehow virsh wasn't interpreting the VM name when using parenthesis. So the script part for sleep is : virsh suspend HomeAssistant rc.usb_manager vm_action HomeAssistant disconnect And wake up : rc.usb_manager vm_action HomeAssistant prepare virsh resume HomeAssistant
  11. unraid.usbip-gui is not installed. Seems that's a common issue. I tried reinstalling the plugin and rebooting without success.
  12. I edited these commands by replacing and name of the VM with "HomeAssistant"... But somehow it calls a halt of the system and shut my sytem off when I wake it from sleep. Ah ah ah. I will investigate :).
  13. Hello, thanks for this awesome plugin ! However I have an issue with Home Assistant and the new Sonoff ZigBee bridge USB Key. Each time my Unraid server comes out of sleep, I get a Virsh error on this USB device. I originally wanted to script a disconnection and reconnection of the key but your plugin provide a simpler way to do it than on the VM page. I just have to do VM detach and VM attach to some the error :). Would there be a way for me to script this, simpler, using your plugin ? If I could externally call your functions, it would be a neat way to do it. Thanks.
  14. Now I understand my issues ; I had the grey theme enabled. I realised the "move dockers around" were moved on the side : You should put a warning on front page with supported themes.
  15. Ah ah I need a bit more instructions. 😆 Where should I type debug exactly ?
  16. I tried this pluggin on 6.12.3 and at three occasions the folders I had created disapeared... Lol, frustrating. Back to step 0. But looks better than the older version when it works. I hope it later improves on the unraid limited ordering / delaying.
  17. Update : I was able to benchmark the GPU in a VM. The results were so underwhelming, probably because of the ReBAR requirements that I just stopped trying to improve the situations.
  18. Sooo it worked ! On the other hand I still randomly get the same error on : [8086:460d] 00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02) I modified the script you gave me accordingly but I still get the bug. The UI of the server is unresponsive, but I was able to go check in the related reset_method file : it's empty. However, after crashes, I noticed it's usually not empty ("bus"). GNU nano 7.2 /etc/libvirt/hooks/qemu.d/Window11-Arc_reset #!/usr/bin/env php <?php function log_to_log($m, $type = "NOTICE") { if ($type == "DEBUG" ) return NULL; $m = print_r($m,true); $m = str_replace("\n", " ", $m); $m = str_replace('"', "'", $m); $cmd = "/usr/bin/logger ".'"'.$m.'"' ; exec($cmd); } #Reset # echo > /sys/bus/pci/devices/0000:03:00.0/reset_method # echo > /sys/bus/pci/devices/0000:04:00.0/reset_method # # Note if this fails then the VM will not start. # $vmname = "Windows 11" ; log_to_log("Hooks Arc Clear" .$argv[2]." VM:".$argv[1]) ; if ($argv[2] == 'prepare' && $argv[1] == "$vmname"){ log_to_log( "Clear /sys/bus/pci/devices/0000:03:00.0/reset_method") ; file_put_contents("/sys/bus/pci/devices/0000:03:00.0/reset_method", " ") ; log_to_log( "Clear /sys/bus/pci/devices/0000:04:00.0/reset_method") ; file_put_contents("/sys/bus/pci/devices/0000:04:00.0/reset_method", " ") ; log_to_log( "Clear /sys/bus/pci/devices/0000:01:00.0/reset_method") ; file_put_contents("/sys/bus/pci/devices/0000:01:00.0/reset_method", " ") ; } ?>
  19. As far as I understand, the ARC gpu won't crash if I clearing (both devices) by making sure that this file is empty using : nano /sys/bus/pci/devices/0000:03:00.0/reset_method same for the audio device : 0000:04:00.0 So, the first thing I will do is make sure this manual fix works, restart the VM, clear, etc. I'll report my findings here tonight ! On the other hand, I don't understand yet where I should put the script / the uuid part. I'll check the content of /etc/libvirt/hooks to get some clues tonight too. Don't hesitate if you have any ideas of the directions to take, even if it involves testing. My arrays cries in bad blocks already. I already spent countless (worthless?) hours trying to get that NUC's GPU working as it's a perfect candidate for my use case. Wish I had found that post last month.
  20. Some guys on the Proxmox forum were able to fix the A770M issue I encounter. Any idea how to translate it on Unraid ? Thanks,
  21. Does someone tested passing their Arc dGPU to a VM ? I still get the same system crash :). My poor array isn't enjoying the multiple hard reset. I would be interested to know if I messed up my configuration or if it's simply not working yet.
  22. I think you are simply in the wrong directory. I got the same issue. Go down one directory and check for the presence of the unRAIDServer folder.
  23. I tried with my A770M and I still get the same error. I was getting some errors before, but after adding the GPU and Audio as passthrough on boot, and audio as function in the VM, it seems ok on boot : "Make sure the GuC/HuC firmware loaded without any FAIL or ERROR." : cat /sys/kernel/debug/dri/0/gt/uc/guc_info cat /sys/kernel/debug/dri/0/gt/uc/huc_info [ 15.979594] i915 0000:00:02.0: enabling device (0006 -> 0007) [ 15.980248] i915 0000:00:02.0: [drm] VT-d active for gfx access [ 15.980311] i915 0000:00:02.0: [drm] Using Transparent Hugepages [ 15.989526] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=mem [ 15.993661] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16) [ 15.993905] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915]) [ 16.160451] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1 [ 16.160466] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3 [ 16.174909] i915 0000:00:02.0: [drm] HuC authenticated [ 16.175918] i915 0000:00:02.0: [drm] GuC submission enabled [ 16.175921] i915 0000:00:02.0: [drm] GuC SLPC enabled [ 16.176633] i915 0000:00:02.0: [drm] GuC RC: enabled [ 16.177691] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915]) [ 16.177865] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized [ 16.179762] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0 [ 16.190923] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes [ 16.195256] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes [ 16.195437] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes cat: /sys/kernel/debug/dri/0/gt/uc/guc_info: No such file or directory cat: /sys/kernel/debug/dri/0/gt/uc/huc_info: No such file or directory However on the log I get the same errors and freezes than I had before updating the kernel. Once I boot the VM I get : Jul 12 15:17:36 Server nmbd[9631]: [2023/07/12 15:17:36.016923, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Jul 12 15:17:36 Server nmbd[9631]: ***** Jul 12 15:17:36 Server nmbd[9631]: Jul 12 15:17:36 Server nmbd[9631]: Samba name server SERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.1 Jul 12 15:17:36 Server nmbd[9631]: Jul 12 15:17:36 Server nmbd[9631]: ***** Jul 12 15:17:55 Server webGUI: Successful login user root from 192.168.1.10 Jul 12 15:21:13 Server kernel: br0: port 2(vnet0) entered blocking state Jul 12 15:21:13 Server kernel: br0: port 2(vnet0) entered disabled state Jul 12 15:21:13 Server kernel: device vnet0 entered promiscuous mode Jul 12 15:21:13 Server kernel: br0: port 2(vnet0) entered blocking state Jul 12 15:21:13 Server kernel: br0: port 2(vnet0) entered forwarding state Jul 12 15:21:29 Server kernel: vfio-pci 0000:03:00.0: not ready 1023ms after FLR; waiting Jul 12 15:21:31 Server kernel: vfio-pci 0000:03:00.0: not ready 2047ms after FLR; waiting Jul 12 15:21:34 Server kernel: vfio-pci 0000:03:00.0: not ready 4095ms after FLR; waiting Jul 12 15:21:39 Server kernel: vfio-pci 0000:03:00.0: not ready 8191ms after FLR; waiting Jul 12 15:21:49 Server kernel: vfio-pci 0000:03:00.0: not ready 16383ms after FLR; waiting Jul 12 15:22:05 Server ntpd[1666]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized Jul 12 15:22:06 Server kernel: vfio-pci 0000:03:00.0: not ready 32767ms after FLR; waiting Jul 12 15:22:42 Server kernel: vfio-pci 0000:03:00.0: not ready 65535ms after FLR; giving up Jul 12 15:22:55 Server kernel: vfio-pci 0000:03:00.0: not ready 1023ms after bus reset; waiting Jul 12 15:22:57 Server kernel: vfio-pci 0000:03:00.0: not ready 2047ms after bus reset; waiting Jul 12 15:23:00 Server kernel: vfio-pci 0000:03:00.0: not ready 4095ms after bus reset; waiting Jul 12 15:23:05 Server kernel: vfio-pci 0000:03:00.0: not ready 8191ms after bus reset; waiting Jul 12 15:23:15 Server kernel: vfio-pci 0000:03:00.0: not ready 16383ms after bus reset; waiting Jul 12 15:23:33 Server kernel: vfio-pci 0000:03:00.0: not ready 32767ms after bus reset; waiting Jul 12 15:24:09 Server kernel: vfio-pci 0000:03:00.0: not ready 65535ms after bus reset; giving up Once again, GPU is untouched, and audio is passed as a multifunction device.
  24. You were on point. 6.4 now released.
  25. With this model, I can use both iGPU and dGPU at the same time as I mentionned. The only issue is the Intel Arc support. With a NVIDIA GPU you shouldn't be facing the sames issues. My instance of unraid is booted UEFI but it should't change much.