Container Creation Issues
CTID already in use (Exit Code 206)
CTID already in use (Exit Code 206)
- Error message: “CTID already in use”
- Exit code 206
-
Check existing containers:
-
Check for ghost containers:
- Choose a different CTID (≥100, as 1-99 are reserved for Proxmox)
/etc/pve/lxc/ but not in pct list, you have a ghost container. Remove the config file manually and retry.Template download failed (Exit Code 222)
Template download failed (Exit Code 222)
- Network connectivity issues
- Storage space problems
- Corrupted template cache
-
Check internet connectivity:
-
Verify storage space:
-
Update template list and retry:
-
Delete corrupted template (if exists):
Password contains special characters (Exit Code 207)
Password contains special characters (Exit Code 207)
- Exit code 207
- Error about password format
-, /, \, *, !, @Solutions:- Use alphanumeric passwords
- Avoid leading/trailing special characters
- Use strong passwords with mixed case, numbers, and letters
Not enough storage space (Exit Code 214)
Not enough storage space (Exit Code 214)
-
Check available storage:
-
Free up space:
- Use a different storage location with more space
- Increase storage allocation if using thin provisioning
Storage does not support rootdir (Exit Code 217)
Storage does not support rootdir (Exit Code 217)
iscsidirect(VMs only)cephfs(use RBD instead)pbs(backups only)
dir(directory)zfspoollvm-thinrbd(Ceph RBD)
Debian 13.1 Template Issues
Unsupported Debian version "13.1"
Unsupported Debian version "13.1"
pve-container package doesn’t recognize Debian 13 (Trixie).Solutions:Option 1: Full System Upgrade (Recommended)
Option 2: Update Only pve-container
Option 3: Verify Repository Configuration
Many users disable Enterprise repos but forget to add no-subscription repos.For PVE 9 (Trixie):Package Management Issues
APT package manager errors (Exit Code 100)
APT package manager errors (Exit Code 100)
APT configuration error (Exit Code 101)
APT configuration error (Exit Code 101)
-
Check sources.list:
- Fix syntax errors in repository files
- Remove duplicate or conflicting repositories
-
Run apt update to verify:
DPKG lock held by another process (Exit Code 102)
DPKG lock held by another process (Exit Code 102)
- Wait for the other process to complete
-
Check running processes:
-
If no process is running but lock persists:
Cluster and Network Issues
Cluster not quorate (Exit Code 210)
Cluster not quorate (Exit Code 210)
- Bring offline nodes back online
- Fix network connectivity between nodes
- For development/testing with single node:
Container has no IP address (Exit Code 118)
Container has no IP address (Exit Code 118)
-
Verify container network configuration:
- Check DHCP server if using DHCP
-
Set static IP:
-
Restart container:
No internet connectivity (Exit Code 122)
No internet connectivity (Exit Code 122)
- Verify gateway configuration
- Check firewall rules on host
- Verify DNS servers are set correctly
- Check if NAT is configured properly on host
Application-Specific Issues
Database connection failed
Database connection failed
Node.js out of memory (Exit Code 243)
Node.js out of memory (Exit Code 243)
-
Increase memory limit:
- Allocate more RAM to the container
- Optimize application code to use less memory
Python installation aborted (Exit Code 162)
Python installation aborted (Exit Code 162)
-
Use virtual environment (recommended):
-
Use
--break-system-packagesflag (use with caution):
General Troubleshooting Steps
- Check the logs - See Logs for log locations
- Enable debug mode - See Debug Mode for verbose output
- Verify exit code - See Exit Codes for detailed meanings
- Check system resources - Ensure adequate CPU, RAM, and disk space
- Review recent changes - Check if recent updates or configuration changes caused the issue
Getting Help
If you’re still experiencing issues:- Collect relevant logs and error messages
- Note the exit code and error description
- Document steps to reproduce the issue
- Open an issue on GitHub
- Proxmox VE version
- Script name and version
- Complete error message and exit code
- Relevant log excerpts
- Steps to reproduce