Hi,
For the last couple of days, I have a strange issue with the map (frontend)
Basically:
The dump1090 is working
The FlightAware is sending data to the website
the {myIP} is working - I can see the four green buttons and the ‘Go to SkyAware Map’
however when I click the button and the website navigates me to the /dump1090-fa/ page nothing is displayed !
The graph1090 is working OK as well
What I did to troubleshoot the issue:
Cleared the cache and cookies
Forced reload of the page
Rebooted the Pi (hardware)
checked the logs in /var/log folder (error.log and lighthttpd folders)
As far as I can tel, everything looks normal, but the map is not visible.
I suspect that something was wrong on apt-get update last time I did it so lesson learn, don’t touch it if its working
Can you help me to troubleshoot the issue? I am willing to share logs or graphs1090
Worst case scenario: how to migrate the profile to a new hardware - in case if I want to move this to newer hardware and better memory card?
Huh, haven’t seen that failure mode before. Usually you’d get either a network error (can’t talk to the webserver for some reason) or an empty map (can talk to the webserver, but data from dump1090 isn’t making it to the browser). What’s the source of the blank page look like? Any errors in the console?
root@piaware:/home/pi# systemctl status lighttpd.service
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-12-11 11:37:57 GMT; 2min 26s ago
Process: 495 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 587 (lighttpd)
CGroup: /system.slice/lighttpd.service
└─587 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
Dec 11 11:17:46 piaware systemd[1]: Starting Lighttpd Daemon...
Dec 11 11:37:56 piaware lighttpd[495]: 2020-12-11 11:17:46: (plugin.c.190) Cannot load plugin mod_setenv more than once, please fix your config (lighttpd may not accept such configs in futur
Dec 11 11:37:57 piaware systemd[1]: Started Lighttpd Daemon.
Dec 11 11:38:22 piaware lighttpd[587]: 2020-12-11 11:37:58: (plugin.c.190) Cannot load plugin mod_setenv more than once, please fix your config (lighttpd may not accept such configs in futur
lines 1-12/12 (END)
when running the command:
root@piaware:/home/pi# *
cat /etc/lighttpd/lighttpd.conf |grep mod_setenv
it dosent show the plugin at all
I’ve check as well the /var/log folders for errros
2020-12-10 01:19:11: (server.c.2059) server stopped by UID = 0 PID = 1
2020-12-10 01:20:30: (server.c.1464) server started (lighttpd/1.4.53)
2020-12-10 02:55:05: (server.c.2059) server stopped by UID = 0 PID = 1
2020-12-10 02:56:25: (server.c.1464) server started (lighttpd/1.4.53)
2020-12-10 20:01:54: (server.c.958) [note] graceful shutdown started
2020-12-10 20:01:54: (server.c.2059) server stopped by UID = 0 PID = 11718
2020-12-10 20:01:55: (server.c.1464) server started (lighttpd/1.4.53)
2020-12-11 02:55:06: (server.c.2059) server stopped by UID = 0 PID = 1
2020-12-11 02:56:23: (server.c.1464) server started (lighttpd/1.4.53)
2020-12-11 11:37:58: (server.c.1464) server started (lighttpd/1.4.53)
I’ve noticed as well, that once I ssh to the pi, the initial connection takes few seconds (usually it is instant) in addition the system seems to be ‘slow’ in reposnse to any command as ‘nano’
but
I’ve checked the free -h and it show 50% available memory, the CPU usage is normal as well , oscilating in the 50-60% marks
Can I export all the /graphs1090 as a one screenshoot to upload this as well ?
It might be a BRAVE advertisment or something. The Pi is ‘sitting’ on the internal network, separated to specific IoT VLAN and I have ssh-keys to login I work for IT
so anyway, I’ve checked the page source on Edge and it show nothing
This folder contain all necessary files and I didn’t touch them since March.
As i’ve mentioned earlier this issue started roughly when I ran apt-get update …
root@piaware:/usr/share/dump1090-fa/html# **ls**
config.js dbloader.js flags.js images jquery markers.js planeObject.js script.js style.css
db flags-tiny formatter.js index.html layers.js ol registrations.js spinny.gif test
root@piaware:/usr/share/dump1090-fa/html# **cat index.html**
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8"/>
I think I would give it a go and re-install from zero.
You broke it even more now… I still think, that the last apt-get destroyed some dev-lib or some dependencies. I am trying to manually do apt-get update/upgrade bu this process stops at: