Graph1090 stopped for few hours, started

I have rpi4 Deb12 running since abt a year, no issues, just noticed now, several hours ago my graphs stopped charting, by the time I’ve noticed, it’s all OK again, anything to check/look ?
no real issue, just curious ?

also, can I setup graph1090 on a rpi withOUT FA, just to chart System Graphs ? where to disable ADS-B in such ?

cat /etc/os-rele*
PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=debian

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.6G 0 1.6G 0% /dev
tmpfs 380M 44M 336M 12% /run
/dev/mmcblk0p2 15G 7.3G 6.1G 55% /
tmpfs 1.9G 2.4M 1.9G 1% /dev/shm
tmpfs 5.0M 16K 5.0M 1% /run/lock
/dev/mmcblk0p1 510M 76M 435M 15% /boot/firmware
tmpfs 32M 436K 31M 2% /var/cache/fontconfig
tmpfs 380M 40K 380M 1% /run/user/1000


What do the logs show?

had another shorter break an hour or two ago…

Oct 27 00:07:52 rpi2 graphs1090[7692]: running scatter.sh
Oct 28 00:07:52 rpi2 graphs1090[7692]: running scatter.sh
Oct 29 00:07:53 rpi2 graphs1090[7692]: running scatter.sh
Oct 30 00:07:52 rpi2 graphs1090[7692]: running scatter.sh
-- Boot d39362f8854a45e181a0911c9c305ad3 --
Oct 30 15:37:48 rpi2 systemd[1]: Started graphs1090.service - graphs1090 graph generation.
Oct 30 15:37:48 rpi2 graphs1090[898]: 897 (process ID) old priority 19, new priority 19
Oct 30 15:37:51 rpi2 graphs1090[897]: Generating all graphs
Oct 30 15:41:11 rpi2 graphs1090[897]: Done with initial graph generation
-- Boot df975107237c43829d1f66ab9d76a1a3 --
Oct 30 15:40:57 rpi2 systemd[1]: Started graphs1090.service - graphs1090 graph generation.
Oct 30 15:40:57 rpi2 graphs1090[908]: 903 (process ID) old priority 19, new priority 19
Oct 30 15:41:00 rpi2 graphs1090[903]: Generating all graphs
Oct 30 15:44:34 rpi2 graphs1090[903]: Done with initial graph generation
-- Boot 675958d00275429fbf79938b553cd26d --
Oct 30 15:45:25 rpi2 systemd[1]: Started graphs1090.service - graphs1090 graph generation.
Oct 30 15:45:25 rpi2 graphs1090[904]: 899 (process ID) old priority 19, new priority 19
Oct 30 15:45:28 rpi2 graphs1090[899]: Generating all graphs
Oct 30 15:48:51 rpi2 graphs1090[899]: Done with initial graph generation
-- Boot 5429a80830e343f9931c8bedfe78764a --
Oct 30 15:50:46 rpi2 systemd[1]: Started graphs1090.service - graphs1090 graph generation.
Oct 30 15:50:46 rpi2 graphs1090[899]: 893 (process ID) old priority 19, new priority 19
Oct 30 15:50:49 rpi2 graphs1090[893]: Generating all graphs
Oct 30 15:54:05 rpi2 graphs1090[893]: Done with initial graph generation
-- Boot c0160dc608ce403898a1cca97c71d74a --
Oct 30 15:56:02 rpi2 systemd[1]: Started graphs1090.service - graphs1090 graph generation.
Oct 30 15:56:02 rpi2 graphs1090[919]: 915 (process ID) old priority 19, new priority 19
Oct 30 15:56:05 rpi2 graphs1090[915]: Generating all graphs
Oct 30 15:59:44 rpi2 graphs1090[915]: Done with initial graph generation
-- Boot 856beb12b9de44edbd71b7a079b1e1e0 --
Oct 30 19:21:45 rpi2 systemd[1]: Started graphs1090.service - graphs1090 graph generation.
Oct 30 19:21:45 rpi2 graphs1090[914]: 907 (process ID) old priority 19, new priority 19
Oct 30 19:21:48 rpi2 graphs1090[907]: Generating all graphs
Oct 30 19:24:54 rpi2 graphs1090[907]: Done with initial graph generation
lines 138-171/171 (END)

What about the system logs? The issue is not with graphs1090, but with the collection of data such as from dump1090-fa or whatever process you are using.

probably a power outage.
graph data is saved at night, so probably a power outage at 16:00 local

1 Like

oops…ahhh…
early afternoon I was updating firmware then ROM on PoE switch, which involved rebooting the switch…
as I had difficulty with ROM, switch was rebooted multiple times, RPI is powered from that switch…
(PC was ‘too far’ from switch, was not getting ROM option till PC was on the switch itself)

:pray:@wiedehopf

can I setup graph1090 on a rpi withOUT FA, just to chart System Graphs ? where to disable ADS-B in such ?

no provision for disabling ADS-B … only the other way around … check the readme though / default file.

You can edit the html … or just ignore the ADS-B part.

1 Like

just noticed typo in
“To re-enable the behavrious use this command:”

installed on ‘other’ rpi, managed to edit html, so just getting rpi stuff, thanks again!!
great use of rrdtool!

hmm, I think I should have just used this instead of editing html…
sudo sed -i -e ‘s/id=“panel_1090” style=“display:block”/id=“panel_1090” style=“display:none”/’ /usr/share/graphs1090/html/index.html

Got this when I tried copy and paste of your sed command:

jrg@pi42:~ $ sudo sed -i -e ‘s/id=“panel_1090” style=“display:block”/id=“panel_1090” style=“display:none”/’ /usr/share/graphs1090/html/index.html
sed: -e expression #1, char 1: unknown command: `?'

Editing the html worked though - thanks.

the actual command was taken from GitHub - wiedehopf/graphs1090: Graphs for readsb / dump1090-fa / dump1090 (based on dump1090-tools by mutability) , perhaps it got mangled when I pasted, it certainly worked when I tried it, both, to hide and unhide, basically, it replaces display:block with display:none, I edited my html before trying the command, reverted html to original, tried to remove then reinstate, works fine, pls check on github

1 Like

All the wrong quotation marks. (they need to be ' for single and " for double quotes)
```
code
```

Use like this.
Or maybe you pasted it into some rich text editor at some point.

1 Like