Timelapse1090

By chance can you check the development console in any of those?

Also don’t you have Firefox or Chrome? :slight_smile:
Not familiar at all with these other browsers.

Ok so for Opera i found this:

From the Opera main menu, select View > Developer Tools > Error Console.

Can you check that?

Let’s also check that the data is there:
http://address.of.pi/timelapse/data/chunk_0.gz

This should give you a big screen of text.

When I check to see if the data is there I get an error message that the site cannot be found

you put in the ip address of your pi?

Yes. The message basically says the sire cannot be reached. The Pi and dump1090-fa, and PiAware are working fine

On the first release, a trailing / was needed otherwise I got a 404 error. That’s not the case now though.

Please show output of these two commands:

ls /run/timelapse1090
sudo journalctl --no-pager -u timelapse1090

Yeah i fixed that :slight_smile:

Output here… many thanks

Output%202

I’ve just installed it on my other Pi and it has worked straight away without a problem. The other Pi has always been a bit problematic

Let’s check:

ls /etc/lighttpd/conf-enabled
ls -l /run/dump1090-fa/aircraft.json
sudo journalctl --no-pager -u lighttpd

I have no clue why it couldn’t read the dump1090-fa directory at first, that is very weird.
But it should have worked after that.

Still no joy. this was the output from that series of commands

Ok so it’s mod_setenv.
Seems like my hack to fix that didn’t work.

Let’s see:

grep '^server.modules += ( "mod_setenv" )' /etc/lighttpd/conf-enabled/89-dump1090-fa.conf
grep mod_setenv /etc/lighttpd/conf-enabled/*

My suspicion is that there is more mod_setenv in the other configuration files for adsb-portal.

This is it…

Run this:

sudo sed -i -e 's/^server.modules += ( "mod_setenv" )/#server.modules += ( "mod_setenv" )/'  $(find /etc/lighttpd/conf-enabled/* | grep -v dump1090-fa)
sudo systemctl restart lighttpd

It is indeed the adsb portal having that config option as well.
I’ve changed my install script to take care of it as well :slight_smile:

Thanks for your patience in debugging this.

To everyone else here:

If it’s not necessary the install will not restart the service causing the history to be lost.
So updates that only relate to the webinterface won’t delete the history.

But i’m pretty happy unless someone is looking for more buttons.
I’m running with a 5 second instead of 10 second interval and the load times are getting kinda long.
Around 25 seconds and i’m not at 12 hours yet.

So if you don’t like the long load times you can either increase the interval or reduce the history hours.
(Last 6 hours only for example)

Brilliant, it’s working :slight_smile: many thanks for all your hard work and patience in sorting this. It’s a great addition.

Much appreciated

Had some fun with time-lapse

I received the following message:

pi@piaware:~ $ sed -i -e ‘s/^server.modules += ( “mod_setenv” )/#server.modules += ( “mod_setenv” )/’ /etc/lighttpd/conf-available/89-skyview978.conf
sed: couldn’t open temporary file /etc/lighttpd/conf-available/sedLAGm1F: Permission denied

Just run the install script, it includes a similar command now.
(you need to use sudo for that sed command to work)