Have been trying to add the piaware homepage to a rpi feeder without reimaging. Have been copying the files and folders from /var/www/html from a working rpi to this one. Am currently getting this page without the buttons. What is missing?
pi@c16494:/var/www/html $ sudo apt install piaware-web
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
piaware-web
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 81.2 kB of archives.
After this operation, 355 kB of additional disk space will be used.
Get:1 http://flightaware.com/adsb/piaware/files/packages stretch/piaware armhf piaware-web all 5.0~bpo9+1 [81.2 kB]
Fetched 81.2 kB in 0s (235 kB/s)
Selecting previously unselected package piaware-web.
(Reading database ... 54705 files and directories currently installed.)
Preparing to unpack .../piaware-web_5.0~bpo9+1_all.deb ...
Unpacking piaware-web (5.0~bpo9+1) ...
Setting up piaware-web (5.0~bpo9+1) ...
Restarting lighttpd..
pi@c16494:/var/www/html $
You would check the lighttpd configuration things and check what provides that / alias.
The configuration file is something you could have even copied probably (and the folder of html/css it points to, it doesn’t use /var/www/html)
But ideally you just know the package name or ask for it.
The package should normally enable its lighttpd configuration on install … apparently that doesn’t always happen.
For anyone else trying to install … the FA status page in the webroot: