Search results for query: "hook script"

  1. leesteken

    Drives Not Spun Down Gracefully on Proxmox Shutdown (HBA Passthrough to TrueNAS)

    Happy to hear that you figured it out. I don't know and have no experience with your hardware or its driver. Maybe also send some kind of spin-down command in the hookscript? This is most certainly not specific to Proxmox and internet guides or other Linux user experiences with this...
  2. B

    [SOLVED] Blank WebUI after Update to 8.4.5

    Solution for me: https://github.com/bashclub/proxmox-zfs-postinstall Important Please download the updated version of this script and re-run, if your Proxmox WebUI doesn't show up after update to 8.4.5 or 9.0.0 beta
  3. G

    Drives Not Spun Down Gracefully on Proxmox Shutdown (HBA Passthrough to TrueNAS)

    Thanks! I added a hook script to load the driver once the VM is shut down. The drives are now visible and the data is accessible. However, they still make a mechanical "clunk" sound when Proxmox shuts down — as if they're being powered off abruptly. Is that normal behavior? Or do I need to...
  4. B

    [SOLVED] Blank WebUI after Update to 8.4.5

    Hello Community, i have the same problem here. After Update pve-manager 8.4.4 to 8.4.5 When I call up the WebGUI, a blank screen appears. I cant do anything. What information can I provide to fix the problem? Best regards, Thomas /var/log/apt/term.log grep -C3 -Ei 'error|warn|fail'...
  5. T

    kernel update (6.8.12-13) prints error message

    I got the following error message during today's apt-get dist-upgrade: E: bootctl is not available - make sure systemd-boot is installed As far as I remember this is the first time seeing this message during a kernel update. I haven't modified the system by uninstalling random packages, so I...
  6. J

    Proxmox backup with LXC Container

    Ok I see, then you need to use the proxmox backup client for the backup. You could create a systemd timer or cronjob inside the container to do it. Another option might be to configure the backup job to contain a hook script which will call the client...
  7. M

    Hook Script

    Hallo zusammen, ich will ein Hook Script machen was bei erfolgreichem Backup meinem Monitoring sagt via NSCA ok Dafür habe ich mit ein debug Script gemacht was mir alle Ausgaben zurück gibt mir Werten wenn es über die /etc/vzdump.conf ausgeführt wird. script: /root/scripts/log_var.sh...
  8. I

    Custom Machine Types

    Hi you guys, I am seeking advice on how I might best tackle an issue I have with my setup with Proxmox VE. I shall do my best here to keep my issue as brief and straight to the point as possible; I may omit details that may end up proving vital -- please ask and I will respond back accordingly...
  9. cheiss

    martian source false positive

    Hi, this is controlled by the net.ipv4.conf.<interface>.log_martians sysctl - by default this is turned off, so you might need to first check where it get's enabled (typically somewhere in /etc/sysctl.d/). See also the kernel documentation...
  10. M

    GRUB Hangs When No Monitor Connected or Serial Console Active

    I have a peculiar issue when my headless PBS boots. I do not run the PBS 24x7 as I only need to backup/verify data in small time windows, so I use a vzdump-hook script on my PVE to startup and shutdown my PBS when needed. If I have a monitor connected the PBS boots without issue. If I have a...
  11. F

    3 PVE 8.1.4 fresh install and updated, after reboot networking does not start at boot.

    I found this work around that resolve my problem. root@virt12:~# echo "blacklist bnxt_re" | sudo tee /etc/modprobe.d/blacklist-bnxt_re.conf blacklist bnxt_re root@virt12:~# update-initramfs -u update-initramfs: Generating /boot/initrd.img-6.8.12-11-pve Running hook script 'zz-proxmox-boot'...
  12. T

    Ubuntu 24.04 VM Crashes with RX 7900 XTX Passthrough on Proxmox 9.2.0 (Kernel 6.8.12-9-pve+)

    Issues/Description: I set up Proxmox on my server, and started working on setting up an Ubuntu 24.04.02 VM, with an end goal of hosting ollama with GPU passthrough. During initial setup of Ubuntu VM, it worked great, was quite stable and initially had little issues. After adding the GPUs for...
  13. VictorSTS

    Shut down a VM when a different hosts shuts down

    This doesn't feel logical IMHO. If you will end up starting the VM again in any of your surviving hosts, it will eventually use the same amount of memory it had before the shutdown, risking OOM killer on the host it is running in. Maybe a simpler option could be to use memory ballooning for that...
  14. Chris

    Backups incomplete

    Yes, see the excerpt from the task log: This is a bind mount point, therefore not part of the backup, see https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_bind_mount_points /mnt/vzsnap0 in above part is basically your container root filesystem, and the excludes tell what is being...
  15. Chris

    Trigger hook script only once after backup

    Hi, the script gets triggered at different stages of a backup process to allow to act upon these individually. You will get the phase as first argument passed to the script. For an example (as Perl code, but works analogous for a bash script) see...
  16. J

    Trigger hook script only once after backup

    Hi! I have configured a hook script in /etc/pve/jobs.cfg like so: vzdump: backup-328b29be-c494 schedule 3:00 all 1 enabled 1 exclude 101 exclude-path /mnt/datapool/images/103 fleecing 0 mode stop notes-template {{guestname}}...
  17. A

    GPU passthrough with a stopped VM and backup kernel panic

    I have a rarely used VM configured for GPU passthrough, this VM is manually started when needed. The same GPU is passed through to an LXC container that is running most of the time. I have hookscripts on both VM and LXC that stop the other when one is starting. This works pretty well. As part...
  18. G

    After backup my VM is frozen

    Not really, because "Stop mode" shutdown VM, do snapshot, start backup, then immediately start VM, backup continue as background, so I/O stress can exist. I was impacted sometimes ago with ZFS on slow 2'5 HDD, some services at VM restart did not start correctly, like SQL... disk was replaced but...
  19. D

    [SOLVED] Update from 8.3.3 to 8.4.1 - GRUB issue, how to correct boot setup?

    Fabian, Thanks for the linkj. That was really helpful. I also have a Supermicro and it was on BIOS 1.3. Same as @PATTERSON108. I have updated the BIOS to 2.6. That solved the issues. "dpkg --configure -a" now ran through without error and no reboot of the system. "grub-install -v" did go...
  20. D

    [SOLVED] Update from 8.3.3 to 8.4.1 - GRUB issue, how to correct boot setup?

    Not sure where I need to go and fix this... Please help.. After I upgraded a node from 8.3.3 to 8.4.1, proxmox did not boot anymore. A co-worker installed this cluster and did not do much of documentation. So I checked if I needed to fix the boot with grub-install or proxmox-boot-tool...