Announcement

Collapse
No announcement yet.

Can't run fr24feed as service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't run fr24feed as service

    I had fr24feed running on a RPI3 until my SD card corrupted, after reinstall it refused to work so I tried an install on a Debian 9.9 VM instead.

    After completing the debian install I got the usual Receiver not connected and MLAT not running, and started searching the forums. I got it running by stopping the service and running just the fr24feed start. It is now running, but in a terminal window that will terminate on closing. I thought about running it in background/screen, but there must be some better way of fixing this?

  • #2
    It's best to use the armhf client.
    The linux client is buggy anyway and you would need to write the unit/service file yourself.

    Might i suggest this guide for running the armhf client on a x86 computer in a VM:

    The following are tested alternatives for feeding if your receiver was a windows based setup TAKE NOTE: These instructions are not for the feint of heart. They are complex. They do involve some learning Some SBS Receivers are still NOT supported Raspberry PI + DVB Stick + PI24 although come with a cost. May be easier for some


    Use OPTION1 when you arrive at that section.

    Note that OPTION1 only works when using the Raspbian Desktop distribution.
    Last edited by wiedehopf; 2019-06-26, 13:24.

    Comment


    • #3
      I didn't run a RPI VM because of the CPU architecture warnings. As the VM is not ARM I suspect that will introduce other issues. Besides I havent found any Raspbian ISO that my VM requires.

      I'm running fr24-raspberry-pi-latest.img.gz/fr24feed_1.0.18-5_amd64.tgz/dump1090.git and my feed is running perfectly but not as a service. I suspect some dump1090 conflict as described in "Receiver: down ... failed!" post here (not allowed to post links) and there must be a better way to fix this besides a full OS reinstall and a client recompile.

      Comment


      • #4
        I linked you the thread, the ISO is listed there. (https://www.raspberrypi.org/download...ry-pi-desktop/)
        It's not a armhf ISO, it can run armhf on x86.

        Don't ask me exactly how it works.

        It might look like it is running fine but the feed client is seriously outdated.

        If you really must run it in the VM you are currently using, this should give you an idea on how to create a systemd service for fr24feed:
        After using the Windows feeder for several years, I have successfully migrated to feeding using the Linux/generic/i686/1.0.18-5 feeder. Many thanks to users abcd567 and others for the easy to follow instructions. I am also grateful that it was much less 'painful' than I anticipated. While leaving that feed running as it is,


        As i said i wouldn't recommend running the outdated linux feeder.
        Last edited by wiedehopf; 2019-06-26, 13:57.

        Comment


        • #5
          Originally posted by Aviator77x View Post
          I'm running fr24-raspberry-pi-latest.img.gz/fr24feed_1.0.18-5_amd64.tgz/dump1090.git
          That sentence doesn't make any sense, how would you be running the PI24 image?

          Comment


          • #6
            Originally posted by wiedehopf View Post
            That sentence doesn't make any sense, how would you be running the PI24 image?
            I was a bit imprecise, I mounted the image and copied the files from it.

            Comment


            • #7
              fr24-raspberry-pi-latest.img.gz: The binaries on the image are armhf.

              dump1090.git means compiling your own dump1090

              fr24feed_1.0.18-5_amd64.tgz: those are x86_64 64 bit binaries.

              So no it still doesn't make any sense.
              And my recommendation stands, follow the guide.

              Comment


              • #8
                There are 3 packages available


                (1) fr24feed_1.0.18-5_i386.deb

                (2) fr24feed_1.0.18-5_amd64.tgz

                (3) fr24feed_1.0.23-8_armhf.deb

                The first two are for linux on x64 and x86 Computer. Both are outdated (ver 1.0.18-5) and give problem.

                The last one is the latest (ver 1.0.23-8) and gives trouble free service. It is for RPi and other computer boards with armh cpu. It fail to install and/or run on main stream linux distros like ubuntu, debian etc. It works ONLY on Raspbian Desktop OS which emulates armhf while runing on x64 x86 machines. Even on Raspbian Desktop OS, it requires using command "sudo dpkg --add-architecture armhf", and installation of armhf specific dependenies by adding ":armhf" at the end of package name.

                To summerize, the only troble free option for x64 x86 machines is to

                (1) Install Raspbian Desktop OS.



                (2) Build from source code and install dump1090-mutabiliy ver 1.15~dev. Dont use the pre-build packe install by bash script as it is built for RPi (armhf). Use manual method.

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

                (2) Use:
                "OPTION-1: Installing fr24feed Using debian package for RPi:
                fr24feed_1.0.23-8_armhf.deb"

                of this post:
                https://forum.flightradar24.com/thre...l=1#post116967


                .
                Last edited by abcd567; 2019-06-26, 16:57.

                Comment


                • #9
                  If you are keen to use following:

                  fr24feed_1.0.18-5_amd64.tgz

                  Then see this post which describes in detail how to create and enable systemd service:

                  After using the Windows feeder for several years, I have successfully migrated to feeding using the Linux/generic/i686/1.0.18-5 feeder. Many thanks to users abcd567 and others for the easy to follow instructions. I am also grateful that it was much less 'painful' than I anticipated. While leaving that feed running as it is,
                  Last edited by abcd567; 2019-06-26, 16:40.

                  Comment

                  Working...
                  X