I am running Linux 5.9.0-1-arm64 #1 SMP Debian 5.9.1-1 (2020-10-17) aarch64 GNU/Linux on a Pine64 Rock64 SBC and after system update plus reboot I lost my local map, because the package for lighttp got broken up into several modules now, the following modules were installed: lighttpd-mod-openssl/testing,now 1.4.56~rc7-1 arm64 [installed,automatic], lighttpd-mod-deflate/testing,now 1.4.56~rc7-1 arm64 [installed,automatic], lighttpd/testing,now 1.4.56~rc7-1 arm64 [installed,automatic] and javascript-common/testing,now 11 all [installed,automatic] is there a way in how to fix this so that local map works again?
I donât think the modules you mentioned are the issue, please share the output of the lighttpd logs via pastebin.com:
Just run sudo systemctl status lighttpd and it returned
â lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-11-09 13:21:20 GMT; 21h ago
Process: 463 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Nov 09 13:21:20 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Start request repeated too quickly.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Failed with result âexit-codeâ.
Nov 09 13:21:20 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.<
Will investigate further and report back.
-- Logs begin at Mon 2020-09-14 07:04:41 BST, end at Tue 2020-11-10 10:36:01 GMT. --
Nov 01 10:06:54 debian systemd[1]: Starting Lighttpd Daemon...
Nov 01 10:06:55 debian systemd[1]: Started Lighttpd Daemon.
Nov 01 10:06:57 debian systemd[1]: Stopping Lighttpd Daemon...
Nov 01 10:06:57 debian systemd[1]: lighttpd.service: Succeeded.
Nov 01 10:06:57 debian systemd[1]: Stopped Lighttpd Daemon.
Nov 01 10:06:57 debian systemd[1]: Starting Lighttpd Daemon...
Nov 01 10:06:58 debian systemd[1]: Started Lighttpd Daemon.
Nov 01 10:42:03 debian systemd[1]: Stopping Lighttpd Daemon...
Nov 01 10:42:03 debian systemd[1]: lighttpd.service: Succeeded.
Nov 01 10:42:03 debian systemd[1]: Stopped Lighttpd Daemon.
-- Reboot --
Nov 01 10:42:05 debian systemd[1]: Starting Lighttpd Daemon...
Nov 01 10:42:05 debian systemd[1]: Started Lighttpd Daemon.
Nov 05 13:13:18 debian systemd[1]: Stopping Lighttpd Daemon...
Nov 05 13:13:18 debian systemd[1]: lighttpd.service: Succeeded.
Nov 05 13:13:18 debian systemd[1]: Stopped Lighttpd Daemon.
-- Reboot --
Nov 05 13:13:43 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 05 13:13:44 FlightTracker systemd[1]: Started Lighttpd Daemon.
Nov 09 13:20:11 FlightTracker systemd[1]: Stopping Lighttpd Daemon...
Nov 09 13:20:11 FlightTracker systemd[1]: lighttpd.service: Succeeded.
Nov 09 13:20:11 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:20:12 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:20:12 FlightTracker lighttpd[9328]: 2020-11-09 13:20:12: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:20:12 FlightTracker lighttpd[9328]: 2020-11-09 13:20:12: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:20:12 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:20:12 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:20:12 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:20:12 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1.
Nov 09 13:20:12 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:20:12 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:20:12 FlightTracker lighttpd[9363]: 2020-11-09 13:20:12: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:20:12 FlightTracker lighttpd[9363]: 2020-11-09 13:20:12: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:20:12 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:20:12 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:20:12 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:20:13 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2.
Nov 09 13:20:13 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:20:13 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:20:13 FlightTracker lighttpd[9374]: 2020-11-09 13:20:13: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:20:13 FlightTracker lighttpd[9374]: 2020-11-09 13:20:13: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:20:13 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:20:13 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:20:13 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:20:13 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3.
Nov 09 13:20:13 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:20:13 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:20:14 FlightTracker lighttpd[9388]: 2020-11-09 13:20:13: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:20:14 FlightTracker lighttpd[9388]: 2020-11-09 13:20:13: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:20:14 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:20:14 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:20:14 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:20:14 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4.
Nov 09 13:20:14 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:20:14 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:20:14 FlightTracker lighttpd[9398]: 2020-11-09 13:20:14: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:20:14 FlightTracker lighttpd[9398]: 2020-11-09 13:20:14: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:20:14 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:20:14 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:20:14 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:20:15 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Nov 09 13:20:15 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:20:15 FlightTracker systemd[1]: lighttpd.service: Start request repeated too quickly.
Nov 09 13:20:15 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:20:15 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
-- Reboot --
Nov 09 13:21:17 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:21:18 FlightTracker lighttpd[405]: 2020-11-09 13:21:17: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:21:18 FlightTracker lighttpd[405]: 2020-11-09 13:21:17: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:21:18 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:21:18 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:21:18 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:21:18 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1.
Nov 09 13:21:18 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:21:18 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:21:19 FlightTracker lighttpd[435]: 2020-11-09 13:21:18: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:21:19 FlightTracker lighttpd[435]: 2020-11-09 13:21:18: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:21:19 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2.
Nov 09 13:21:19 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:21:19 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:21:19 FlightTracker lighttpd[444]: 2020-11-09 13:21:19: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:21:19 FlightTracker lighttpd[444]: 2020-11-09 13:21:19: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:21:19 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3.
Nov 09 13:21:19 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:21:19 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:21:19 FlightTracker lighttpd[454]: 2020-11-09 13:21:19: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:21:19 FlightTracker lighttpd[454]: 2020-11-09 13:21:19: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:21:19 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:21:19 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4.
Nov 09 13:21:20 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:21:20 FlightTracker systemd[1]: Starting Lighttpd Daemon...
Nov 09 13:21:20 FlightTracker lighttpd[463]: 2020-11-09 13:21:20: (mod_alias.c.70) url.alias: `/dump1090-fa/' will never match as `/' matched first
Nov 09 13:21:20 FlightTracker lighttpd[463]: 2020-11-09 13:21:20: (server.c.1484) Configuration of plugins failed. Going down.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:21:20 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Nov 09 13:21:20 FlightTracker systemd[1]: Stopped Lighttpd Daemon.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Start request repeated too quickly.
Nov 09 13:21:20 FlightTracker systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 09 13:21:20 FlightTracker systemd[1]: Failed to start Lighttpd Daemon.
Iâll need the output for the other two commands listed, especially the directory listing for conf-enabled.
ls /etc/lighttpd/conf-enabled returned
88-dump1090-fa-statcache.conf 89-dump1090-fa.conf 90-javascript-alias.conf
and grep mod_setenv /etc/lighttpd/ -rnT returned
|/etc/lighttpd/conf-available/89-dump1090-fa.conf: 42:|server.modules += ( "mod_setenv" )
|/etc/lighttpd/conf-available/05-setenv.conf: 3:|server.modules += ( "mod_setenv" )
sudo lighttpd -v returned
lighttpd/1.4.56 (ssl) - a light and fast webserver
and both sudo lighttpd -t -f /etc/lighttpd/conf-available/89-dump1090-fa.conf and sudo lighttpd -t -f /etc/lighttpd/conf-available/05-setenv.conf returned
Syntax OK
same goes for 88-dump1090-fa-statcache.conf, 89-dump1090-fa.conf and 90-javascript-alias.conf all returned
Syntax OK
So ⌠have a modified /etc/lighttpd/lighttpd.conf i would say.
Somewhere in there you have / aliased before the dump1090-fa configuration is parsed, thus the error.
If you donât know how to proceed, share the following please:
cat /etc/lighttpd/lighttpd.conf
cat /etc/lighttpd/conf-available/89-dump1090-fa.conf
ls -l /etc/lighttpd/conf-enabled/89-dump1090-fa.conf
No modified lighttpd.conf all standard install, build direct from git.
cat /etc/lighttpd/lighttpd.conf returned
server.modules = (
"mod_indexfile",
"mod_access",
"mod_alias",
"mod_redirect",
)
server.document-root = "/var/www/html"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
# features
#https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_feature-flagsDetails
server.feature-flags += ("server.h2proto" => "enable")
server.feature-flags += ("server.h2c" => "enable")
server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
#server.feature-flags += ("server.graceful-restart-bg" => "enable")
# strict parsing and normalization of URL for consistency and security
# https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_http-parseoptsDetails
# (might need to explicitly set "url-path-2f-decode" = "disable"
# if a specific application is encoding URLs inside url-path)
server.http-parseopts = (
"header-strict" => "enable",# default
"host-strict" => "enable",# default
"host-normalize" => "enable",# default
"url-normalize-unreserved"=> "enable",# recommended highly
"url-normalize-required" => "enable",# recommended
"url-ctrls-reject" => "enable",# recommended
"url-path-2f-decode" => "enable",# recommended highly (unless breaks app)
#"url-path-2f-reject" => "enable",
"url-path-dotseg-remove" => "enable",# recommended highly (unless breaks app)
#"url-path-dotseg-reject" => "enable",
#"url-query-20-plus" => "enable",# consistency in query string
)
index-file.names = ( "index.php", "index.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
# default listening port for IPv6 falls back to the IPv4 port
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
include "/etc/lighttpd/conf-enabled/*.conf"
#server.compat-module-load = "disable"
server.modules += (
"mod_dirlisting",
"mod_staticfile",
)
and cat /etc/lighttpd/conf-available/89-dump1090-fa.conf returned
# Allows access to the static files that provide the dump1090 map view,
# and also to the dynamically-generated json parts that contain aircraft
# data and are periodically written by the dump1090 daemon.
# Enable alias module
#
## This module is normally already enabled in lighttpd, so you should not
## need to uncommment this line.
## There are some cases (e.g. when installing this on a Raspberry Pi
## that runs PiHole) in which the module has been removed from the
## default configuration, and the dump1090-fa web interface no longer
## loads properly.
## If this is what you are experiencing, or if you see messages in your
## error log like:
## (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
## then uncommenting this line and then restarting lighttpd could fix
## the issue.
## This is not enabled by default as standard lighttpd will not start if
## modules are loaded multiple times.
#
# server.modules += ( "mod_alias" )
alias.url += (
"/dump1090-fa/data/" => "/run/dump1090-fa/",
"/dump1090-fa/" => "/usr/share/dump1090-fa/html/"
)
# redirect the slash-less URL
url.redirect += (
"^/dump1090-fa$" => "/dump1090-fa/"
)
# Listen on port 8080 and serve the map there, too.
$SERVER["socket"] == ":8080" {
alias.url += (
"/data/" => "/run/dump1090-fa/",
"/" => "/usr/share/dump1090-fa/html/"
)
}
# Add CORS header
server.modules += ( "mod_setenv" )
$HTTP["url"] =~ "^/dump1090-fa/data/.*\.json$" {
setenv.set-response-header = ( "Access-Control-Allow-Origin" => "*" )
}
# Uncomment this section to enable SSL traffic (HTTPS) - especially useful
# for .dev domains
## Listen on 8443 for SSL connections
#server.modules += ( "mod_openssl" )
#$HTTP["host"] == "piaware.example.com" {
# $SERVER["socket"] == ":8443" {
# ssl.engine = "enable"
# ssl.pemfile = "/etc/ssl/certs/combined.pem"
# ssl.ca-file = "/etc/ssl/certs/fullchain.cer"
# ssl.honor-cipher-order = "enable"
# ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"
# ssl.use-sslv2 = "disable"
# ssl.use-sslv3 = "disable"
#
# alias.url += (
# "/data/" => "/run/dump1090-fa/",
# "/" => "/usr/share/dump1090-fa/html/"
# )
# }
#}
#
## Redirect HTTP to HTTPS
#$HTTP["scheme"] == "http" {
# $HTTP["host"] =~ ".*" {
# url.redirect = (".*" => "https://%0$0")
# }
#}
This is how my setup is done â GitHub - as365n4/arm64_Debian_ADSB_Receiver_Setup_for_FlightAware: This guide is for setting up a feeder (Flight/Aircraft Tracker) for FlightAware on arm64 devices running Debian.
Since it is my âtestâ rig, I havenât bothered with installing tar1090 or Dump1090-OpenLayers3 mod as I do on my âproductionâ rigs.
Thatâs really strange ⌠so the offending aliasing of / can only be in:
cat /etc/lighttpd/88-dump1090-fa-statcache.conf
It really shouldnât be but letâs check nonetheless.
cat /etc/lighttpd/conf-available/88-dump1090-fa-statcache.conf returned
# The stat cache must be disabled, as aircraft.json changes
# frequently and lighttpd's stat cache often ends up with the
# wrong content length.
server.stat-cache-engine = "disable"
cat /etc/lighttpd/conf-available/90-javascript-alias.conf returned
alias.url += ("/javascript" => "/usr/share/javascript")
Pretty much out of ideas âŚ
ls -l /etc/lighttpd/conf-enabled/
cat /etc/lighttpd/conf-enabled/*
Maybe itâs not symlinks but files for some reason there was a bug ⌠with tar1090 actually some time ago
As iâm pretty sure you donât need it, remove the js conf
sudo rm /etc/lighttpd/conf-available/90-javascript-alias.conf
sudo systemctl restart lighttpd
Then check the log again.
thankfully I only moved 90-javascript-alias.conf instead of deleting it, as lighttpd was now complaing that 90-javascript-alias.conf was missing in addition to that â(mod_alias.c.70) url.alias: /dump1090-fa/' will never match as
/â matched firstâ error message, so I put it back.
As I did the update yesterday there was a lenghty text message displayed explaing the break-up of lighttpd into several submodules, but unfortunately I took no copy of it. And the Debian Package Tracker has no useful info either in this regard.
ls -l /etc/lighttpd/conf-enabled/ returned
total 0
lrwxrwxrwx 1 root root 47 Nov 1 10:06 88-dump1090-fa-statcache.conf -> ../conf-available/88-dump1090-fa-statcache.conf
lrwxrwxrwx 1 root root 37 Nov 1 10:06 89-dump1090-fa.conf -> ../conf-available/89-dump1090-fa.conf
lrwxrwxrwx 1 root root 42 Oct 31 23:13 90-javascript-alias.conf -> ../conf-available/90-javascript-alias.conf
and cat /etc/lighttpd/conf-enabled/ returned
# The stat cache must be disabled, as aircraft.json changes
# frequently and lighttpd's stat cache often ends up with the
# wrong content length.
server.stat-cache-engine = "disable"
# Allows access to the static files that provide the dump1090 map view,
# and also to the dynamically-generated json parts that contain aircraft
# data and are periodically written by the dump1090 daemon.
# Enable alias module
#
## This module is normally already enabled in lighttpd, so you should not
## need to uncommment this line.
## There are some cases (e.g. when installing this on a Raspberry Pi
## that runs PiHole) in which the module has been removed from the
## default configuration, and the dump1090-fa web interface no longer
## loads properly.
## If this is what you are experiencing, or if you see messages in your
## error log like:
## (server.c.1493) WARNING: unknown config-key: alias.url (ignored)
## then uncommenting this line and then restarting lighttpd could fix
## the issue.
## This is not enabled by default as standard lighttpd will not start if
## modules are loaded multiple times.
#
# server.modules += ( "mod_alias" )
alias.url += (
"/dump1090-fa/data/" => "/run/dump1090-fa/",
"/dump1090-fa/" => "/usr/share/dump1090-fa/html/"
)
# redirect the slash-less URL
url.redirect += (
"^/dump1090-fa$" => "/dump1090-fa/"
)
# Listen on port 8080 and serve the map there, too.
$SERVER["socket"] == ":8080" {
alias.url += (
"/data/" => "/run/dump1090-fa/",
"/" => "/usr/share/dump1090-fa/html/"
)
}
# Add CORS header
server.modules += ( "mod_setenv" )
$HTTP["url"] =~ "^/dump1090-fa/data/.*\.json$" {
setenv.set-response-header = ( "Access-Control-Allow-Origin" => "*" )
}
# Uncomment this section to enable SSL traffic (HTTPS) - especially useful
# for .dev domains
## Listen on 8443 for SSL connections
#server.modules += ( "mod_openssl" )
#$HTTP["host"] == "piaware.example.com" {
# $SERVER["socket"] == ":8443" {
# ssl.engine = "enable"
# ssl.pemfile = "/etc/ssl/certs/combined.pem"
# ssl.ca-file = "/etc/ssl/certs/fullchain.cer"
# ssl.honor-cipher-order = "enable"
# ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"
# ssl.use-sslv2 = "disable"
# ssl.use-sslv3 = "disable"
#
# alias.url += (
# "/data/" => "/run/dump1090-fa/",
# "/" => "/usr/share/dump1090-fa/html/"
# )
# }
#}
#
## Redirect HTTP to HTTPS
#$HTTP["scheme"] == "http" {
# $HTTP["host"] =~ ".*" {
# url.redirect = (".*" => "https://%0$0")
# }
#}
alias.url += ("/javascript" => "/usr/share/javascript")
Oh ⌠i meant:
sudo rm /etc/lighttpd/conf-enabled/90-javascript-alias.conf
wrong folder âŚ
Anyhow ⌠it really shouldnât have any effect.
No clue whatâs going on.
Didnât quite realize you were on testing.
The lighttpd shipped in Debian testing is currently just broken, pretty sure.
One has to be on bullseye/sid as the kernel in buster is so hopelessly outdated (4.19).
For best performance on Rockchip and especially Allwinner H6 based SBC a Kernel 5.8 or higher is a must. And Vanilla Debian defaults automatically to bullseye/sid when installed directly from Debian sources.
I have checked Debian Changelog for lighttpd and you might be right that it is just broken as they seem to do some restructuring on the package itselfâŚ
lighttpd (1.4.56~rc7-1) unstable; urgency=medium
- Upload to unstable.
- drop mod_authn_dbi.so from debian/not-installed
â Helmut Grohne <> Sat, 07 Nov 2020 11:03:57 +0100
lighttpd (1.4.56~rc7-0+exp2) experimental; urgency=medium
[ Glenn Strauss ]
- build lighttpd base against Nettle
- split off package lighttpd-mod-openssl
- split off package lighttpd-mod-deflate
- merge lighttpd-mod-cml and lighttpd-mod-magnet into lighttpd-modules-lua
- replace mod_compress with mod_deflate
- build with brotli support; replace bzip2 support
- separate package for each TLS module
mod_openssl, mod_mbedtls, mod_nss, mod_wolfssl- new package lighttpd-modules-dbi with mod_authn_dbi, mod_vhostdb_dbi
- document deprecated modules: mod_authn_mysql, mod_mysql_vhost
- remove libattr1-dev dependency
[ Helmut Grohne ]
- remove mod_deflate from the default configuration
[ Glenn Strauss ]
- lighttpd.conf enable HTTP/2 feature
[ Helmut Grohne ]
- use the system libxxhash instead of our vendor copy
â Helmut Grohne <> Thu, 05 Nov 2020 20:18:08 +0100
lighttpd (1.4.56~rc7-0+exp1) experimental; urgency=medium
- New upstream version 1.4.56~rc7
â Helmut Grohne <> Tue, 03 Nov 2020 05:51:40 +0100
lighttpd (1.4.56~rc2-0+exp1) experimental; urgency=medium
- fix php-fpm socket path.
Thanks to Joe Nahmias <> (Closes: #973300)- New upstream version 1.4.56~rc2
- Update debian/copyright
- Drop all patches - all applied upstream
- mod_compress is merged into mod_deflate
- Skip installing mod_authn_dbi for now
- load-all-modules test skips deprecated mod_vhost_mysql
â Helmut Grohne <> Mon, 02 Nov 2020 19:54:18 +0100
So apparently it doesnât handle the configuration for the extra port very well in the new version. (letâs hope they fix that)
Removing the $SERVER["socket"]
section fixes the issue.
Iâd recommend to use nginx anyhow, to make it easier i provide config files that can be included when using tar1090: GitHub - wiedehopf/tar1090: Provides an improved webinterface for use with ADS-B decoders readsb / dump1090-fa
(itâs displayed at the end of the script if nginx is installed)
Note tar1090 doesnât play too well with that lighttpd version either ⌠(just yet anyway, i might add some work-arounds).
sudo rm /etc/lighttpd/conf-enabled/95-tar1090-otherport.conf
This fixes it mostly ⌠it will still show lots of warnings but it should work.
Cool stuff, many thanks for the tip and easy fix.
Iâve commented out the âListen on port 8080â section in 89-dump1090-fa.conf and restarted lighttpd and the map is back.
Issues do not get fixed if they do not get reported. Please consider reporting issues upstream. Thank you from a lighttpd developer who happened to find this page with an out-of-the-blue random search.
That is an error in the user-configuration, not in lighttpd. The most-specific matches need to be listed before the more general matches.
You can run lighttpd -f /etc/lighttpd/lighttpd.conf -p
to print out the entire configuration as it is parsed by lighttpd. Then you can identity the place(s) with alias.url
ordering issues.
The lighttpd documentation provides some examples how to use variables to share configuration in different scopes. The examples might give you ideas how to more easily manage the list of aliases.
https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSetEnv