FlightAware Discussions

What installs 50-piaware.conf?

Which script or package installs, or is supposed to install 50-piaware.conf for lighthttpd?

Background - I did an install on a clean Raspi OS install today, and used apt-get to install piaware, dump1090-fa and dump978-fa. Actually, it was via an ansible script, but should be basically the same under the covers. Everything seemed fine, piaware, dump1090-fa and dump978-fa are running but I’m not getting the normal Starting web page which runs “status.json” – I can copy it from another (older) piaware install, but I’d like to do this “right” if possible.

ansible setup script below…

---
- hosts: piaware1 piaware2 piaware3
  remote_user: [MyUserNameHere]
  become: yes
  tasks:
      
    - name: copy piaware Deb
      copy:
        src: piaware-repository_3.8.1_all.deb
        dest: /tmp/piaware-repository_3.8.1_all.deb
  
   - name: Install Piaware Deb 
      apt:
        deb: /tmp/piaware-repository_3.8.1_all.deb
    
# Update apt packages
    - name: Update apt packages
      become: yes
      apt: 
        update_cache=yes
    - name: Install packages
      apt:
        pkg:
          - rtl-sdr 
          - piaware
          - dump1090-fa
          - dump978-fa
        
        
#Fix GPSD by upgrading to current 3.20 as of 2020-07-28

    - name: Add an apt key by id from a keyserver
      apt_key:
        keyserver: keyserver.ubuntu.com
        id: e1cf20ddffe4b89e802658f1e0b11894f66aec98

    - name: Add an apt key by id from a keyserver
      apt_key:
        keyserver: keyserver.ubuntu.com
        id: 80d15823b7fd1561f9f7bcdddc30d7c23cbbabee

    - name: fix gpsd
      apt:
        name: gpsd  
        state: latest
        default_release: buster-backports
        update_cache: yes
    
    - name: fix gpsd-clients
      apt:
        name: gpsd-clients
        state: latest
        default_release: buster-backports
        update_cache: yes
      
        
...

piaware-web i believe…

Weidehopf – Thank you!!! That worked!

TapTapTap – FlightAware people… Seems like that should be included on this page:

Also, IMO @wiedehopf - your tar1090 should be “the” replacement for dump1090’s defaults – good stuff! Thanks!

piaware-web: https://github.com/flightaware/piaware-web/blob/master/lighttpd/50-piaware.conf

This package is usually only installed on sdcard images since it takes over the top-level page and makes some assumptions about what’s running, neither of which are necessarily appropriate for a Raspbian system that might be running other things too. But you can probably install it on a package-based install without problems.