Troubleshooting and frequently asked questions (FAQ)
This page gathers the most common problems and their solutions: unable to sign in, hypervisor offline, registration script failing, VM creation stuck, IP address conflict, lost 2FA, where to find the logs, and health probes.
Tip: almost always start with the System Status page (side menu) and the backend logs. See Where to find the logs.
I can't sign in: the "Sign in" button does nothing
Symptom: the username and password are correct, no error is shown, but you stay on the sign-in page.
Cause: you are accessing PxVault over plain HTTP (without TLS). Session cookies carry the Secure attribute by default, and a browser silently discards a Secure cookie received over http://. The server authenticates you, but the browser does not keep the session.
At startup, the backend reports this in its logs: session + console cookies: Secure=ON - browsers will DISCARD them on any http:// request, and login will appear to do nothing.
Solutions:
- Recommended: put PxVault behind HTTPS (nginx reverse proxy, Kubernetes ingress, or the Docker Compose TLS mode). See nginx reverse proxy and Operations.
- Temporarily, on a trusted network: add
ALLOW_INSECURE_COOKIES=trueto the backend environment, then restart it. Only the exact valuetrueis taken into account.
Warning: with
ALLOW_INSECURE_COOKIES=true, the session cookie and the password travel in clear text. Remove the variable as soon as TLS is in place. Never useNODE_ENV=developmentinstead: that mode also allows authentication to be disabled.
Other causes of sign-in failure
- Too many failed attempts: after 5 failures (Max Login Failures setting) for the same user from the same address, sign-in is blocked for 15 minutes (Lockout Duration). The sign-in page then shows "Too many failed attempts. Please try again later.". Wait until the delay is over. These settings are in Settings > Security.
- IP allowlist: if Settings > Security > IP Allowlist (Network Restrictions) is filled in, only the listed addresses can use the API. Sign-in itself succeeds, but the following pages respond "Access denied for IP …".
Regain access after an overly strict IP allowlist
If your address is no longer in the list (address changed, reverse proxy reconfigured, list saved by an older version), an operator with access to the server can lift the list temporarily:
- Add
IP_ALLOWLIST_DISABLED=trueto the backend environment, then restart it. The list is then ignored, and a banner warns administrators about it. - Sign in, open Settings > Security and fix IP Allowlist (Network Restrictions) (or empty it).
- Remove the variable and restart the backend.
I lost my phone or my 2FA
- A user has lost their 2FA: an administrator opens Users, clicks Edit for that account, then Reset 2FA and confirms. At the next sign-in, the user enters their password, then chooses a new method on the Secure your account screen.
- You lost your password but not your 2FA app: on the sign-in page, click Forgot password?, then With 2FA code.
- You lost your password and your account has an email address: Forgot password? > By email. An SMTP server must be configured and the backend
APP_URLvariable must be set.
Important: there is no script or environment variable to reset the last administrator. Keep at least two administrator accounts, or a full-access API key stored in a vault: it lets you reset an account's 2FA or password through the API (
POST /api/users/<id>/reset-2fa). PxVault also prevents you from deleting, disabling or demoting the last active administrator.
Details: Users and access.
The server refuses to start
Read the startup diagnostics at the top of the backend logs (pm2 logs, docker compose logs backend): the BLOCKING ERRORS section says exactly what is missing and how to fix it (encryption key, JWT secret, APP_URL in production, database not initialized…). Each case is detailed in Settings and maintenance.
With Docker Compose, APP_URL is required even before launch: docker compose up stops with "set APP_URL in .env".
The "starting…" screen does not go away
The waiting screen stays displayed as long as the backend does not answer "ready" on /api/health/ready. After 90 seconds, it invites you to check the server logs. Usual causes:
- the backend does not start (missing required variable, configuration error): read its logs;
- the database is unreachable;
- a database migration has not been applied (the schema is behind the code). Rerun the migration step: see Operations.
See also Check the application's health.
A hypervisor is "Offline"
PxVault queries each hypervisor every 2 minutes. Offline means that the Proxmox API did not respond correctly with the saved token. Check in this order:
- The TLS certificate. This is the number one cause: a Proxmox node uses a self-signed certificate, and TLS verification is enabled by default (Settings > Security > Verify SSL by Default). Hypervisors added by script inherit it. Solutions:
- recommended: have the backend trust your certificate authority with
NODE_EXTRA_CA_CERTS=/path/to/ca.pem, then restart it; - otherwise: open the hypervisor, Settings tab, Edit, uncheck SSL Verification and save.
- recommended: have the backend trust your certificate authority with
- The network. The PxVault server must reach the node on the API port (8006 by default).
- The API token. If it was deleted or modified in Proxmox, or if privilege separation is enabled without permissions, calls fail. The token cannot be modified from PxVault: delete the hypervisor and add it again.
Then click Refresh (card ⋮ menu) or Refresh statuses to check again immediately. See Add a hypervisor.
The registration script fails
The script shows a clear message before stopping. The most frequent ones:
| Message | Cause and solution |
|---|---|
Please run as root |
Rerun the command as root. |
pvesh not found - run this on a Proxmox host |
The command must be run on the Proxmox node itself. |
Could not install jq. or Could not install openssl. |
apt-get failed. Very often, the Proxmox enterprise repository is enabled without a subscription: it responds 401. Disable it (or add the pve-no-subscription repository), then rerun the command. |
Could not detect a usable host IP |
The script did not find a usable address for the node. Follow the displayed hint to specify the address. |
Registration API failed (HTTP …) |
The node reached PxVault, but registration was refused (for example, hypervisor already registered). |
curl error or timeout during download |
The node cannot reach PxVault at the address contained in the command. Do not open PxVault through localhost when generating the command. |
Other points:
- The command has expired or has already been used. It is single-use and valid for 15 minutes. In the window, click Generate a new command.
- "Registration failed" in the window. Most often, this host and port are already registered. Check the list of hypervisors.
- "Registration OK, but SSH enrollment failed". The hypervisor was added; only SSH access failed. Retry it from the hypervisor's Settings tab.
not from a permitted hostinjournalctl -u sshon the node. The PxVault address allowed for SSH is wrong (reverse proxy, NAT). SetPM_MANAGER_IPin the backend environment, then rerun the enrollment with Reactivate / regenerate.
A VM creation stays "in progress" or fails
Creation is asynchronous: the summary window tracks progress every few seconds ("VM Creation In Progress", then "VM Created Successfully" or "VM Creation Failed"). The Creation Logs section shows each step, and the error is shown in red below these logs.
| Symptom | Cause | What to do |
|---|---|---|
| The button shows "Template not built" | The template is not built on this hypervisor | Build it from the Packer page, or choose a hypervisor where it is ready (Templates and images) |
Template "…-template" not found on hypervisor |
The template was deleted on the Proxmox side after the form was opened | Rebuild the template, then retry |
| The creation is marked failed with "interrupted: the backend stopped…" | The PxVault server restarted during the creation | Check the VM's state in Proxmox; the IPAM and inventory reconciliations set the data straight on their own |
| Nothing has moved for several minutes | Hypervisor unreachable or Proxmox task stuck | Open Logs (action vm.create.failed) and the node's Proxmox tasks |
Tip: an interrupted creation is never restarted automatically (to avoid creating the same machine twice). Restart it yourself once the cause is fixed.
The VM has no network (no Internet, no DNS)
If the machine boots but cannot reach anything (Destination Host Unreachable, Could not resolve …), the problem is almost always between the IP pool and the hypervisor, not inside the VM.
Start by letting PxVault look: in Network / IPAM, open the pool, then on the range, menu ⋯ → Check network (details in Network and IPAM). For a VM that is already created, the Network line of the summary window gives the reason as seen from inside the machine. Mapping between messages and fixes:
| Displayed message | What to do |
|---|---|
| "Bridge … does not exist on …" | Fix the range's Bridge (Edit Range) with one of the listed bridges, or create this bridge on the node. |
| "… on … carries …, outside …: check the range's network and gateway." | The range does not match the bridge's network. Recreate the range with the correct network (for example 10.10.0.0/24, gateway 10.10.0.1), or add the address to the bridge. |
| "The gateway … does not answer on …" / "… does not answer from inside the machine" | Nobody holds the gateway on this bridge (or VLAN): add it to the node or the router, or fix the range's Gateway. |
| "… is the gateway but IP forwarding is off (net.ipv4.ip_forward=0)" | Enable forwarding on the node (sysctl -w net.ipv4.ip_forward=1, and make it permanent in /etc/sysctl.conf), then NAT if the network is private (point 2). |
| "No default route inside the machine." | The range has no Gateway, or cloud-init did not apply the network: check the range, then the VM's Cloud-Init tab. |
| "DNS resolution of … fails." | The range's DNS Server cannot be reached from this network (point 3), or the test name does not exist in your DNS. |
| "Not verified: …" | Nothing abnormal in itself: PxVault could not test (guest agent missing, SSH access not enrolled…). Check manually with the points below. |
The causes, and the checks to do by hand:
- The pool's gateway must exist on the bridge. If the pool announces the gateway
10.0.0.1onvmbr1, the hypervisor (or a router connected to this bridge) must hold this address. Check on the node:ip -br a show vmbr1. - A private network needs NAT (or a router) to reach the Internet. On a standalone Proxmox, this is typically an
iptables -t nat -A POSTROUTING -s <réseau> -o <interface publique> -j MASQUERADErule andnet.ipv4.ip_forward=1. - The pool's DNS servers must be reachable from this network.
Fix the pool in Network / IPAM if its values are wrong: new machines will pick up the correct ones. For a machine that is already created, fix its network in Proxmox (Cloud-Init tab), then restart it.
The Windows console screen is square (1024 × 768)
The console (VNC) shows the VM's screen with its own proportions: it can scale it up or down, never stretch it. On Proxmox's default display (Standard VGA), Windows uses the "Microsoft Basic Display Adapter" and starts at 1024 × 768, a 4:3 format that looks square, with black bars on the left and right.
The console cannot change this resolution itself: the resize request it sends to Proxmox is only honored by VirtIO-GPU (or QXL) adapters with a guest driver that accepts it, not by Standard VGA. The screen resolution is set in the user's session; the QEMU guest agent, which runs as a service, can only store the choice that the Windows templates' script applies at the next logon (see below).
For an existing Windows VM: in the VM's Settings tab, Screen resolution card, choose 1920 × 1080 (or another value), then Apply; Windows applies it at the next logon on the console (see Change a Windows VM's screen resolution). On a VM whose template predates the widescreen console script, or to change it right away in an open session, do it by hand:
- Open the console in VNC and sign in (on the console, not over Remote Desktop).
- Right-click the desktop → Display settings → Display resolution → choose 1920 × 1080 (or 1600 × 900), then Keep changes.
The mode is saved for the machine's display: it persists after a restart and also applies to the sign-in screen.
If no widescreen resolution is offered:
- The VM's Hardware › Display in Proxmox must be Default or Standard VGA, with at least 16 MB of memory (
vga: std,memory=32works). - If the VM boots in UEFI (OVMF), the firmware sets the resolution and Windows cannot change it: at boot, press Esc, then Device Manager › OVMF Platform Configuration › Change Preferred Resolution, choose 1920x1080, save and restart. PxVault's Windows templates boot in BIOS (SeaBIOS) and are not affected.
VMs created from a Windows template built with a recent version of PxVault already start at 1920 × 1080 (see Windows templates). To disable this setting, create the value Disabled (DWORD, 1) under HKLM\SOFTWARE\PxVault\Display in the VM; to choose another preferred resolution, set the string value PreferredResolution (for example 1600x900) in the same place.
Linux VMs are not affected by this setting: the text console (xTerm.js) always fits the area, and in VNC the screen is scaled the same way. With a VirtIO-GPU adapter and a graphical desktop that supports resizing, the guest's screen even follows the console's size.
Enable the console's shared clipboard
Without any particular setup, Ctrl+V in the VNC console types the text key by key (at most 500 characters without confirmation), and text copied in the VM does not come back to your clipboard. For a real shared clipboard - instant paste of any length, copying from the VM to your computer - the VM's clipboard must be connected to the console:
- Proxmox VE 8.1 or later on the hypervisor.
- In Proxmox, the VM's Hardware › Display: Clipboard = VNC. From the command line, keeping the current type and memory:
qm set <vmid> --vga std,memory=32,clipboard=vnc. - Shut down, then start the VM from Proxmox (a reboot from inside the guest is not enough for a hardware change).
- In the VM, a clipboard agent must run in the graphical session:
spice-vdagenton a Linux desktop, the SPICE guest tools on Windows.
PxVault detects it on its own when the console opens: the API returns vncClipboard: true in the response to POST /api/vms/{vmid}/terminal, and the console then goes through the VM's clipboard. If the agent is missing in the VM, the paste is silently lost: install it, or uncheck Ctrl+V pastes into the VM to go back to typing.
Good to know before enabling it: according to the Proxmox documentation, live migration is not supported with the VNC clipboard, and it replaces the SPICE clipboard. PxVault therefore does not enable it by default on templates.
IP address conflicts
PxVault checks an address before handing it out, but Proxmox and the network can drift apart.
- "IP … is already used by VM|LXC …": the address you chose manually is already configured on another Proxmox guest. Choose another one, or leave automatic mode on.
- "IP … responds to ping and cannot be used": a machine already answers on this address (even outside Proxmox). In automatic mode, PxVault sets it to Reserved ("Auto-reserved: IP responded to ping…") and tries the next one.
- "No IP address available for this hypervisor": the pool is full or not assigned to this hypervisor. Add a range or assign the pool in Network / IPAM.
- Duplicates reported in the "IPAM Sync Report" ("Duplicate IPs in Proxmox"…): they are reported, never fixed automatically. Fix the configuration in Proxmox, then click "Sync IPAM".
- An address stays "Assigned" after a VM is deleted outside PxVault: it is released after the grace period (20 min by default). To release it right away: Network / IPAM → pool → range → click the address → Status "Available" → "Save".
Details: Network and IPAM.
Where to find the logs
Depending on what you are looking for, the backend logs are in two places:
- In the database, in the interface: the Logs page of the side menu shows the history of actions (Actions tab: who did what, when) and the server's warnings and errors (Warnings and errors tab). These two tabs are shared by all PxVault instances: they show the same thing whichever instance answers you, and also work in containers. This is the first place to look. See Monitoring and alerts.
- On the server, for details: verbose logs (information, debugging, traces of Proxmox calls) are not in the database:
- in files, in the directory set in Settings > Logs and retention > Log directory (by default
/var/log/pxvault; a relative path starts from the project root); the Files (this instance) tab of the Logs page shows them, but only those of the instance that answered; - on the process's standard output. With Docker Compose:
docker compose logs backend(orfrontend). With PM2:pm2 logs pxvault-backend. On Kubernetes:kubectl logs deploy/proxmox-backend.
- in files, in the directory set in Settings > Logs and retention > Log directory (by default
Tip: if the
LOG_TO_STDOUT_ONLY=truevariable is set (recommended in containers and with several replicas), no file is written: everything goes to standard output, and reading log files through the API is disabled. Actions, errors and warnings can still be viewed on the Logs page. With several instances, centralize standard output with your platform's log collector (Loki, ELK, CloudWatch…): each instance writes only its own share there.
The backend logs at startup show, among other things, the cookie policy (see the first question on this page).
Check the application's health
Two public addresses, without authentication, let you check the backend's state:
| Address | Question asked | Answer |
|---|---|---|
/api/health/live |
Is the process running? | Answers without touching the database. Use it for a liveness probe. |
/api/health/ready |
Can the backend serve requests? | 200 if all is well. 503 if the database is unreachable, if a migration is missing, if the settings are not loaded yet, or during a shutdown. Use it for a readiness probe and a load balancer. |
Example:
curl -s https://pxvault.example.com/api/health/ready
The response details each check (checks), which helps find the cause of a 503. The System Status page of the interface gives a more complete view.