[GH-ISSUE #7904] HomeAssistant install error #1673

Closed
opened 2026-02-26 12:49:49 +03:00 by kerem · 1 comment
Owner

Originally created by @ShaMAD on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7904

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

HomeAssistant

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/homeassistant.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-2-pve)

📝 Provide a clear and concise description of the issue.

🆔 Container ID: 106
📦 Container Type: Unprivileged
🔐 Root Password: Automatic Login
🏠 Hostname: nb6-ha
💾 Disk Size: 16 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr0
📡 IP Address: DHCP
🌐 Gateway IP Address: Default
📡 APT-Cacher IP Address: No
⚙️ Interface MTU Size: 1500
📡 IPv6 Address: auto
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🔗 MAC Address: Host
🏷️ Vlan: Host
🔑 Root SSH Access: no
🗂️ Enable FUSE: No
🗂️ Enable TUN: No
🔍 Verbose Mode: yes
🚀 Creating a Home Assistant LXC using the above settings
✔️ Storage local (Free: 1.3TB Used: 110.4GB) [Template]
✔️ Storage local (Free: 1.3TB Used: 110.4GB) [Container]
✔️ Cluster is quorate
✔️ Template debian-12-standard_12.7-1_amd64.tar.zst [local]
✔️ LXC Container 106 was successfully created.
✔️ Started LXC Container
✔️ Network in LXC is reachable (ping)
Customizing LXC Containersed: -e expression #1, char 0: no previous regular expression

[ERROR] in line 1326: exit code 0: while executing command pct exec "$CTID" -- bash -c "sed -i '/$LANG/ s/^# //' /etc/locale.gen"

🔄 Steps to reproduce the issue.

  1. Setup in Default or Advanced mode
  2. Install

Paste the full error output (if available).

[ERROR] in line 1326: exit code 0: while executing command pct exec "$CTID" -- bash -c "sed -i '/$LANG/ s/^# //' /etc/locale.gen"

🖼️ Additional context (optional).

No response

Originally created by @ShaMAD on GitHub (Sep 25, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7904 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? HomeAssistant ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/homeassistant.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-2-pve) ### 📝 Provide a clear and concise description of the issue. 🆔 Container ID: 106 📦 Container Type: Unprivileged 🔐 Root Password: Automatic Login 🏠 Hostname: nb6-ha 💾 Disk Size: 16 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🌉 Bridge: vmbr0 📡 IP Address: DHCP 🌐 Gateway IP Address: Default 📡 APT-Cacher IP Address: No ⚙️ Interface MTU Size: 1500 📡 IPv6 Address: auto 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🔗 MAC Address: Host 🏷️ Vlan: Host 🔑 Root SSH Access: no 🗂️ Enable FUSE: No 🗂️ Enable TUN: No 🔍 Verbose Mode: yes 🚀 Creating a Home Assistant LXC using the above settings ✔️ Storage local (Free: 1.3TB Used: 110.4GB) [Template] ✔️ Storage local (Free: 1.3TB Used: 110.4GB) [Container] ✔️ Cluster is quorate ✔️ Template debian-12-standard_12.7-1_amd64.tar.zst [local] ✔️ LXC Container 106 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ⏳ Customizing LXC Containersed: -e expression #1, char 0: no previous regular expression [ERROR] in line 1326: exit code 0: while executing command pct exec "$CTID" -- bash -c "sed -i '/$LANG/ s/^# //' /etc/locale.gen" ### 🔄 Steps to reproduce the issue. 1. Setup in Default or Advanced mode 2. Install ### ❌ Paste the full error output (if available). [ERROR] in line 1326: exit code 0: while executing command pct exec "$CTID" -- bash -c "sed -i '/$LANG/ s/^# //' /etc/locale.gen" ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:49:49 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Sep 25, 2025):

your host has issues, whats the output if you hit:
echo $LANG

and from the broken lxc:
pct exec 106 -- grep UTF-8 /etc/locale.gen

& next time, fill the correct OS - its debian 12

<!-- gh-comment-id:3334325841 --> @MickLesk commented on GitHub (Sep 25, 2025): your host has issues, whats the output if you hit: echo $LANG and from the broken lxc: pct exec 106 -- grep UTF-8 /etc/locale.gen & next time, fill the correct OS - its debian 12
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#1673
No description provided.