Proxmox VE Helper-Scripts & Other News

The helper-scripts now include the option to utilize Apt-Cacher-NG (found in Advanced settings) when creating LXCs. This added functionality is expected to decrease bandwidth usage and expedite package installation and updates.

Starting today (2024-02-06), the scripts at https://helper-scripts.com will only work with PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later, and will no longer provide support for Proxmox VE 7 starting from July 2024.

1 Like

You have a nice collection of scripts there! :+1:

1 Like

Home Assistant Core – From Python 3.11.2 to Python 3.12.x

  1. Begin by creating a new Home Assistant Core LXC.

  2. Next, to transfer your data to the new LXC, execute the following command within the Proxmox shell:

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/copy-data/home-assistant-core-copy-data-home-assistant-core.sh)"
  1. Once the data transfer is complete, shut down your original Home Assistant Core LXC. Transfer the MAC address to the new Home Assistant Core LXC and start it. Done

If you wish to retain the same CTID, follow these additional steps:

  • After completing the above steps, remove the old Home Assistant Core LXC to free up its CTID.
  • Make a backup of the new Home Assistant Core LXC.
  • Navigate to the storage location where the backup is stored and select it for restoration, but do not choose β€œStart after restore”. This will automatically assign the first available CTID, which should match your old Home Assistant Core LXC CTID.
  • Shut down and remove the Home Assistant Core LXC with the undesired CTID, then start the Home Assistant Core LXC with the desired CTID.

Hi tteck, any specific/important reason not to go for Python 3.12.2?

Not that I know of, it was just released.

Expected:

  • 3.12.2: Tuesday, 2024-02-06
  • 3.12.3: Tuesday, 2024-04-09
  • 3.12.4: Tuesday, 2024-06-04
  • 3.12.5: Tuesday, 2024-08-06
  • 3.12.6: Tuesday, 2024-10-01
  • 3.12.7: Tuesday, 2024-12-03
  • 3.12.8: Tuesday, 2025-02-04
  • 3.12.9: Tuesday, 2025-04-08

Owkay.
Was just asking because I just now installed that version and was wondering if I did miss something.

So, you would prefer to compile Python from its source code, rather than using pyenv?

No, TBH this was the only way I know to handle Python and updates.
Is there a disadvantage to install a new Python version from source code?

No, it is much cleaner and preferred IMO. It just takes a bit longer to install from the source code.

1 Like

Hello @tteck

Thank you for your script Deconz in LXC, i have a question though.

After deploying it, and connected it to Home Assistant im not able to conect any lights, and the hardware version comes up as 00000000000 in Home Assistant and Deconz, do you have any idea what im doing wrong here?

@tteck Any tutorial you would recommend to update Proxmox from 8.0.4 to 8.1.1 without affecting my vms and containers? Thank you!

Have you tried the Proxmox VE Post Install script?

No, I am forced to upgrade to 8.1.1 to be able to use your scripts to create a LXC container. I am on 8.0.4.
Could you please link an url for Proxmox VE Post Install script

That takes affect 7/01/2024
but, here’s the requested link that be found at https://helper-scripts.com

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"

Just out of curiosity: is that not taken care of by the Proxmox Updates command in the webUI?

When 8.0 came out (beta) the source had to be changed. The Proxmox VE Post Install script should correct them.

Thank you again @tteck ! So, I will just update normally and then run the post pve install scripts!

I got it working with the latest update to 8.1.5. I applied the scripts after that with success! Thank you ! coffee is coming to your way soon!

1 Like