Pironman 5 Case stopped working after reboot (Unable to launch pironman5.service)

Hey everyone,

I can’t get the installed Pironman 5 software to run on a raspberry pi 5. It worked initially, until I installed some updates and rebooted. I’ve gone through the steps in the below link, but when I try to manually launch pironman5.service, nothing happens - terminal just hangs like it’s waiting for a response and I’m still unable to change any configuration settings. Anyone run into this issue or have an idea why I can’t launch the background service?

https://docs.sunfounder.com/projects/pironman5/en/latest/set_up_pironman5.html

Are you booting the system from an SD card or an SSD?
1.Please connect the display and launch pironman5, take a look at the information on the display screen, and take a photo of the information displayed on the screen to share with us.
2.Suggest you reinstall the system, then install the pironman5 software again, and then try rebooting or powering on/off to see how it’s working.

Hi im having the same problem ie the pironman5.service wont start during installation or if i try to start it manually

1.Could you please let us know what system and version you are currently using? This will help us better understand the environment and reproduce the problem.
2.When you say the pironman5 is unable to start during the installation process, I’m not quite clear on what you mean.
3.If you have not successfully installed the pironman5 software, then running any pironman5 software commands would not be effective.
4.To restart the pironman5 software, you would first need to ensure the software is properly installed.
Alternatively, if you can provide a video of the problem you are experiencing, that would also help us understand and assist you better.

im having the same problem using newest os debian bookworm

We recommend that you provide us with a video of the issue and screenshots of your operations, which will help us analyze and resolve the problem.

If the video file is large, please upload it to OneDrive and share the link with us along with access permissions.

I am having the same issue:

I am using an SD Card to boot. SD Card is inserted to an SDCard reader that is attached to the USB because SD Card extender you sent does not work as well.

Just install Bookworm on an SD card.
Follow the steps for installation: Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS — SunFounder Pironman 5 documentation

pironman5 service does not start.

In order to see the error I manually run
/usr/local/bin $ sudo ./pironman5 start

And get the error:
Traceback (most recent call last):
File “/opt/pironman5/venv/bin/pironman5-service”, line 8, in
sys.exit(main())
^^^^^^
File “/opt/pironman5/venv/lib/python3.11/site-packages/pironman5/init.py”, line 8, in main
from .pironman5 import Pironman5
File “/opt/pironman5/venv/lib/python3.11/site-packages/pironman5/pironman5.py”, line 40, in
if get_hat_version() < 11:
^^^^^^^^^^^^^^^^^
File “/opt/pironman5/venv/lib/python3.11/site-packages/pironman5/utils.py”, line 32, in get_hat_version
with open(f"{hat_path}/product_ver", “r”) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘None/product_ver’

same issues here. It is not an SD card problem. I believe this is due to incompatibility between pironman and the newest bookworm OS.

Pironman5 requires an update. A rollback will not simply work as the incompatibility issue is tied to a Bookworm update. So if anything (I am not sure if this is possible), a rollback of bookworm may fix the issue temporarily.

The Pironman5 software is compatible with the Bookworm version of the system. We recommend that you provide us with screenshots of the installation process for the Pironman5 software so that we can analyze and resolve the issue more effectively.

But it is not at this moment. The current changes made to the pironman5 software are causing an error still therefore incompatibility exists between the two.

The issue has been resolved.
We recommend using the following commands to update the Pironman5 software again:

cd pironman5
git pull
sudo python3 install.py

After the update is successful, please restart Pironman5 and check if its functions are operating normally.
If you still encounter problems, we suggest reinstalling the operating system and then installing the Pironman5 software again.

I received my pironman5 yesterday, put it all together (nice kit), and I’m having the exact same issue as everyone else on this thread - followed your directions to get the SD card to force boot to SSD/M2 drive, green screen received, then used the raspberry imager to get the ‘latest’ bookwork OS, and put it on that M2 - no issues booting - everything working as expected as far as a Rpi5 is concerned - followed the directions on this page (Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS — SunFounder Pironman 5 documentation) and I’m literally receiving the same error as karsparskambala posted above, and InsayneShane is experiencing as well - even your directions to pull a new copy from git and reinstall doesn’t do anything - service fails to start and status shows:

× pironman5.service - pironman5 service
Loaded: loaded (/etc/systemd/system/pironman5.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-12-06 14:30:47 EST; 1min 28s ago
Duration: 1.030s
Process: 727 ExecStart=/usr/local/bin/pironman5 start --background --debug-level=debug (code=exited, status=0/SUCCESS)
Main PID: 730 (code=exited, status=1/FAILURE)
CPU: 724ms

Dec 06 14:30:46 keylime systemd[1]: Starting pironman5.service - pironman5 service…
Dec 06 14:30:46 keylime systemd[1]: Started pironman5.service - pironman5 service.
Dec 06 14:30:47 keylime systemd[1]: pironman5.service: Main process exited, code=exited, status=1/FAILURE
Dec 06 14:30:47 keylime systemd[1]: pironman5.service: Failed with result ‘exit-code’.

A soft or hard shutdown, neither one kicks it into functioning. It seems to still be quite broken (I’m sad I can’t see the cool oled display).

I’m just surprised that even though there are multiple people facing the same issue, the Dev is insisting not the issue is on our end and not actually their code.

@SunFounder_Moderator can you guys please do a one-over on your own units again running the latest Raspi OS on the included NVME HAT?

Which NVME SSD are you using? Mine is the recommended Crucial P3 Plus.

Crucial P3 1TB PCIe Gen3 3D NAND NVMe M.2 SSD
CT1000P3SSD8

Yep, picked because it was on the recommended/approved/compatible list, had it delivered ‘same day’ to make sure I could build it last night :frowning:

I am using the same, except mine is the P3 Plus. I wonder if the issue is the SSD we have? But the errors don’t point to such an issue. @SunFounder_Moderator Can you guys chime in?

Left field. Is your i2c enabled after reflash ?
Disable
Reboot
Enable
Reboot

Great question, and since I’m a Pi-noob, I wouldn’t have known to check that (or even really what it does)…

TL;DR, it was not enabled, I enabled it, rebooted, with no change — pironman5.service still fails to start/run.

Through both ‘nonint’ and ‘int’ versions of that cli, and the ‘raspberryPi configuration’ tool from the gui, all three report it as on now, so I’m convinced it is actually on… I’m going to try to completely reimage with the latest pi image, ensure that this setting is set FIRST, then try to initially install the pironman5 service, and see if that changes anything… doesn’t take but about 10min tops to do that…

Sorry I dont know what

is?

I was talking about i2c

That’s okay, I didn’t know what “i2c enabled” was… I looked it up and found some commands to check/change it and the “TLDR” part was the summary for you: In terms of my specific i2c settings:

I’ve since reimaged my M2 with the latest Pi image, booted up, and discovered that on a fresh install, i2c is NOT enabled by default (despite me booting from the M2 on the hat which i2c is supposed to enable?). So, I’ve enabled it again anyway:

1) sudo raspi-config nonint get_i2c
=1
2) sudo raspi-config nonint do_i2c 0
3) sudo shutdown -r now
...login
4) sudo raspi-config nonint get_i2c
=0

but… If I had to guess, there wasn’t anything wrong with the ‘hat’ being recognized, because the system only boots from the M2 drive that sits on that hat… in either case, I’ve now followed that with the configuration from the Pironman5 directions (From my link earlier in this thread):

sudo rpi-eeprom-config -e
... file needed no change, already had the POWER_OFF_ON_HALT setting correct
... likely because I've done that previously...
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install python3 python3-pip python3-setuptools -y
...
cd ~
git clone https://github.com/sunfounder/pironman5.git
cd ~/pironman5
sudo python3 install.py

which looked like this (only logs I get here):

user@keylime:~/pironman5 $ sudo python3 install.py
Pironman 5 Installer
 - Update package list... Done
 - Install build dependencies: python3-pip python3-venv git curl... Done
 - Run command before install: Download influxdb key... Done
 - Run command before install: Setup influxdb install source... Done
 - Install APT dependencies: influxdb lsof libjpeg-dev libfreetype6-dev kmod i2c-tools python3-gpiozero... Done
 - Create work directory... Done
 - Change work directory mode... Done
 - Change work directory owner... Done
 - Create log directory... Done
 - Change log directory mode... Done
 - Change log directory owner... Done
 - Create virtual environment... Done
 - Install pip... Done
 - Install setuptools... Done
 - Install build... Done
 - Install gpiozero... Done
Installing pironman5...
 - Uninstall old package... Done
 - Install package... Done
Installing pm_auto...
 - Uninstall old package... Done
 - Install package... Done
Installing pm_dashboard...
 - Uninstall old package... Done
 - Install package... Done
Installing sf_rpi_status...
 - Uninstall old package... Done
 - Install package... Done
Setup auto start...
 - Copy binary file... Done
 - Change binary file mode... Done
 - Copy service file... Done
 - Enable service... Done
 - Reload systemd... Done
 - Start service... Done
 - add module: i2c-dev... Done
 - Copy dtoverlay sunfounder-pironman5.dtbo... Done
 - Change work directory owner... Done
Finished
Cleanup
 - Remove build... Done
Whether to restart for the changes to take effect(Y/N):

answer ‘Y’, reboot, and

user@keylime:~ $ sudo systemctl status pironman5.service
× pironman5.service - pironman5 service
     Loaded: loaded (/etc/systemd/system/pironman5.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sat 2024-12-07 12:13:42 EST; 1min 55s ago
   Duration: 986ms
    Process: 604 ExecStart=/usr/local/bin/pironman5 start --background --debug-level=debug (code=exited, status=0/SUCCESS)
   Main PID: 609 (code=exited, status=1/FAILURE)
        CPU: 705ms

Dec 07 12:13:41 keylime systemd[1]: Starting pironman5.service - pironman5 service...
Dec 07 12:13:41 keylime systemd[1]: Started pironman5.service - pironman5 service.
Dec 07 12:13:42 keylime systemd[1]: pironman5.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 12:13:42 keylime systemd[1]: pironman5.service: Failed with result 'exit-code'.

so, no effective change…

The pironman5 service appears broken to me at this stage, but again, I’m not a Pi expert by any stretch…