Installing Pipower 5 with a Pironman5 Standard case and getting errors when I run the prionman5 install script with piower5 option

I installed the Pipower 5 hat to tjhe 40 pin GPIO exposed on the side of the case with the power remaining connected to the Raspberry 5 USB C port.

I then ran the script for the pironman5 and Pipoer 5 drives as instructed in the docs for the pironman5 with a pipower 5 attached and received an install error.

I ran the script with my currently installed pronman5 driver installed and up and running.

My Raspberry Pi 5 environment with the Ironman 5 case:

xxxxxxxxx$ cat /etc/os-release

PRETTY_NAME=“Debian GNU/Linux 13 (trixie)”

NAME=“Debian GNU/Linux”

VERSION_ID=“13”

VERSION=“13 (trixie)”

VERSION_CODENAME=trixie

DEBIAN_VERSION_FULL=13.6

ID=debian

Xxxxxxxxxxxxx $ uname -a

Linux mypi 6.18.34+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.34-1+rpt1 (2026-06-09) aarch64 GNU/Linux

Info about pironman5.service

Xxxxxxxxxxxxx $ sudo systemctl status pironman5.service

* pironman5.service - pironman5 service

Loaded: loaded (/etc/systemd/system/pironman5.service; enabled; preset: enabled)

Active: active (running) since Tue 2026-07-14 16:34:56 CDT; 58s ago

Invocation: 168a904d19954aa89b7e37bdca9d0b6e

Main PID: 46121 (pironman5)

Tasks: 10 (limit: 9626)

CPU: 3.735s

CGroup: /system.slice/pironman5.service

|-46121 /opt/pironman5/venv/bin/python3 /usr/local/bin/pironman5 start

`-46178 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session

Jul 14 16:35:52 mlkraspberrypi pironman5[46121]: [ERROR] Failed to connect to InfluxDB: HTTPConnectionPool(host=‘localhost’, port=8086): Max retries exceeded with url: /ping (Cause>

Jul 14 16:35:52 mlkraspberrypi pironman5[46121]: [ERROR] Database is not ready

Jul 14 16:35:52 mlkraspberrypi pironman5[46121]: [ERROR] Failed to set data: Database is not ready

Jul 14 16:35:53 mlkraspberrypi pironman5[46121]: [ERROR] Failed to connect to InfluxDB: HTTPConnectionPool(host=‘localhost’, port=8086): Max retries exceeded with url: /ping (Cause>

Jul 14 16:35:53 mlkraspberrypi pironman5[46121]: [ERROR] Database is not ready

Jul 14 16:35:53 mlkraspberrypi pironman5[46121]: [ERROR] Failed to connect to InfluxDB: HTTPConnectionPool(host=‘localhost’, port=8086): Max retries exceeded with url: /ping (Cause>

Jul 14 16:35:53 mlkraspberrypi pironman5[46121]: [ERROR] Database is not ready

Jul 14 16:35:53 mlkraspberrypi pironman5[46121]: [ERROR] Failed to set data: Database is not ready

Jul 14 16:35:54 mlkraspberrypi pironman5[46121]: [ERROR] Failed to connect to InfluxDB: HTTPConnectionPool(host=‘localhost’, port=8086): Max retries exceeded with url: /ping (Cause>

Jul 14 16:35:54 mlkraspberrypi pironman5[46121]: [ERROR] Database is not ready

lines 1-21/21 (END)

The command executed to install drivers

curl -sSL “https://raw.githubusercontent.com/sunfounder/pironman5/v1/install.sh” | sudo bash -s – —pipower5

  1. Pironman 5

  2. Pironman 5 Max

  3. Pironman 5 Pro Max

  4. Pironman 5 Mini

Enter number [1-4]: 1

=========================================

Pironman 5 v1.3.18

Branch: 1.3.x

Source: GitHub

---------------------------------------

pm_auto v2 (v2.0.5)

pm_dashboard v2 (v2.0.3)

sf_rpi_status main (v1.1.8)

pipower5 v2 (v2.1.3)

=========================================

Using GitHub repositories

Install build dependencies

✓ Update package list

✓ Install build dependencies

Clone pironman5 repository

✓ Remove existing pironman5 directory

✓ Clone pironman5

✓ Set repo ownership

Run pre-install scripts

✓ Run fix_kali_gpio_spi.sh

✓ Run install_influxdb.sh

✓ Run install_lgpio.sh

✓ Run umbrel_patch.sh

Install APT dependencies

✓ Install APT dependencies

Setup system user

✓ Create pironman5 group

✓ Create pironman5 user

✓ Add myuser to pironman5 group

Setup sudo permissions

✓ Create sudoers file

✓ Set sudoers permissions

Add myuser to groups

✓ Setup gpio group

✓ Setup i2c group

✓ Setup influxdb group

✓ Setup input group

✓ Setup pipower5 group

✓ Setup spi group

✓ Setup video group

Create working directory

✓ Create directories

✓ Create log file

✓ Set work directory permissions

✓ Set work directory owner

✓ Set log directory permissions

✓ Set log directory owner

✓ Set log file permissions

✓ Set log file owner

✓ Remove old virtual environment

✓ Create virtual environment

Remove conflicting packages

✓ Uninstall RPi.GPIO

Install Python dependencies

✓ Install Python packages

Install Python packages from source

✓ Install pironman5

✓ Install pm_auto

✓ Install sf_rpi_status

✓ Install pm_dashboard

Clone PiPower5 source

✓ Clone PiPower5 source

Install PiPower5 build dependencies

✓ Install DKMS

✗ Install kernel headers

Build and install PiPower5 kernel driver

✓ Build and install pipower5.ko

Install PiPower5 Python package

✓ Install pipower5

✓ Create pipower5 symlink

Setup PiPower5 udev rules

✓ Copy udev rules

✓ Reload udev

Copy PiPower5 email templates

✓ Create email template dir

✓ Copy email templates

Create symlinks

✓ Create pironman5 symlink

Setup shell completion

✓ Install argcomplete

✓ Register bash completion

Setup auto-start

✓ Install service file

✓ Enable pironman5 service

✓ Reload systemd

Configure kernel modules

✓ Add module i2c-dev

Copy device tree overlays

✓ Copy sunfounder-pironman5.dtbo

✓ Copy PiPower5 device tree overlay

Persist device tree overlays

✓ Create persistent overlay directory

✓ Persist sunfounder-pironman5.dtbo

✓ Persist PiPower5 device tree overlay

Install kernel postinst hook

✓ Create postinst.d directory

✓ Install kernel postinst hook

✓ Run postinst hook now for existing overlay dirs

Run post-install scripts

✓ Migrate RPi.GPIO to rpi.lgpio

Finalize permissions

✓ Set execution permission on work dir

✓ Set final ownership

Write product variant

✓ Ensure work directory exists

✓ Write variant identifier

✓ Write custom module

Configure device tree overlays

✓ Add dtoverlay=sunfounder-pironman5 to config.txt

✓ Add dtoverlay=sunfounder-pipower5 to config.txt

Error happened:

Reading package lists…

Building dependency tree…

Reading state information…

E: Unable to locate package linux-headers-raspi

Please check /tmp/install.log for more details.


Sorry for the all the logs.
Anyone else having these issues?

Thanks in advance.

We have reproduced the issue you reported and have now resolved it. Please try running the installation command again.Let us know if you encounter any further issues.