Issue with updating to 3.8.0

Just now finished installing dump1090-fa on Fedora 31, built from source-code, using:
sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

Here is complete procedure:

sudo dnf install libusb-devel     
sudo dnf install ncurses-devel    
sudo dnf install rtl-sdr  
sudo dnf install make  
sudo dnf install cmake
sudo git clone https://github.com/steve-m/librtlsdr.git   
cd librtlsdr  
sudo mkdir build && cd build  
sudo cmake ../  
sudo make  
sudo make install 
sudo cp /usr/local/lib/pkgconfig/librtlsdr.pc /usr/share/pkgconfig/librtlsdr.pc 
sudo git clone https://github.com/flightaware/dump1090.git dump1090-fa 
cd dump1090-fa  
sudo make BLADERF=no  

sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules" 
sudo reboot


sudo cp ~/dump1090-fa/dump1090 /usr/bin/dump1090-fa
sudo cp ~/dump1090-fa/debian/dump1090-fa.default /etc/default/dump1090-fa  
sudo cp ~/dump1090-fa/debian/dump1090-fa.service /usr/lib/systemd/system/dump1090-fa.service  
sudo mkdir -p /usr/share/dump1090-fa/  
sudo cp ~/dump1090-fa/debian/start-dump1090-fa /usr/share/dump1090-fa/start-dump1090-fa  
sudo cp -r ~/dump1090-fa/public_html /usr/share/dump1090-fa/html  
sudo adduser --system dump1090  
sudo usermod -a -G rtlsdr dump1090  
sudo systemctl enable dump1090-fa

Not sure if you meant that dump{1090,978}-fa is missing the rules, but the rules don’t belong in those packages; on a standard Raspbian the udev rules are provided by the librtlsdr0 package.

pi@piaware:~ $ dpkg -S /lib/udev/rules.d/60-librtlsdr0.rules 
librtlsdr0:armhf: /lib/udev/rules.d/60-librtlsdr0.rules

dump1090/dump978 leaves the details of getting a working librtlsdr install up to the installer of librtlsdr.

Why do you install two different versions of librtlsdr?

I myself dont understand why both are needed, but on fedora build errors and failure to build results if both are not installed.

Hmm … curious … probably had another problem then.
Not exactly sure.

@obj

If I recall correctly, in Fedora 31:

  • The dump1090-fa fails to build if librtlsdr is not installed.

  • The dump1090-fa fails to run if rtl-sdr is not installed.

Though off-topic, but continuation of stand-alone dump1090-fa installation

On Fedora 31, tried dump1090-fa’s lighttpd integration as below - FAILED
@obj
@wiedehopf

Any thoughts?

sudo dnf install lighttpd  

sudo cp ~/dump1090-fa/debian/lighttpd/89-dump1090-fa.conf /etc/lighttpd/conf.d/89-dump1090-fa.conf  
sudo chmod 666 /etc/lighttpd/lighttpd.conf 
echo "server.modules += ( \"mod_alias\" )" >> /etc/lighttpd/lighttpd.conf  
echo "include \"/etc/lighttpd/conf.d/89-dump1090-fa.conf\"" >> /etc/lighttpd/lighttpd.conf  
sudo chmod 644 /etc/lighttpd/lighttpd.conf  

sudo systemctl enable lighttpd  

sudo reboot 

.


.
image

.

lighttpd.conf (Last 2 lines at bottom are additions by me)

[abcd@fedora-31 ~]$ cat /etc/lighttpd/lighttpd.conf  

#######################################################################
##
## /etc/lighttpd/lighttpd.conf
##
## check /etc/lighttpd/conf.d/*.conf for the configuration of modules.
##
#######################################################################

#######################################################################
##
## Some Variable definition which will make chrooting easier.
##
## if you add a variable here. Add the corresponding variable in the
## chroot example aswell.
##
var.log_root    = "/var/log/lighttpd"
var.server_root = "/var/www"
var.state_dir   = "/var/run"
var.home_dir    = "/var/lib/lighttpd"
var.conf_dir    = "/etc/lighttpd"

##
## run the server chrooted.
##
## This requires root permissions during startup.
##
## If you run Chrooted set the the variables to directories relative to
## the chroot dir.
##
## example chroot configuration:
##
#var.log_root    = "/logs"
#var.server_root = "/"
#var.state_dir   = "/run"
#var.home_dir    = "/lib/lighttpd"
#var.vhosts_dir  = "/vhosts"
#var.conf_dir    = "/etc"
#
#server.chroot   = "/srv/www"

##
## Some additional variables to make the configuration easier
##

##
## Base directory for all virtual hosts
##
## used in:
## conf.d/evhost.conf
## conf.d/simple_vhost.conf
## vhosts.d/vhosts.template
##
var.vhosts_dir  = server_root + "/vhosts"

##
## Cache for mod_compress
##
## used in:
## conf.d/compress.conf
##
var.cache_dir   = "/var/cache/lighttpd"

##
## Base directory for sockets.
##
## used in:
## conf.d/fastcgi.conf
## conf.d/scgi.conf
##
var.socket_dir  = state_dir + "/sockets"

##
#######################################################################

#######################################################################
##
## Load the modules.
include "modules.conf"

##
#######################################################################

#######################################################################
##
##  Basic Configuration
## ---------------------
##
server.port = 80

##
## Use IPv6?
##
server.use-ipv6 = "enable"

##
## bind to a specific IP
##
#server.bind = "localhost"

##
## Run as a different username/groupname.
## This requires root permissions during startup.
##
server.username  = "lighttpd"
server.groupname = "lighttpd"

##
## Enable lighttpd to serve requests on sockets received from systemd
## https://www.freedesktop.org/software/systemd/man/systemd.socket.html
##
#server.systemd-socket-activation = "enable"

##
## enable core files.
##
#server.core-files = "disable"

##
## Document root
##
server.document-root = server_root + "/lighttpd"

##
## The value for the "Server:" response field.
##
## It would be nice to keep it at "lighttpd".
##
#server.tag = "lighttpd"

##
## store a pid file
##
server.pid-file = state_dir + "/lighttpd.pid"

##
#######################################################################

#######################################################################
##
##  Logging Options
## ------------------
##
## all logging options can be overwritten per vhost.
##
## Path to the error log file
##
server.errorlog             = log_root + "/error.log"

##
## If you want to log to syslog you have to unset the
## server.errorlog setting and uncomment the next line.
##
#server.errorlog-use-syslog = "enable"

##
## Access log config
##
include "conf.d/access_log.conf"

##
## The debug options are moved into their own file.
## see conf.d/debug.conf for various options for request debugging.
##
include "conf.d/debug.conf"

##
#######################################################################

#######################################################################
##
##  Tuning/Performance
## --------------------
##
## corresponding documentation:
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Performance
##
## set the event-handler (read the performance section in the manual)
##
## possible options on linux are:
##
## select
## poll
## linux-sysepoll
##
## linux-sysepoll is recommended on kernel 2.6.
##
server.event-handler = "linux-sysepoll"

##
## The basic network interface for all platforms at the syscalls read()
## and write(). Every modern OS provides its own syscall to help network
## servers transfer files as fast as possible
##
## sendfile       - is recommended for small files.
## writev         - is recommended for sending many large files
##
server.network-backend = "sendfile"

##
## As lighttpd is a single-threaded server, its main resource limit is
## the number of file descriptors, which is set to 1024 by default (on
## most systems).
##
## If you are running a high-traffic site you might want to increase this
## limit by setting server.max-fds.
##
## Changing this setting requires root permissions on startup. see
## server.username/server.groupname.
##
## By default lighttpd would not change the operation system default.
## But setting it to 2048 is a better default for busy servers.
##
## With SELinux enabled, this is denied by default and needs to be allowed
## by running the following once : setsebool -P httpd_setrlimit on
#server.max-fds = 2048

##
## listen-backlog is the size of the listen() backlog queue requested when
## the lighttpd server ask the kernel to listen() on the provided network
## address.  Clients attempting to connect() to the server enter the listen()
## backlog queue and wait for the lighttpd server to accept() the connection.
##
## The out-of-box default on many operating systems is 128 and is identified
## as SOMAXCONN.  This can be tuned on many operating systems.  (On Linux,
## cat /proc/sys/net/core/somaxconn)  Requesting a size larger than operating
## system limit will be silently reduced to the limit by the operating system.
##
## When there are too many connection attempts waiting for the server to
## accept() new connections, the listen backlog queue fills and the kernel
## rejects additional connection attempts.  This can be useful as an
## indication to an upstream load balancer that the server is busy, and
## possibly overloaded.  In that case, configure a smaller limit for
## server.listen-backlog.  On the other hand, configure a larger limit to be
## able to handle bursts of new connections, but only do so up to an amount
## that the server can keep up with responding in a reasonable amount of
## time.  Otherwise, clients may abandon the connection attempts and the
## server will waste resources servicing abandoned connections.
##
## It is best to leave this setting at its default unless you have modelled
## your traffic and tested that changing this benefits your traffic patterns.
##
## Default: 1024
##
#server.listen-backlog = 128

##
## Stat() call caching.
##
## lighttpd can utilize FAM/Gamin to cache stat call.
##
## possible values are:
## disable, simple or fam.
##
server.stat-cache-engine = "simple"

##
## Fine tuning for the request handling
##
## max-connections == max-fds/2 (maybe /3)
## means the other file handles are used for fastcgi/files
##
server.max-connections = 1024

##
## How many seconds to keep a keep-alive connection open,
## until we consider it idle.
##
## Default: 5
##
#server.max-keep-alive-idle = 5

##
## How many keep-alive requests until closing the connection.
##
## Default: 16
##
#server.max-keep-alive-requests = 16

##
## Maximum size of a request in kilobytes.
## By default it is unlimited (0).
##
## Uploads to your server cant be larger than this value.
##
#server.max-request-size = 0

##
## Time to read from a socket before we consider it idle.
##
## Default: 60
##
#server.max-read-idle = 60

##
## Time to write to a socket before we consider it idle.
##
## Default: 360
##
#server.max-write-idle = 360

##
##  Traffic Shaping
## -----------------
##
## see /usr/share/doc/lighttpd/traffic-shaping.txt
##
## Values are in kilobyte per second.
##
## Keep in mind that a limit below 32kB/s might actually limit the
## traffic to 32kB/s. This is caused by the size of the TCP send
## buffer.
##
## per server:
##
#server.kbytes-per-second = 128

##
## per connection:
##
#connection.kbytes-per-second = 32

##
#######################################################################

#######################################################################
##
##  Filename/File handling
## ------------------------

##
## files to check for if .../ is requested
## index-file.names            = ( "index.php", "index.rb", "index.html",
##                                 "index.htm", "default.htm" )
##
index-file.names += (
  "index.xhtml", "index.html", "index.htm", "default.htm", "index.php"
)

##
## deny access the file-extensions
##
## ~    is for backupfiles from vi, emacs, joe, ...
## .inc is often used for code includes which should in general not be part
##      of the document-root
url.access-deny             = ( "~", ".inc" )

##
## disable range requests for pdf files
## workaround for a bug in the Acrobat Reader plugin.
##
$HTTP["url"] =~ "\.pdf$" {
  server.range-requests = "disable"
}

##
## url handling modules (rewrite, redirect)
##
#url.rewrite                = ( "^/$"             => "/server-status" )
#url.redirect               = ( "^/wishlist/(.+)" => "http://www.example.com/$1" )

##
## both rewrite/redirect support back reference to regex conditional using %n
##
#$HTTP["host"] =~ "^www\.(.*)" {
#  url.redirect            = ( "^/(.*)" => "http://%1/$1" )
#}

##
## which extensions should not be handle via static-file transfer
##
## .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
##
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" )

##
## error-handler for all status 400-599
##
#server.error-handler       = "/error-handler.html"
#server.error-handler       = "/error-handler.php"

##
## error-handler for status 404
##
#server.error-handler-404   = "/error-handler.html"
#server.error-handler-404   = "/error-handler.php"

##
## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for 'File not found'
##
#server.errorfile-prefix    = "/srv/www/htdocs/errors/status-"

##
## mimetype mapping
##
include "conf.d/mime.conf"

##
## directory listing configuration
##
include "conf.d/dirlisting.conf"

##
## Should lighttpd follow symlinks?
##
server.follow-symlink = "enable"

##
## force all filenames to be lowercase?
##
#server.force-lowercase-filenames = "disable"

##
## defaults to /var/tmp as we assume it is a local harddisk
##
server.upload-dirs = ( "/var/tmp" )

##
#######################################################################


#######################################################################
##
##  SSL Support
## -------------
##
## To enable SSL for the whole server you have to provide a valid
## certificate and have to enable the SSL engine.::
##
##   ssl.engine = "enable"
##   ssl.pemfile = "/path/to/server.pem"
##
##   $SERVER["socket"] == "10.0.0.1:443" {
##     ssl.engine                  = "enable"
##     ssl.pemfile                 = "/etc/ssl/private/www.example.com.pem"
##
##     # Check your cipher list with: openssl ciphers -v '...'
##     # (use single quotes as your shell won't like ! in double quotes)
##     #ssl.cipher-list             = "PROFILE=SYSTEM"
##
##     # (recommended to accept only TLSv1.2 and TLSv1.3)
##     #ssl.openssl.ssl-conf-cmd = ("Protocol" => "-ALL, TLSv1.2, TLSv1.3")
##
##     server.name                 = "www.example.com"
##
##     server.document-root        = "/srv/www/vhosts/example.com/www/"
##   }
##

## If you have a .crt and a .key file, specify both ssl.pemfile and ssl.privkey,
## or cat them together into a single PEM file:
## $ cat /etc/ssl/private/lighttpd.key /etc/ssl/certs/lighttpd.crt \
##   > /etc/ssl/private/lighttpd.pem
##
#ssl.pemfile = "/etc/ssl/private/lighttpd.pem"
#
# or
#
#ssl.privkey = "/etc/ssl/private/privkey.pem"
#ssl.pemfile = "/etc/ssl/private/cert.pem"

##
## optionally pass the CA certificate here.
##
##
#ssl.ca-file = ""

##
## and the CRL revocation list here.
##
##
#ssl.ca-crl-file = ""

##
#######################################################################

#######################################################################
##
## custom includes like vhosts.
##
#include "conf.d/config.conf"
#include "/etc/lighttpd/vhosts.d/*.conf"
##
#######################################################################

server.modules += ( "mod_alias" )
include "/etc/lighttpd/conf.d/89-dump1090-fa.conf"


Wrong /run directory?

Tried to load aircraft.json manually and checked the run directory if it’s there?

Also scrolling through that lighttpd conf is really annoying.
In short, debug the problem, it’s not rocket science …

I myself got irritated scrolling through it. I expected this reaction. :rofl:

I really dont understand why the author made it so lengthy that it looks like the full chemical composition of Protein Tintin, the largest known protein molecule.

1 Like

I myself never tolerate those unless I need to read the comments

cat /etc/lighttpd/lighttpd.conf | grep -v ^#
1 Like

There are heaps of history_xx.json files in folder /run/dump1090-fa, but these somehow do not make their way to the page usr/share/dump1090-fa/html/index.html
image

EVERYTHING SEEMS IN ORDER, BUT STILL :frowning:
image

image

.
This looks better, thanks to @mikkyo :slightly_smiling_face:

[abcd@fedora-31 ~]$ cat /etc/lighttpd/lighttpd.conf | grep -v ^#

var.log_root    = "/var/log/lighttpd"
var.server_root = "/var/www"
var.state_dir   = "/var/run"
var.home_dir    = "/var/lib/lighttpd"
var.conf_dir    = "/etc/lighttpd"
var.vhosts_dir  = server_root + "/vhosts"
var.cache_dir   = "/var/cache/lighttpd"
var.socket_dir  = state_dir + "/sockets"
include "modules.conf"
server.port = 80
server.use-ipv6 = "enable"
server.username  = "lighttpd"
server.groupname = "lighttpd"
server.document-root = server_root + "/lighttpd"
server.pid-file = state_dir + "/lighttpd.pid"
server.errorlog             = log_root + "/error.log"
include "conf.d/access_log.conf"
include "conf.d/debug.conf"
server.event-handler = "linux-sysepoll"
server.network-backend = "sendfile"
server.stat-cache-engine = "simple"
server.max-connections = 1024
index-file.names += (
  "index.xhtml", "index.html", "index.htm", "default.htm", "index.php"
)
url.access-deny             = ( "~", ".inc" )
$HTTP["url"] =~ "\.pdf$" {
  server.range-requests = "disable"
}
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" )
include "conf.d/mime.conf"
include "conf.d/dirlisting.conf"
server.follow-symlink = "enable"
server.upload-dirs = ( "/var/tmp" )

server.modules += ( "mod_alias" )
include "/etc/lighttpd/conf.d/89-dump1090-fa.conf"

are you sure this is correct?
why did you add it?

have you checked the log for lighttpd?
Debug commands · wiedehopf/adsb-wiki Wiki · GitHub

Really … first thing i always ask :stuck_out_tongue:

also

wget http://localhost/dump1090-fa/data/aircraft.json

I found this when making lighttpd integration on ArchLinux, whose lighttpd.conf file was almost identical to Fedora one, and until I added mod-alias, the map wont display. Anyway no harm in adding this module. The file 89-dump1090-fa has alias redirect in it and needs this module. I think in Debian/Raspbian version of lighttpd.conf this module is included by default.

Forbidden !!!

[abcd@fedora-31 ~]$ wget http://localhost/dump1090-fa/data/aircraft.json
--2020-01-19 18:19:08--  http://localhost/dump1090-fa/data/aircraft.json
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-01-19 18:19:08 ERROR 403: Forbidden.
[abcd@fedora-31 ~]$ sudo journalctl --no-pager -u lighttpd
[sudo] password for abcd:
-- Logs begin at Sun 2019-12-22 13:55:51 EST, end at Sun 2020-01-19 18:30:10 EST. --
Jan 19 10:35:54 fedora-31 systemd[1]: /usr/lib/systemd/system/lighttpd.service:6: PIDFile= references a path below legacy directory /var/run/, updating /var/run/lighttpd.pid → /run/lighttpd.pid; please update the unit file accordingly.
Jan 19 10:36:15 fedora-31 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Jan 19 10:36:15 fedora-31 lighttpd[2696]: 2020-01-19 10:36:15: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 10:36:15 fedora-31 lighttpd[2696]: 2020-01-19 10:36:15: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 10:36:15 fedora-31 lighttpd[2696]: 2020-01-19 10:36:15: (server.c.1437) can't have more connections than fds/2:  1024 1024
Jan 19 11:03:09 fedora-31 systemd[1]: Stopping Lightning Fast Webserver With Light System Requirements...
Jan 19 11:03:11 fedora-31 systemd[1]: lighttpd.service: Succeeded.
Jan 19 11:03:11 fedora-31 systemd[1]: Stopped Lightning Fast Webserver With Light System Requirements.
-- Reboot --
Jan 19 11:04:08 fedora-31 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Jan 19 11:04:08 fedora-31 lighttpd[778]: Duplicate array-key '/dump1090-fa/data/'
Jan 19 11:04:09 fedora-31 lighttpd[778]: 2020-01-19 11:04:08: (configfile.c.1309) source: /etc/lighttpd/conf.d/89-dump1090-fa.conf line: 11 pos: 13 parser failed somehow near here: (EOL)
Jan 19 11:04:09 fedora-31 lighttpd[778]: 2020-01-19 11:04:08: (configfile.c.1309) source: /etc/lighttpd/lighttpd.conf line: 489 pos: 1 parser failed somehow near here: (EOL)
Jan 19 11:04:08 fedora-31 systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION
Jan 19 11:04:08 fedora-31 systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Jan 19 11:36:40 fedora-31 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Jan 19 11:36:40 fedora-31 lighttpd[2147]: 2020-01-19 11:36:40: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 11:36:40 fedora-31 lighttpd[2147]: 2020-01-19 11:36:40: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 11:36:40 fedora-31 lighttpd[2147]: 2020-01-19 11:36:40: (server.c.1437) can't have more connections than fds/2:  1024 1024
Jan 19 11:49:55 fedora-31 systemd[1]: Stopping Lightning Fast Webserver With Light System Requirements...
Jan 19 11:49:56 fedora-31 systemd[1]: lighttpd.service: Succeeded.
Jan 19 11:49:56 fedora-31 systemd[1]: Stopped Lightning Fast Webserver With Light System Requirements.
-- Reboot --
Jan 19 15:30:40 fedora-31 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Jan 19 15:30:41 fedora-31 lighttpd[775]: 2020-01-19 15:30:40: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 15:30:41 fedora-31 lighttpd[775]: 2020-01-19 15:30:40: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 15:30:41 fedora-31 lighttpd[775]: 2020-01-19 15:30:40: (server.c.1437) can't have more connections than fds/2:  1024 1024
Jan 19 15:52:20 fedora-31 systemd[1]: Stopping Lightning Fast Webserver With Light System Requirements...
Jan 19 15:52:21 fedora-31 systemd[1]: lighttpd.service: Succeeded.
Jan 19 15:52:21 fedora-31 systemd[1]: Stopped Lightning Fast Webserver With Light System Requirements.
-- Reboot --
Jan 19 15:53:19 fedora-31 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Jan 19 15:53:19 fedora-31 lighttpd[768]: 2020-01-19 15:53:19: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 15:53:19 fedora-31 lighttpd[768]: 2020-01-19 15:53:19: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 15:53:19 fedora-31 lighttpd[768]: 2020-01-19 15:53:19: (server.c.1437) can't have more connections than fds/2:  1024 1024
-- Reboot --
Jan 19 17:14:49 fedora-31 systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Jan 19 17:14:50 fedora-31 lighttpd[760]: 2020-01-19 17:14:49: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 17:14:50 fedora-31 lighttpd[760]: 2020-01-19 17:14:49: (network.c.162) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
Jan 19 17:14:50 fedora-31 lighttpd[760]: 2020-01-19 17:14:49: (server.c.1437) can't have more connections than fds/2:  1024 1024
[abcd@fedora-31 ~]$

.

[abcd@fedora-31 ~]$ ls /etc/lighttpd/conf-enabled
ls: cannot access '/etc/lighttpd/conf-enabled': No such file or directory

Fedora’s lighttpd has folder conf.d instead of Debian’s folder conf-enabled
Accordingly I have added in lighttpd.conf of Fedora as follows:
include "/etc/lighttpd/conf.d/89-dump1090-fa.conf"

[abcd@fedora-31 ~]$ ls /etc/lighttpd/conf.d
89-dump1090-fa.conf  evhost.conf   secdownload.conf
access_log.conf      expire.conf   simple_vhost.conf
auth.conf            magnet.conf   ssi.conf
cgi.conf             mime.conf     status.conf
cml.conf             mod.template  trigger_b4_dl.conf
compress.conf        proxy.conf    userdir.conf
debug.conf           rrdtool.conf  webdav.conf
dirlisting.conf      scgi.conf

Probably you need to do something to make the contents of /run/dump1090-fa readable to the user that lighttpd runs as.

are you sure about the folder structure of the webroot set in webserver config/virtual host file?

I’ve got this error recently while playing around until i saw that the root folder of the device where the webserver pointed to was empty.

Fixing this error doesn’t hurt probably not the issue.

As obj said, check the permissions for /run/dump1090-fa:

ls -ld /run/dump1090-fa

dump1090-fa’s lighttpd integration on Fedora 31 amd64

(A) Settings >> Network >> IPv6 >> Disable >> Reboot
After disabling IPv6:

  1. localhost/dump1090-fa still showing AJAX warning “Problem fetching data”
  2. Browser stopped connecting to outside world. http://www.google.com, http://flightaware.com etc show “Server not found”.

Enabled IPv6 and rebooted

(B) Permissions of folder /run/dump1090-fa

[abcd@fedora-31 ~]$ ls -ld /run/dump1090-fa
drwxr-xr-x. 2 dump1090 dump1090 360 Jan 20 14:31 /run/dump1090-fa 

Compared with piaware:

pi@piaware:~ $ ls -ld /run/dump1090-fa
drwxr-xr-x 2 dump1090 nogroup 2500 Jan 20 19:45 /run/dump1090-fa

Will try by changing:
dump1090 dump1090
to
dump1090 nogroup

But dont remember the command to do so :frowning:

… That’s not what i meant… google the error message or just figure out how to fix it.
(lighttpd error message)

lighttpd[778]: Duplicate array-key '/dump1090-fa/data/'

lighttpd[778]: (configfile.c.1309) source: /etc/lighttpd/conf.d/89-dump1090-fa.conf line: 11 pos: 13 parser failed somehow near here: (EOL)

lighttpd[778]: (configfile.c.1309) source: /etc/lighttpd/lighttpd.conf line: 489 pos: 1 parser failed somehow near here: (EOL)

systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION