Home Assistant missing from dietpi-software installer on PI 2?

Hi,

I noticed that Home Assistant does not show up for installation on a Raspberry PI 2 running the newest 0.9.9 release of DietPI but it shows up as available on the Documentation page.

I realize the PI 2 might be slow, but I would still like to use it. Is there a bug or how can I install it?

probably disabled on your system, can be checked as follow

dietpi-software list | grep 157

Thanks, it says:

dietpi-software list | grep 157

/boot/dietpi/dietpi-software: line 1463: modprobe: command not found

ID 157 | =0 | Home Assistant: Open source home automation platform | DISABLED for Debian bullseye | https://dietpi.com/docs/software/home_automation/#home-assistant

Is it possible to somehow enable it?

looks like you are running old Debian Bullseye. Can you check

echo $G_DISTRO_NAME

You would need to upgrade to Debian Bookworm Debian Bookworm has been released – DietPi Blog

You’re right, it was Bullseye. I’m surprised because I just did a clean install (using Pinn) yesterday and fully updated it - I guess on Bulleye. It’s weird that PINN doesn’t provide the newest version.

Anyway, it worked perfectly and now I have Home Assistant available! Thanks a lot!

I don’t have enough diskspace for HomeAssistant on my PI2, so trying to upgrade on a more powered RP3B

I get this:

bash: /dev/fd/63: No such file or directory root

curl: (23) Failure writing output to destination

upon running:
bash <(curl -sSf ‘https://raw.githubusercontent.com/MichaIng/DietPi/master/.meta/dietpi-bookworm-upgrade’)

Also I can’t login through SSH anymore - I keep getting wrong password even though the password is correct and works fine locally.

I guess this happened after resizing partitions in Gparted to make more spare for DietPI so I could install Home Assistant.

Any ideas?

does the system is still booting? Does your system is using a SD card? What exactly has been done using Gparted??

Yea, the system boots fine still.

I had a 32 GB SD card (which it boots from) and my DietPI partition was only 8 GB.

So what I did in Gparted was to reduce the size of some previous partition and then move the DietPI partitions to the left so I could expand it to around 15 GB. That’s all I did.

And before that I also tried to install Kodi but I couldn’t get it to work, so I uninstalled it again.

1 Like

can you share following

df -h
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid

Ok, I have to share a photo as I can’t connect to it
As mentioned I installed with PINN and the other partitions are related to Batocera, LibreELEC (I wanted to try if I could use DietPI for Kodi instead but it failed), and a spare partition for installing another system with PINN (prj****)

See here
Shared with Zight

I don’t know PINN and how it is working. At least our Images don’t have something like this.
It seems plenty of space for bootFS and rootFS, so there should be no issue related to space.

If it is just about Kodi, you can stay with LibreELEC as this os is specially designend for this purpose.

Hi, yeah there is good space now but my DietPI install is borked after resizing the partition - can’t access SSH, can’t upgrade it. Only solution is to reinstall?

And yes I have uninstalled Kodi and have LibreELEC.

Ok, now I wiped the DietPI installation and reinstalled from scratch (still on the Pi3B). Installed the FileBrowser and reinstalled (because directly reinstalling Home Assistent from the setup caused an out of memory error for some reason).

Set the max temp for the Pi to 65° as it got super hot the last time and then tried to install Home Assistant again.

Anyway, it failed during compilation. See this please:
Shared with Zight

-I/home/homeassistant/.pyenv/versions/3.13.1/include -I/home/homeassistant/.pyenv/versions/3.13.1/include -fPIC -DPy_BUILD_CORE -o Python/compile.o Python/compile.c gcc: fatal error: Killed signal terminated program cc compilation terminated. make: *** [Makefile:3039: Objects/unicodeobject.ol Error 1

Any ideas?

P.S. Home Assistant showed up now for some reason even though I was on Bullseye still.

independent on the issue, why still using Bullseye on a reinstallation?

Anyway. You would need to check the whole compiling log. Just the 2 lines doesn’t say anything to me. As well the screen print is not readable. Better to connect via SSH which should be working on a fresh install

Because I was thinking if it would require less ressources to stay on Bullseye and it seemed there might be some incompatibilities as well, but I will upgrade.

I didn’t connect through SSH because if I close my laptop it cancels the session, but I guess I could use “screen” to avoid this and get the entire log file.

Now I can’t even upgrade the system after a making a complete reinstall of DietPI (inside the PINN partition) :

dietpi@DietPi:~$ sudo bash <(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.meta/dietpi-bookworm-upgrade')
bash: /dev/fd/63: No such file or directory
dietpi@DietPi:~$ curl: (23) Failure writing output to destination

This is clearly PINN related so i will try to reinstall it all yet again.

ah ok I found an old issue that was similar. How to use the Pi4 to Pi5 migration script?

Pls can you login as user root and move into /tmp before executing the script

I wiped the whole disk and reinstalled PINN and now this error disappeared:

dietpi@DietPi:~$ sudo bash <(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.meta/dietpi-bookworm-upgrade')
bash: /dev/fd/63: No such file or directory
dietpi@DietPi:~$ curl: (23) Failure writing output to destination

But I still get compilation errors on compiling Home Assistant on Bookwork on Pi3B. I choose to generate and submit a bug report directly through the menu option in DietPI when it failed. It said it will stay there fo 48 hours, but I can’t see4m to find it - do you see it?

No, access is strictly limited to a very small group of people. It is mainly the developer who has access. We also need the report ID. Without this, it cannot be found. This should actually be displayed at the end of the upload.

Ok, no sorry I don’t have the number, but it was submitted around 10 pm CET and was a python compilation error during the Home Assistant installation and is on the newest Bookworm version on a Raspberry PI 3 B on a 32 GB SD card if that helps?