Pironman dashboard not showing any detail

Pironman 5 dashboard not showing any detail can someone help me solve it.

Which OS are you using? Did you made all updates : sudo apt-get update && sudo apt full-upgrade -y and sudo rpi-update . After you can try to re-install pironman software :
cd pironman5

git pull

sudo python3 install.py

Raspbian 64 bit latest verion burned from latest version of pi imager

After doing all the things error 404 poped up in the button and same blank scree appears. I went to pm dashboard logs and found this statment
“25/06/24 00:30:42.543 [ERROR] Failed to set data: {“error”:“not attempting to open shard 14; opening shard previously failed with: [shard 14] failed opening /var/lib/influxdb/data/pironman5/autogen/14/fields.idx: open /var/lib/influxdb/data/pironman5/autogen/14/fields.idx.tmp: permission denied”}”

After thorough testing using your specified system configuration, we were unable to replicate the issue you encountered (please refer to the attached screenshot for reference).

  1. Dashboard 404 Error:
  • Please try refreshing your browser page or clearing your browser cache.
  • We’ve recently released version 1.2.15 with several improvements.
  • Recommend updating your software by running:
    cd pironman5
    git pull
    sudo python3 install.py
  1. We accessed the dashboard by entering the IP address in Google Chrome without encountering issues.
    Are you booting the system from an SSD or SD card?
    If the issue persists, we suggest:

It started working after some trials and error

Wishing you smooth progress with your project—don’t hesitate to reach out if you need further support. We’re always happy to help!

I’ve noticed that the dashboard works sometimes and sometimes not. The other day, I checked it and it was not working. On a hunch, I cleared the history and it started again. Worked for a couple of days and stopped. Tried clearing the history again and this time it did not help. As of now, no dashboard data displayed. perhaps in the next release, it will be more stable. If I run sudo systemctl status pironman5 .service I get

Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.207 [DEBUG] Set data: {‘cpu_temperature’: 46.85, ‘gpu_temperature’: 47.2, ‘cpu_percent’: 5.0>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.292 [WARNING] Too many nulls in the result of query: SELECT * FROM history ORDER BY time DES>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.296 [WARNING] Too many nulls in the result of query: SELECT * FROM history ORDER BY time DES>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.300 [WARNING] Too many nulls in the result of query: SELECT * FROM history ORDER BY time DES>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 192.168.86.1 - - [12/Jul/2025 21:23:15] “GET /api/v1.0/get-history?n=20 HTTP/1.1” 200 -
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.331 [WARNING] Too many nulls in the result of query: SELECT * FROM history ORDER BY time DES>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.335 [WARNING] Too many nulls in the result of query: SELECT * FROM history ORDER BY time DES>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 25/07/12 21:23:15.339 [WARNING] Too many nulls in the result of query: SELECT * FROM history ORDER BY time DES>
Jul 12 21:23:15 brockrpi5 pironman5[3308022]: 192.168.86.1 - - [12/Jul/2025 21:23:15] “GET /api/v1.0/get-history?n=20 HTTP/1.1” 200 -
Jul 12 21:23:16 brockrpi5 pironman5[3308022]: 25/07/12 21:23:16.137 [DEBUG] Set data: {‘cpu_temperature’: 46.85, ‘gpu_temperature’: 46.1, ‘cpu_percent’: 3.8>

I can’t say I really care about tihis.. The settings on the page still work allowing me to manually turn off the lights at night
otherwide, itl.looks like a UFO has landed in ny office and my dogs don’t care for that.

Still, it is curious why it would behave like this

I recommend updating the pironman5 software to see if it resolves the issue.
You can update your software by running the following commands:
cd pironman5
git pull
sudo python3 install.py

unfortunately, that did not work. Updated to 1.2.17. Results are the same. Tried clearing the history (again) and that did nothing as well.

update:

Tried

  • sudo service pironman5 stop
  • sudo rm -fr /var/lib/influxdb/data/pironman5
  • sudo rm -fr /var/lib/influxdb/wal/pironman5
  • sudo service pironman5 start

Started working again. Is this something that just has to be done periodically?

1 Like

Sorry we could not replicate your issue.
What system are you currently using? What is the version of the system?
In addition to our Pironman5 software, have you installed anything else?
What is the memory size of the SD card you are using? Please ensure that there is sufficient memory.

Happen (on my Rpi5) each time it crashes (Domotic server => Power Outage/cut tests).
Made a script to flush DB each starting=>
sudo nano /opt/pironman5/cleanup-db.sh

#!/bin/bash

# Script de nettoyage automatique de la base de données Pironman5
# À placer dans /opt/pironman5/cleanup-db.sh

LOG_FILE="/var/log/pironman5-cleanup.log"

log_message() {
    echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOG_FILE"
}

log_message "=== Début du nettoyage Pironman5 ==="

# ArrĂȘter le service pironman5
log_message "ArrĂȘt du service pironman5..."
systemctl stop pironman5
sleep 2

# VĂ©rifier que le service est bien arrĂȘtĂ©
if systemctl is-active --quiet pironman5; then
    log_message "ERREUR: Le service pironman5 ne s'est pas arrĂȘtĂ© correctement"
    exit 1
fi

# Supprimer les données InfluxDB
log_message "Suppression des données InfluxDB..."
if [ -d "/var/lib/influxdb/data/pironman5" ]; then
    rm -rf /var/lib/influxdb/data/pironman5
    log_message "Dossier data/pironman5 supprimé"
else
    log_message "Dossier data/pironman5 n'existe pas"
fi

if [ -d "/var/lib/influxdb/wal/pironman5" ]; then
    rm -rf /var/lib/influxdb/wal/pironman5
    log_message "Dossier wal/pironman5 supprimé"
else
    log_message "Dossier wal/pironman5 n'existe pas"
fi

# Optionnel : nettoyer aussi les logs anciens (garde les 7 derniers jours)
log_message "Nettoyage des anciens logs..."
find /var/log/ -name "*pironman*" -type f -mtime +7 -delete 2>/dev/null

# Redémarrer le service
log_message "Redémarrage du service pironman5..."
systemctl start pironman5
sleep 5

# Vérifier que le service a bien démarré
if systemctl is-active --quiet pironman5; then
    log_message "Service pironman5 redémarré avec succÚs"
else
    log_message "ERREUR: Le service pironman5 n'a pas pu redémarrer"
    exit 1
fi

log_message "=== Nettoyage terminé avec succÚs ==="

sudo chmod +x /opt/pironman5/cleanup-db.sh

sudo nano /etc/systemd/system/pironman5-cleanup.service

[Unit]
Description=Pironman5 Database Cleanup Service
After=multi-user.target
Before=pironman5.service
Wants=influxdb.service

[Service]
Type=oneshot
ExecStart=/opt/pironman5/cleanup-db.sh
RemainAfterExit=yes
User=root
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target

sudo systemctl daemon-reload
sudo systemctl enable pironman5-cleanup.service

Tests =>
sudo /opt/pironman5/cleanup-db.sh
sudo tail -f /var/log/pironman5-cleanup.log

You could (more simple way) put (add the line at the end of file) this in crontab:

sudo crontab -e

@reboot sleep 30 && systemctl stop pironman5 && rm -rf /var/lib/influxdb/data/pironman5 /var/lib/influxdb/wal/pironman5 && systemctl start pironman5