Announcing PiAware 3! (Latest version: 3.8.0)

I can’t really provide support for this sort of problem. rpi-config assumes a lot about the installed system and maybe it broke stuff. I’d be more suspicious of the locale change than the timezone change tbh. Try starting again from a fresh image and trying one change at a time. When you find which step breaks then you can dig into that particular issue. I’ll take pull requests or bug reports if there’s something specific to the piaware image that is set up incorrectly.

@invergordon:
After formatting microSD card and writing fresh Piaware image, dont use command “sudo raspi-config” to set time zone. Instead use following command:
pi@piaware:~$ sudo dpkg-reconfigure tzdata

Oops, too late, but all good so far using sudo raspi-config.

So I’m not sure what happened this morning (NZ time), I’ll be keeping a close eye on 3.5.0.

Thanks all for your words of wisdom.

Hi!
I’ve started my feeder 57103 a few days with the latest PiAware 3.5.0. Flightaware and Fr24 feeds are working ok. However I’m having the following problems:

  1. Skyview is not working. Neither directly on clicking on the webpage nor on putting the address in the browser (192.168.1.39:8080). Problem is there with wireless as well as wired network. Says ‘This site can’t be reached’.
  2. Virtual Radar Server is also not getting data from the feeder nor am I able to feed Planefinder.
    Please let me know what I’m doing wrong.

Rajat

Is there any way to enable PHP with the 3.5 image? If I run:


sudo lighttpd-enable-mod fastcgi fastcgi-php

this seems to disable all of the web for piaware!

Any ideas?

Which OS image you have written to your microSD card?

Raspbian from: https://www.raspberrypi.org/downloads/

OR

Piaware 3.5.0 SD Card from: http://piaware.flightcdn.com/piaware-sd-card-3.5.0.img.zip

OR

Pi24 from: http://repo.feed.flightradar24.com/rpi_images/fr24-raspberry-pi-latest.img.zip

The problem you described occurs with Pi24 image.

In Pi24 image the folder /var/log is linked to tmpfs in file / etc / fstab. As a result the contents get deleted on reboot. The lighttpd and planefinder clients do not recreate their log folders & files after reboot, and crash at reboot. The map and planefinder data feeder stop working.

If you are using Pi24 image, please see this thread in which I have given a workaround/solution for this problem:

How to Feed Data to Multiple Sites - A Brief Guide
Post #1 describes the problem, Post #2 gives solution.

.

I’m using the Piaware 3.5.0 SD card image downloaded from the website.

Try 192.168.1.39/dump1090-fa/ instead of 192.168.1.39:8080

Guess your PiAware site is on the same network as the computer you are trying from. If it is not things get more difficult.

Your Pi does show to be feeding data to FlightAware so it is working.

Go to your MyADSB page and confirm that your router has not reassigned the pi network address. This is found on the site information block and is probably the last line there. Incorrect IP would also account for your problems with other applications. Routers typically use DHCP for assigning addresses and tend to change the IP of any device according to whatever rules that are in the router. I keep my pi set to static IP and also assign that IP in the router so it does not duplicate the address on other devices but that requires more that I can post here.

When you switched to wired connection, if my memory is correct, that would be another IP address. The wireless IP and wired will not be the same.

There are several other ways to confirm sites IP address even if its running without local monitor and keyboard which I’m not touching on here.

Without trying here seems like my memory is that when you hook up wired the IP is not the same as the wireless on your Pi.

With a lot of ‘fiddling’ over the last few days and a reboot just now, all seems to be well. I’m feeding Flightaware as well as watching Skyview locally!
It must have been something to do with the IP address.
Thanks for all the help and concern. Cheers!

Hi Guys,

Anyone experienced similar symptom? I enabled SSH connection and changed my password. After some time I noticed that I lost some features in Control Panel – “send command to device” section disappeared. Can it be retrieved?

In the meantime can you suggest the command to restart dump1090 in Pi 3.5 via SSH? Standard dump1090 not mutability !

https://s9.postimg.org/cfhk97pbj/image.jpg

You have manual updates disabled in your piaware configuration. Manual updates need to be enabled for remote commands to work.

@lankosher:

Following is the command to restart dump1090 in Pi 3.5 (SD card image) via SSH



#to restart
sudo systemctl restart dump1090-fa

#to check status
sudo systemctl status dump1090-fa -l


To enable “send command to device”



sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes

#now reboot to implement above commands in your stats page
sudo reboot


After reboot, refresh/reload your stats page/settings.

@ obj & abcd567 - thank you both for prompt answer, it all worked out and Control Panel is full again :slight_smile:

Retrieving v3.5.1 from …/piaware.git

So now the latest version is 3.5.1:
github.com/flightaware/piaware/ … tag/v3.5.1

Update default config for new adept hosts & randomization

Cryptic to me…

That has to do with scalability and load balancing across the servers receiving data at FlightAware.

[2017-08-03 13:56 EDT] manual update (user-initiated via their flightaware control page) requested by adept server
[2017-08-03 13:56 EDT] performing manual update, action: piaware
[2017-08-03 13:56 EDT] *** running command ‘/usr/lib/piaware/helpers/*run-apt-get update’ and logging output
[2017-08-03 13:56 EDT] run-apt-get(3187): /etc/apt/trusted.gpg.d/flightaware-archive-keyring.gpg does not exist; installing it
[2017-08-03 13:56 EDT] run-apt-get(3187): Automatic updates not available for OS ubuntu:16.04 (Ubuntu 16.04.2 LTS)
[2017-08-03 13:56 EDT] child process 3187 exited with status EXIT 1
[2017-08-03 13:56 EDT] skipping action piaware
[2017-08-03 13:56 EDT] update request complete

Note: I inserted * in 3rd line to avoid “Forbidden”

Also to be clear, 3.5.1 is not officially released yet. It is open source so you can go direct to github for source; we will make an announcement when it is ready for general use including availability of upgrades and new SD card images.

Yet I could upgrade it yesterday from 3.5.0 to 3.5.1 by giving command from my Stats page!

https://s20.postimg.org/97xy7rnel/Screenshot_2017-08-02-19-35-30.png

I found it installed after I did a sudo apt-get update / sudo apt-get-upgrade.