I tried this but get a message “ERROR: opening ‘/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_mlat-recent.rrd’: No such file or directory”
I have mlat working as far as I am aware (I see military flights with posiitons)
Any idea why the file isnt being generated? Is there an edit missed?
i got the same errors about missing directories/files as many others here - but didn’t find their solution ?
===== Finished webUI installation, creating initial graphs! =====
7069 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: Could not save png to '/var/www/collectd/table-rpi-core_temp-24h.png'
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
7078 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: Could not save png to '/var/www/collectd/table-rpi-core_temp-7d.png'
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
7087 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: Could not save png to '/var/www/collectd/table-rpi-core_temp-30d.png'
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
7096 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: Could not save png to '/var/www/collectd/table-rpi-core_temp-365d.png'
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
===== Finished creating inital graphs! =====
p.s. found the answer myself - but just if others have the same errors. i had to install lighttpd server first:
Loaded collectd onto the Rpi 2 yesterday, a piece of cake
loaded collectd onto the Rpi B+ today, a piece of something else.
Collectd is running, lighttpd is running dump1090-mutabilty 1.15
Before digging in and bashing on it just wondering, it should run on a B+?
Searching first for the One Dee Ten Tee errors.
Seriously thank you! It looks really good. I’ve got it %50 working right now. I had to change the “localhost” option to “rpi” to get the regular dump1090 graphs to come up. I think I need some help getting the Message rate (trailing) graph and signal graph working along with all the system graphs. Do you think you can help me figure that out? I figure it might be something I need to add into the make-graphs.sh file or something, I’m really not sure…
since 2 days i run these graphs and have to state they are great - thanks to jepolch posting this here and obj and xforce30164 for their coding!
what i’m wondering is - does one of you all have found a good solution against spiking?
with spiking i talk about e.g. when rebooting the pi (or through other situations) on a graph where normally are e.g. 150 aircrafts seen and in high traffic hours up to 200 - the y-axis has e.g. a max value of 300. after ‘spiking’ it of course jumps to e.g. 3,000 max - and as side-effect the graphs are hard to read from this moment on.
possible ways for workarounds could be hardcoding the max y-scale or better solution building y-scale only along data over longer periods.
does one of you already have a good solution?
So we have two groups of people here - those who have the graphs running and the other - have nots. The have nots seem to be mostly stuck with the directory error pointed out by TomMuc earlier and I for one have not been able to make it work even with lighthttpd running (I installed lighthttpd as I installed dump1090-mutability)
For the benefit of the have nots please may I request someone to assist us to transition from the have nots to the “have” group.
I was getting those file not found messages as well. Two things I had to do, if I remember correctly. First I don’t think I had rrdtool installed. Second, for some reason, there the file path is pointing at locations within /var/lib/collectd/rrd/localhost on my installation some (only some…) of the files were actually located under /var/lib/collectd/rrd/ and I had to modify one of the scripts (make-graphs.sh, if I recall correctly, to generate the images based on the different location.
I know this won’t make you feel any better, but the script gives me the same errors now as you are seeing. When I set up a new Pi recently I ran the script and got the exact errors as TomMuc. Fortunately, I back up my Pi’s every night, so I could take the backed up version of the data and graphics to the new Pi’s directory structure. For what it’s worth, I did install collectd and rrdtool before I ran the script. All I can suggest is that people visit the PlaneFinder thread and post the question there and hope the author of the script replies. I know he’s a college student and has been busy.
hope it helps others here in the forum a little - these were the steps i finally installed the graph-thing on my raspi (raspbian wheezy, dump1090-mutability 1.15, piaware 2.13). while installing i got some errors here and there - but anything works fine:
it is always a good idea to update the system first:
sudo apt-get update
sudo apt-get upgrade
if already activated - deactivate dump1090 builtin webserver (set to ‘0’ instead of ‘8080’) in dump1090-mutability v1.15~dev config utility
sudo dpkg-reconfigure dump1090-mutability
install needed webserver software if not already installed:
with commands like this you can reset the databases to get fresh graphs (be cautious all old data will be destroyed)
warning: sudo when using ‘rm’ in combination with wildcards ‘*’ it could delete much more than you intended to - up to a broken system!
TomMuc,
I followed your instructions word for word and the end result is the same: just the temperature graph is shown.
I still end up the same errors:
===== Finished webUI installation, creating initial graphs! =====
2544 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
2553 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
2562 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
2571 (process ID) old priority 0, new priority 5
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_aircraft-recent.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_cpu-demod.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_tracks-all.rrd': No such file or directory
577x259
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_range-max_range.rrd': No such file or directory
ERROR: opening '/var/lib/collectd/rrd/localhost/dump1090-rpi/dump1090_messages-local_accepted.rrd': No such file or directory
The one thing I notices was that the script is referencing /var/lib/collectd/rrd/localhost/dump1090-rpi/ but the folder dump1090-rpi does not exist and that may be causing the issue. However, I am yet to figure out how to correct this. The path I think the path is referenced from the /home/pi/dump-tools/collectd/make-graphs.sh script. Since I run dump1090-mutability, would that be the reason?
I feel lucky. I have installed “collected” 4 times on Wheezy using web_install.sh without any problems.
The first & second installations were on my RPi BPlus/Wheezy and RPi Model2/Wheezy.
The third & fourth installations were again on above two RPi, after I installed new microSD cards with fresh copies of Wheezy.