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?
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.
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.
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.
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?
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?
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…
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:
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