Troubleshooting
Common errors
Section titled “Common errors”pepper stops at the first error, prints it after ERROR: and exits with code 1. The viewer is not started.
| Message | Meaning | What to do |
|---|---|---|
ERROR: VM/CT 'webserver' not found! |
No guest matches --vmid, or the account may not see it |
Check the id or name — see Options — and VM.Audit in Permissions |
ERROR: no spice port |
The VM’s display is not SPICE | Add --vnc, or set Hardware → Display to SPICE — see SPICE and VNC |
ERROR: VM 100 not running |
SPICE on a stopped VM | Add --start-or-resume |
ERROR: Start VM/CT 100 failed: … |
The start or resume request of --start-or-resume was refused, or its task ended with an error; the reason from Proxmox VE follows |
Often VM.PowerMgmt is missing, or the VM cannot start — read the task log in the web interface |
ERROR: Parameter verification failed. |
--proxy is a URL |
Pass an IP address or a host name — see SPICE proxy |
Option '--viewer' is required. |
--viewer is missing |
Pass the path of remote-viewer |
Option … is not a valid file! |
The --viewer path does not exist |
Check the path; on Windows it contains the viewer version, e.g. VirtViewer v11.0-256 |
For the connection errors (host not reachable, wrong token, certificate) see the connection options in Connection.
The viewer opens and closes, or does not connect
Section titled “The viewer opens and closes, or does not connect”- SPICE: the viewer connects to the SPICE proxy on port 3128, not to port 8006. If the API works but
the SPICE window does not connect, that port is blocked or the address is not reachable from your
computer: open it, choose another node with
--proxy, or use--vnc— see SPICE and VNC. - Ticket: the ticket in the
.vvfile is valid for a short time and for one connection. Run pepper again rather than reopening an old.vvfile.
Waiting for pepper in a script on Windows
Section titled “Waiting for pepper in a script on Windows”On Windows pepper is a windowed program, so that a desktop shortcut opens no black console window. When
you start it from a terminal it attaches to that terminal to print its messages, but Windows does not wait
for it: the prompt comes back at once, the messages appear after it, and $LASTEXITCODE is empty.
In a script, wait for it explicitly:
$p = Start-Process cv4pve-pepper -ArgumentList '@C:\cv4pve\vm100.parm' -Wait -PassThru -NoNewWindow$p.ExitCodeIn cmd, use start /wait. On Linux and macOS pepper is an ordinary console program.
Debug output
Section titled “Debug output”Two options, not listed in --help, show what the tool is doing. They work before or after the command:
| Option | What it does |
|---|---|
--debug | On an error, prints the exception type and stack trace after the ERROR: line.Also logs each Proxmox VE API call: method, URL, status and duration, and the parameters of calls that change data; passwords, tokens and tickets are masked. |
--log-level | Trace, Debug, Information, Warning (default),Error or Critical; overrides --debug.Trace also logs the full API responses; they contain details of your cluster, so review the output before sharing it. |
When you report a problem, attach the output of the failing command run with --debug.
pepper logs its own steps at the same level as the API calls, so they appear with --debug or
--log-level Debug:
| Line | When |
|---|---|
VM is stopped. Start now! / VM is paused. Resume now! |
--start-or-resume on a stopped or paused guest |
Start VM/CT 100: OK. |
The start task ended; a failure stops pepper with an error instead |
Start still running after 5s, continuing. |
The task did not end within --wait-for-startup |
VNC WebSocket URL: …vncticket=**** |
--vnc: the console address on the node, ticket masked |
VNC local port: 50123 |
--vnc: the local port the viewer connects to |
Run FileName: … / Run Arguments: … |
The viewer command pepper starts |
With debug output on, the viewer’s own messages also appear in the terminal.