homeassistant-core-install doesn't update correctly #570

Closed
opened 2026-02-04 19:54:56 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @radry on GitHub (Mar 1, 2025).

Originally assigned to: @michelroegl-brunner on GitHub.

Have you read and understood the above guidelines?

yes

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

homeassistant-core-install.sh

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant-core.sh)"

📝 Provide a clear and concise description of the issue.

The script claims it's updateable however it doesn't update HA core to a newer version than 2024.12.5

I assume it's because my LXC container runs Python 3.12 which isn't supported anymore in newer HA versions. The current HA core install script installs python 3.13, however when using "update" it only attempts to update HA core and not python.

⚙️ What settings are you using?

  • Default Settings
  • [] Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 24.10

🔄 Steps to reproduce the issue.

Install the script a few months ago.
Run "update" in the LXC shell.
No update happens although there is a newer HA version avalable.
It also doesn't update python to 3.13

Paste the full error output (if available).

🖼️ Additional context (optional).

No response

Originally created by @radry on GitHub (Mar 1, 2025). Originally assigned to: @michelroegl-brunner on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? homeassistant-core-install.sh ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant-core.sh)" ### 📝 Provide a clear and concise description of the issue. The script claims it's updateable however it doesn't update HA core to a newer version than 2024.12.5 I assume it's because my LXC container runs Python 3.12 which isn't supported anymore in newer HA versions. The current HA core install script installs python 3.13, however when using "update" it only attempts to update HA core and not python. ### ⚙️ What settings are you using? - [x] Default Settings - [] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 24.10 ### 🔄 Steps to reproduce the issue. Install the script a few months ago. Run "update" in the LXC shell. No update happens although there is a newer HA version avalable. It also doesn't update python to 3.13 ### ❌ Paste the full error output (if available). - ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issuequestion labels 2026-02-04 19:54:56 +03:00
Author
Owner

@michelroegl-brunner commented on GitHub (Mar 1, 2025):

Try to run this please:

apt-get update
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
apt-get remove --purge -y python3.12 python3.12-dev python3.12-venv

apt-get install -y \
  python3.13 \
  python3-pip \
  python3.13-dev \
  python3.13-venv

ln -sf /usr/bin/python3.13 /usr/bin/python3
@michelroegl-brunner commented on GitHub (Mar 1, 2025): Try to run this please: ```bash apt-get update rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED apt-get remove --purge -y python3.12 python3.12-dev python3.12-venv apt-get install -y \ python3.13 \ python3-pip \ python3.13-dev \ python3.13-venv ln -sf /usr/bin/python3.13 /usr/bin/python3 ```
Author
Owner

@radry commented on GitHub (Mar 1, 2025):

apt-get install -y
python3.13
python3-pip
python3.13-dev
python3.13-venv

Doesn't work:

E: Unable to locate package python3.13
E: Couldn't find any package by glob 'python3.13'
E: Couldn't find any package by regex 'python3.13'
E: Unable to locate package python3.13-dev
E: Couldn't find any package by glob 'python3.13-dev'
E: Couldn't find any package by regex 'python3.13-dev'
E: Unable to locate package python3.13-venv
E: Couldn't find any package by glob 'python3.13-venv'
E: Couldn't find any package by regex 'python3.13-venv'

As far as I know official Ubuntu 24.10 repositories don't have Python 3.13 yet. We need an extra repo.

@radry commented on GitHub (Mar 1, 2025): > apt-get install -y \ > python3.13 \ > python3-pip \ > python3.13-dev \ > python3.13-venv Doesn't work: ``` E: Unable to locate package python3.13 E: Couldn't find any package by glob 'python3.13' E: Couldn't find any package by regex 'python3.13' E: Unable to locate package python3.13-dev E: Couldn't find any package by glob 'python3.13-dev' E: Couldn't find any package by regex 'python3.13-dev' E: Unable to locate package python3.13-venv E: Couldn't find any package by glob 'python3.13-venv' E: Couldn't find any package by regex 'python3.13-venv' ``` As far as I know official Ubuntu 24.10 repositories don't have Python 3.13 yet. We need an extra repo.
Author
Owner

@MickLesk commented on GitHub (Mar 1, 2025):

24.10 has since october python3.13

Are you sure that you have 24.10?

@MickLesk commented on GitHub (Mar 1, 2025): 24.10 has since october python3.13 Are you sure that you have 24.10?
Author
Owner

@radry commented on GitHub (Mar 1, 2025):

Are you sure that you have 24.10?

Oh, just found out it's 24.04.. but I don't know why because I selected 24.10 during the script installation, as it said it is required.

@radry commented on GitHub (Mar 1, 2025): > Are you sure that you have 24.10? Oh, just found out it's 24.04.. but I don't know why because I selected 24.10 during the script installation, as it said it is required.
Author
Owner

@MickLesk commented on GitHub (Mar 1, 2025):

Can you reproduce with an new Install?

Please share Install Screenshot & Release Info after install

@MickLesk commented on GitHub (Mar 1, 2025): Can you reproduce with an new Install? Please share Install Screenshot & Release Info after install
Author
Owner

@radry commented on GitHub (Mar 1, 2025):

Can you reproduce with an new Install?

Please share Install Screenshot & Release Info after install

A new install of the script selecting Ubuntu 24.10 will install it correctly.

Unfortunately updating my current LXC with 24.04 to 24.10 and then installing Python 3.13 (as shown above how to do it) breaks HA. The webinterface is not reachable anymore.
Maybe the problem is that HA core uses a venv?

@radry commented on GitHub (Mar 1, 2025): > Can you reproduce with an new Install? > > Please share Install Screenshot & Release Info after install A new install of the script selecting Ubuntu 24.10 will install it correctly. Unfortunately updating my current LXC with 24.04 to 24.10 and then installing Python 3.13 (as shown above how to do it) breaks HA. The webinterface is not reachable anymore. Maybe the problem is that HA core uses a venv?
Author
Owner

@MickLesk commented on GitHub (Mar 1, 2025):

There is an Upgrade Guide in discussion. That works

@MickLesk commented on GitHub (Mar 1, 2025): There is an Upgrade Guide in discussion. That works
Author
Owner

@radry commented on GitHub (Mar 1, 2025):

There is an Upgrade Guide in discussion. That works

Thank you, worked fine.

@radry commented on GitHub (Mar 1, 2025): > There is an Upgrade Guide in discussion. That works Thank you, worked fine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#570