Cannot add a second site to my account


#1

I am trying to add a second site to my account. If I go to:

Only my first site is shown. However, the second site is connected, sending data and displays as unclaimed. Once I have the new sit up reliably I will install it at another location.

pi@raspberrypi_ii:~ $ piaware
2018-06-01 18:21:54Z warning: /etc/piaware.conf: failed to read config file: couldn’t open “/etc/piaware.conf”: permission denied
2018-06-01 18:21:55Z failed to reopen /var/log/piaware.log: couldn’t open “/var/log/piaware.log”: permission denied
2018-06-01 18:21:55Z ****************************************************
2018-06-01 18:21:55Z piaware version 3.5.3 is running, process ID 4375
2018-06-01 18:21:55Z your system info is: Linux raspberrypi_ii 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l GNU/Linux
2018-06-01 18:21:56Z Connecting to FlightAware adept server at piaware.flightaware.com/1200
2018-06-01 18:21:57Z Connection with adept server at piaware.flightaware.com/1200 established
2018-06-01 18:21:57Z TLS handshake with adept server at piaware.flightaware.com/1200 completed
2018-06-01 18:21:58Z FlightAware server certificate validated
2018-06-01 18:21:58Z encrypted session established with FlightAware
2018-06-01 18:21:58Z warning: /etc/piaware.conf: failed to read config file: couldn’t open “/etc/piaware.conf”: permission denied
2018-06-01 18:22:01Z ADS-B data program ‘dump1090-fa’ is listening on port 30005, so far so good
2018-06-01 18:22:01Z Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout
2018-06-01 18:22:02Z Started faup1090 (pid 4400) to connect to dump1090-fa
2018-06-01 18:22:02Z logged in to FlightAware as user guest
2018-06-01 18:22:02Z my feeder ID is 27c07440-483f-4beb-9e6e-e19b7285b2af
2018-06-01 18:22:02Z Failed to update feeder ID file at /var/cache/piaware/feeder_id: couldn’t open “/var/cache/piaware/feeder_id.new”: permission denied
2018-06-01 18:22:02Z site statistics URL: https://flightaware.com/adsb/stats/site/81499
2018-06-01 18:22:03Z piaware received a message from dump1090-fa!
2018-06-01 18:22:10Z piaware has successfully sent several msgs to FlightAware!
2018-06-01 18:22:32Z 15 msgs recv’d from dump1090-fa; 15 msgs sent to FlightAware


#2

This happens if the Pi and the computer from which you visit claim page are on two different networks, for example the Pi is connected to your home internet, while the computer/tablet/phone from which you are visiting claim page is connected to your office internet, or the phone from which you are trying to claim is on mobile data network.

You have to claim new station from a computer/tablet/phone on same network as the Pi.


#3

I tried to claim it from the pi that it is running on and a computer on the same network. I have another pi on the same network also. Could that be the issue?


#4
  1. Clear the current unclaimed station.
    Note: there is no space between two quote marks at the end of the command below, bu it looks in this post as if there is a space. Just copy-paste the commands and it will be OK.

    sudo piaware-config feeder-id ""

    The above command will give following output

    Cleared setting for feeder-id in /etc/piaware.conf:9

  2. Restart Piaware
    sudo systemctl restart piaware

  3. Wait for 5 minutes, then go to claim page and see if you can claim new Station.


#5

Thanks for your help. I was in hurry when I first responded an forgot my manners.

The suggestions you provided did not fix the problem so I downloaded the piaware image from flihjtAware and now it is up and running. I have a mountain between my site and the Baltimore-Washington corridor so after this one is stable it will be located on the other side of the mountain.

Thanks again for your help!


#6

Thanks for the feedback. Glad to know that you have solved the problem.