Thom-x / docker-fr24feed-piaware-dump1090

Docker image of dump1090-fa, fr24feed, FlightAware, adsbexchange, Plane Finder, OpenskyNetwork, adsb.fi, ADSBHub and Radarbox.
https://hub.docker.com/r/thomx/fr24feed-piaware
MIT License
251 stars 54 forks source link

Fr24feed won't start on Pi Zero #37

Closed CalvinSchwartz closed 3 years ago

CalvinSchwartz commented 3 years ago

Specifications

Expected Behavior

Inside the container fr24feed starts after it's called by "/fr24feed/fr24feed/fr24feed --signup"

Actual Behavior

bash: /fr24feed/fr24feed/fr24feed: No such file or directory The file fr24feed exists in the subfolder ans is executable but it wont start (I am no linux expert). Also running the "complete" image fails because fr24feed fails to start. If fr24feed is disabled then dump1090 and piaware work like they should.

Building the image on a Pi Zero is not possible (failed after running for 4 hours).

Steps to Reproduce the Problem

  1. 
    -e "SERVICE_ENABLE_DUMP1090=false" \
    -e "SERVICE_ENABLE_HTTP=false" \
    -e "SERVICE_ENABLE_PIAWARE=false" \
    -e "SERVICE_ENABLE_FR24FEED=false" \
    thomx/fr24feed-piaware /bin/bash```
    2. run: `/fr24feed/fr24feed/fr24feed`
Thom-x commented 3 years ago

Hello,

Can you please show me the output of ls -la /fr24feed/fr24feed.

I don't have a raspberry to test so it will be difficult to find what's wrong.

Thom-x commented 3 years ago

Fr24feed is directly downloaded from flightradar website. Maybe it is not compatible with pi zero. Or some dependencies are missing.

CalvinSchwartz commented 3 years ago

Sure, the output is:

drwxr-xr-x 2 1000 1000    4096 Mar  4  2016 .
drwxr-xr-x 3 root root    4096 Dec 16 12:35 ..
-rw-r--r-- 1 1000 1000    1081 Mar  4  2016 LICENSE.fr24feed
-rwxr-xr-x 1 root root 1070228 Mar  4  2016 fr24feed
-rwxr-xr-x 1 1000 1000    8236 Mar  4  2016 timestamper
-rw-r--r-- 1 root root       9 Mar  4  2016 version.txt

If I cd into that folder the next error message is bash: fr24feed: command not found and I have no idea why it's not starting

CalvinSchwartz commented 3 years ago

I did some additional checking:

Therefore I tried the mikenye/docker-flightradar24 which also doesn't work. But if I edit the script slightly (see Issue) it builds and runs perfectly fine using the precompiled .deb file from the fr24 repo.

Therefore I guess building your Image on a Pi Zero will work but I can't confirm this because building the image would take hours.

Thom-x commented 3 years ago

Could you try to re-download https://repo-feed.flightradar24.com/rpi_binaries/fr24feed_1.0.26-9_armhf.tgz extract it and start it directly from the container ?

It could be also good idea to try to download the .deb extract it and start it (like mikenye did).

Thom-x commented 3 years ago

Can you show me the output of uname -m Like here https://github.com/Thom-x/docker-fr24feed-piaware-dump1090/blob/a49850c58500fcc1135df1e79e8d5d55ad5d965f/build/s6-overlay.sh#L2 ?

Maybe the output is not armv6l or armv7l when building it with github action.

Thom-x commented 3 years ago

Could you try with the latest image version docker pull thomx/fr24feed-piaware:latest ?

CalvinSchwartz commented 3 years ago

Uname: arm6l The fr24feed_1.0.26-9 does not work but if I try the fr24feed_1.0.25-3 version it runs. Therefore I guess your script itself is perfectly fine but the current fr24feed version simply doesn't run on a raspberry pi. See: https://github.com/mikenye/docker-flightradar24/issues/14

The latest image doesn't work either.

Thom-x commented 3 years ago

Good catch ! Maybe it is a good idea to change the version to 1.0.25-3 (the current one used is 1.0.18-5 because of error with mlat for amd64 users...) till it is fixed.

Thom-x commented 3 years ago

I forced version 1.0.25-3 for Rpi. You can check it with latest.

CalvinSchwartz commented 3 years ago

Checked it and it works!