Troubleshooting

ascii codec can’t decode byte 0xe2 in position

Sed Failed to run vncproxy.

Failed to run vncproxy

Root cause: SSH vncproxy proxy tunnel between pve nodes are not auto-accepted.

VM consoles can be access on each local cluster node, but not on remote cluster nodes. May be confirmed by manually ssh’ing to other nodes and confirming that the connection is denied or the host key has changed. Frequently happens when node host keys are regenerated.

Resolve by clearing root and host known_hosts and syncing pve certificates.

On affected nodes
rm /root/.ssh/known_hosts
rm /etc/ssh/ssh_known_hosts
pvecm updatecerts

Reference

Wrong Timezone

Containers assume UTC. Explicitly set timezone.

timedatectl
timedatectl list-timezones
timedatectl set-timezone America/Los_Angeles

Corrupted Terminal Characters or No UTF-8 Support

Containers do not have locals set by default. Specify default locales for the container to use.

0644 root root /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=en_US.UTF-8
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
Update locales and save.
locale-gen en_US.UTF-8
dpkg-reconfigure --frontend=noninteractive locales
update-locale LAN=en_US.UTF-8

Reference

LXC Long Boot Times or No Console

Debian based systems will pause for up to 5 minutes on boot waiting for SLAAC IPv6 configuration information; appearing to have no console. Disable IPv6 if not actively used.

See Disable IPv6.

Reference