Results 1 to 7 of 7

Thread: dump1090-mutability Syntax Error?

  1. #1
    Passenger
    Join Date
    Sep 2019
    Posts
    4

    Question dump1090-mutability Syntax Error?

    I'm trying to run the dump1090-mutability file found in /etc/init.d on my Raspberry Pi 3 B+, but I'm being returned a syntax error on line 68
    Code:
    Sep 28 16:45:39 raspberrypi dump1090-mutability[25620]: /etc/init.d/dump1090-mutability: 68: /etc/init.d/dump1090-mutability: Syntax error: "fi" unexpected
    I can't edit the file to try and comment that out, even if I use sudo; it's consistently returning "Permission Denied" and "Read-Only". Any suggestions or tricks?

  2. #2
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,865
    (1) What is the output of this command?
    Code:
    apt-cache policy dump1090-mutability

    (2) It seems you are using PI24 image. The "read only file system" is peculiar to Pi24 image.
    To make it read-write, use following command:
    Code:
    sudo mount -o remount,rw /
    (3) it is not adviseable to edit file /etc/init.d/dump1090-mutability. If you are using PI24 image / dump1090-mutability ver 1.14, better replace it by ver 1.15~dev using method given here

    PI24: Replace dump1090 v1.14 -> pre-build package of dump1090 v1.15
    Last edited by abcd567; 2019-09-29 at 00:15.

  3. #3
    Passenger
    Join Date
    Sep 2019
    Posts
    4
    Quote Originally Posted by abcd567 View Post
    (1) What is the output of this command?
    Code:
    apt-cache policy dump1090-mutability
    I got this output after running that command:
    Code:
    dump1090-mutability:
      Installed: 1.14
      Candidate: 1.15~20180310.4a16df3+dfsg-6
      Version table:
         1.15~20180310.4a16df3+dfsg-6 500
            500 raspbian.raspberrypi.org/raspbian buster/main armhf Packages
     *** 1.14 100
            100 /var/lib/dpkg/status
    Since I'm a new user to the forums I can't include the http prefix. I don't know if that means I'm running 1.14 or 1.15, though.

  4. #4
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,051
    11.4

    dump1090-mutability:

    Installed: 1.14

    Added bonus.. I'm airborne

    Sent from my EML-L09 using Tapatalk
    Last edited by Oblivian; 2019-09-29 at 01:34.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  5. #5
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,865
    You have v 1.14 as already pointed out by Oblivian.

    The output also indicates that you have Raspbian Buster, which shows that you are not using Pi24 image (which is Stretch based), and have installed fr24feed on Raspbian Buster. Am I right?

    The dump1090-mutability version 1.14 is installed by fr24feed when you use setting:

    Receiver=DVB-T

    (1) Go to Settings page in your browser
    IP-of-Pi:8754/settings.html
    Change setting to:

    Receiver = ModeS Beast (TCP)
    Host/port=127.0.0.1:30005

    Click Save button, then Restart button.
    Both these buttons are at bottom right of settings page

    FR24 settings - External dump1090 - BEAST-TCP.png


    (2) After changing settings, purge existing dump1090 ver 1.14.
    Code:
    sudo systemctl stop fr24feed
    sudo dpkg --purge dump1090-mutability
    sudo rm -rf /usr/share/dump1090-mutability
    (3) Now install dump1090 ver 1.15 by following method:

    How to Install dump1090-mutability_1.15~dev on RPi

    .
    Last edited by abcd567; 2019-09-29 at 02:29.

  6. #6
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,865
    Quote Originally Posted by Oblivian View Post
    Added bonus.. I'm airborne
    Bon Voyage!

  7. #7
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,051
    Quote Originally Posted by abcd567 View Post
    Bon Voyage!
    I wish. Back home after a holiday. Which is why the spam reports increased for a bit

    Sent from my EML-L09 using Tapatalk
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •