---
title: "Proxmox VE: interface and Perl backend fixes | VulCode"
description: "Fixes in Proxmox VE in JavaScript and Perl: qcow2 images named .img, mapping name validation, jobs without a task log, storage directories and NUMA hugepages."
url: "https://vulcode.com/en/opensource/contributions/proxmox-ve"
lang: "en"
---

[All contributions](https://vulcode.com/en/opensource/contributions)

proxmox/pve-manager

# Proxmox VE

A server virtualisation platform with KVM machines and LXC containers, managed from the browser. It takes fixes through the pve-devel mailing list rather than pull requests.

[See the repository](https://git.proxmox.com/?p=pve-manager.git) [All contributions](https://vulcode.com/en/opensource/contributions)

- **Language**: Perl and JavaScript
- **Merged changes**: 11
- **Project site**: [proxmox.com](https://www.proxmox.com/en/products/proxmox-virtual-environment)

## What we changed

In the interface we fixed uploading and downloading .img images, aliases in IPSets, mapping name validation and IPv6 comments in the network selector. In the Perl backend, scheduled jobs no longer get stuck after losing a task log, pve-storage no longer deletes shared directories, migration names the snapshot holding a local ISO, and hugepages work with NUMA host nodes from 10 upwards.

### What this work shows

- ExtJS forms with API-consistent validation

- Perl modules and Test::More tests

- QEMU migration and NUMA hugepages

- Patches through the pve-devel mailing list

What was broken

### The upload window got the file name and format wrong

The file field showed the name with the C:\fakepath\ prefix that browsers add on every system. A .img file uploaded or downloaded from a URL as import content got a .raw suffix, so a qcow2 image such as the Ubuntu cloud image was imported as a raw disk and the guest did not boot.

How we fixed it

### Just the file name and an explicit format choice

The field now shows only the name from the file object, and the upload itself works as before. For .img files the upload and download-from-URL windows show a format selector and append the extension of the chosen format, and the upload stays disabled until a format is picked.

[#6475](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=e42092e) [#8015](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=2380c3d) [#8015](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=ebf648d)

What was broken

### Forms offered wrong values and dropped data

The window for adding an IPSet entry offered aliases already in the set, and picking one ended in an "already exists" error from the API. The name field of PCI, USB and directory mappings accepted any text, such as gpu@node1, and rejected it only after submitting, while the network selector dropped the comments of IPv6 entries.

How we fixed it

### An interface that matches the API

The alias selector receives the current entries and filters them out. Mapping name fields use the ConfigId validation, so the error shows at once and the tooltip lists the allowed characters. NetworkSelector takes the comment from the comments property, because that is where the API returns IPv6 comments, and it never returns comments6.

[#7108](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=8efee57) [#5608](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=55c76c2) [#6943](https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commit;h=b92a9ad)

What was broken

### A scheduled job stopped for good

When the task log of a job's last run was gone, for example after a crash, the scheduler aborted its check with "no such task". The job was skipped on every iteration and never ran again until someone cleaned up its state file by hand.

How we fixed it

### A missing log no longer blocks the scheduler

In PVE/Jobs.pm we first check whether the task is still running. If it is not and the log is missing, the scheduler prints a warning, treats the task as failed and schedules the job again, as Proxmox Backup Server does.

[#4986](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=ac0c87d)

What was broken

### Deleting the last file removed its directory

After removing a volume, free_image always tried to remove the parent directory. Deleting the last ISO, template, snippet or import file thus removed the shared content directory, and pvestatd re-created it as root:root, without the ownership and mode the admin had set up.

How we fixed it

### Cleanup only for per-guest directories

The empty parent directory is now removed only after guest disk images, the only volumes stored in per-guest directories. We added a free_image test for five content types that checks which directory stays.

[#6969](https://git.proxmox.com/?p=pve-storage.git;a=commit;h=c10faa6)

What was broken

### Migration did not say where the ISO came from

When a VM no longer had a local ISO attached but a snapshot still referenced it, migration failed with "local cdrom image". The image was not in the current configuration, so the message gave no hint where it came from.

How we fixed it

### The error names the snapshot

The error now lists the snapshots that reference the image, as the message for a physical drive already did. We extended the migration test mocks to volumes other than disks and added a test with an ISO referenced only by a snapshot.

[#4012](https://git.proxmox.com/?p=qemu-server.git;a=commit;h=5abda85) [#4012](https://git.proxmox.com/?p=qemu-server.git;a=commit;h=a4efa5f)

What was broken

### Hugepages rejected NUMA nodes from 10 upwards

With hugepages enabled, each guest NUMA node must be bound to a single host node. A regex that accepted only one digit checked this, so host node 10 and above failed with a misleading "more than 1 hostnode value" error, and hugepages were unusable on hosts with more than ten NUMA nodes.

How we fixed it

### Any single node number

The regex in hugepages_topology now accepts a node number of any length, while ranges and lists of nodes are still rejected. The memory tests cover host node 10.

[#6907](https://git.proxmox.com/?p=qemu-server.git;a=commit;h=167f3d7)

## Merged changes 11

- [#6907 fix #6907: memory: allow multi-digit host nodes with hugepages (qemu-server) Merged 14 October 2026](https://git.proxmox.com/?p=qemu-server.git;a=commit;h=167f3d7)

- [#6969 fix #6969: plugin: keep content directory when freeing its last file (pve-storage) Merged 9 October 2026](https://git.proxmox.com/?p=pve-storage.git;a=commit;h=c10faa6)

- [#4012 test: migration: support volumes other than images (qemu-server) Merged 9 October 2026](https://git.proxmox.com/?p=qemu-server.git;a=commit;h=5abda85)

- [#4012 partially fix #4012: migrate: mention snapshots referencing a local ISO image (qemu-server) Merged 9 October 2026](https://git.proxmox.com/?p=qemu-server.git;a=commit;h=a4efa5f)

- [#4986 fix #4986: jobs: do not get stuck if the task log is missing Merged 6 October 2026](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=ac0c87d)

- [#6475 fix #6475: ui: upload: only show the file name of the selected file Merged 30 September 2026](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=e42092e)

- [#7108 fix #7108: ui: ipset: do not offer aliases that are already added Merged 30 September 2026](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=8efee57)

- [#8015 fix #8015: ui: upload: let the user choose the .img image format Merged 30 September 2026](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=2380c3d)

- [#8015 fix #8015: ui: download url: let the user choose the .img image format Merged 30 September 2026](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=ebf648d)

- [#5608 fix #5608: ui: resource mappings: validate the name like the API does Merged 30 September 2026](https://git.proxmox.com/?p=pve-manager.git;a=commit;h=55c76c2)

- [#6943 fix #6943: ui: network selector: show comments of IPv6 entries (proxmox-widget-toolkit) Merged 30 September 2026](https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commit;h=b92a9ad)

## What it taught us

In a large infrastructure project the bug sits on both sides: in ExtJS forms that have to validate data the way the API does, and in Perl modules where we add tests that reproduce the bug. The patches went through a mailing list, so each one had to stand on its commit message alone.

## Other projects we write code for

- [**Node.js** JavaScript · 123,955 stars The JavaScript runtime built on V8 that runs servers, command line tools and front-end build pipelines. It ships a built-in node:sqlite module for working with SQLite databases.](https://vulcode.com/en/opensource/contributions/nodejs)

- [**Godot Engine** C++ · 120,623 stars An open source, multi-platform 2D and 3D game engine with its own editor, where game developers build scenes and interfaces.](https://vulcode.com/en/opensource/contributions/godot)

- [**Material UI** JavaScript · 99,391 stars A React component library that implements Google's Material Design: ready-made text fields, selects, buttons and other interface elements.](https://vulcode.com/en/opensource/contributions/material-ui)

- [**Zed** Rust · 95,562 stars A fast code editor in Rust from the creators of Atom and Tree-sitter, with live multiplayer editing.](https://vulcode.com/en/opensource/contributions/zed)

- [**uv** Rust · 92,647 stars An extremely fast Python package and project manager written in Rust. It creates projects, installs dependencies and manages virtual environments.](https://vulcode.com/en/opensource/contributions/uv)

- [**Grafana** TypeScript · 78,050 stars An open observability and data visualisation platform that shows metrics, logs and traces from Prometheus, Loki, Elasticsearch, PostgreSQL and many other sources on dashboards.](https://vulcode.com/en/opensource/contributions/grafana)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)
