Comments (12)
What is your docker host paths mapping ?
from docker-fr24feed-piaware-dump1090.
Hey there, these are the defaults that Unraid does on its own, I have checked them to be accurate (as they always are)
--name='fr24feed-piaware'
--net='bridge'
-e TZ="Europe/Paris"
-e HOST_OS="Unraid"
-p '8080:8080/tcp'
-p '8754:8754/tcp'
-v '/mnt/user/appdata/fr24feed-piaware/piaware.conf':'/etc/piaware.conf':'rw'
-v '/mnt/user/appdata/fr24feed-piaware/config.js':'/usr/lib/fr24/public_html/config.js':'rw'
-v '/mnt/user/appdata/fr24feed-piaware/fr24feed.ini':'/etc/fr24feed.ini':'rw'
--device='/dev/bus/usb/001/006'
'thomx/fr24feed-piaware'
The only one which is mapped "weirdly" is the config.js, but shouldn't be an issue
The folders do exist correctly, although they are empty. Shouldn't something be in them?
from docker-fr24feed-piaware-dump1090.
You need to either to remove the mount path and add the missing environment variables.
-v '/mnt/user/appdata/fr24feed-piaware/piaware.conf':'/etc/piaware.conf':'rw'
-v '/mnt/user/appdata/fr24feed-piaware/config.js':'/usr/lib/fr24/public_html/config.js':'rw'
-v '/mnt/user/appdata/fr24feed-piaware/fr24feed.ini':'/etc/fr24feed.ini':'rw'
or
To create these files (I think they do not exist, and docker is creating a folder instead, that's why the container is failing).
It cannot create the missing config because a folder with the same name already exists.
/mnt/user/appdata/fr24feed-piaware/piaware.conf
/mnt/user/appdata/fr24feed-piaware/config.js
/mnt/user/appdata/fr24feed-piaware/fr24feed.ini
from docker-fr24feed-piaware-dump1090.
That's such a weird issue, I have never faced a Docker container creating folders instead of files.
I did delete the folders and create those three files, but the container is still having issues with the S6 Supervisor
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-confd-fr24feed: executing...
[cont-init.d] 01-confd-fr24feed: exited 0.
[cont-init.d] 02-confd-piaware: executing...
[cont-init.d] 02-confd-piaware: exited 0.
[cont-init.d] 03-confd-html: executing...
[cont-init.d] 03-confd-html: exited 0.
[cont-init.d] 04-confd-layers: executing...
2021-04-08T15:41:31+02:00 ccfb43f8b7c1 /opt/confd/bin/confd[286]: INFO Backend set to env
2021-04-08T15:41:31+02:00 ccfb43f8b7c1 /opt/confd/bin/confd[286]: INFO Starting confd
2021-04-08T15:41:31+02:00 ccfb43f8b7c1 /opt/confd/bin/confd[286]: INFO Backend source(s) set to
2021-04-08T15:41:31+02:00 ccfb43f8b7c1 /opt/confd/bin/confd[286]: INFO Target config /usr/lib/fr24/public_html/layers.js out of sync
2021-04-08T15:41:31+02:00 ccfb43f8b7c1 /opt/confd/bin/confd[286]: INFO Target config /usr/lib/fr24/public_html/layers.js has been updated
[cont-init.d] 04-confd-layers: exited 0.
[cont-init.d] 05-upintheair: executing...
[cont-init.d] 05-upintheair: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[main][i]FR24 Feeder/Decoder
[main][i]Version: 1.0.18-5/generic
[main][i]Built on Mar 4 2016 16:26:55 (devel-d11ca48.git/Linux/x86_64)
[main][i]Copyright 2012-2016 Flightradar24 AB
[main][i]http://flightradar24.com
[main][i]DNS mode: LIBC
FR24 Feeder/Decoder usage:
/fr24feed/fr24feed/fr24feed --fr24key=0123456789ABCDEF| Start feeding process manually
/fr24feed/fr24feed/fr24feed --signup | Sign up and configure
/fr24feed/fr24feed/fr24feed --reconfigure | Change configuration
/fr24feed/fr24feed/fr24feed --version | Show binary version number
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
Thu Apr 8 15:41:32 2021 CEST dump1090-fa v5.0 starting up.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Found Rafael Micro R820T tuner
[s6-finish] sending all processes the TERM signal.
[main][i]FR24 Feeder/Decoder
[main][i]Version: 1.0.18-5/generic
[main][i]Built on Mar 4 2016 16:26:55 (devel-d11ca48.git/Linux/x86_64)
[main][i]Copyright 2012-2016 Flightradar24 AB
[main][i]http://flightradar24.com
[main][i]DNS mode: LIBC
FR24 Feeder/Decoder usage:
/fr24feed/fr24feed/fr24feed --fr24key=0123456789ABCDEF| Start feeding process manually
/fr24feed/fr24feed/fr24feed --signup | Sign up and configure
/fr24feed/fr24feed/fr24feed --reconfigure | Change configuration
/fr24feed/fr24feed/fr24feed --version | Show binary version number
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
Thu Apr 8 15:41:32 2021 CEST dump1090-fa v5.0 starting up.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Found Rafael Micro R820T tuner
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
I didn't enter all the required keys as stated in the wiki though, I just did that test as a proof of thought, and while it isn't yelling about already existing files it still fails at s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
.
Is it possibile/expected for the container to be failing in such a way when not provided with all the requested keys upon startup?
I did also try to delete the files/folders althogheter, resulting in the container creating those three folders again instead of the files, supposedly
P.S. If the container is creating folders instead of files, it can't really be trusted to behave itself and create the required config files correctly even when fed with all the keys, can it?
from docker-fr24feed-piaware-dump1090.
It creates folders because you are mounting them:
-v '/mnt/user/appdata/fr24feed-piaware/piaware.conf':'/etc/piaware.conf':'rw'
-v '/mnt/user/appdata/fr24feed-piaware/config.js':'/usr/lib/fr24/public_html/config.js':'rw'
-v '/mnt/user/appdata/fr24feed-piaware/fr24feed.ini':'/etc/fr24feed.ini':'rw'
This is the expected behaviour for docker.
The normal way to run this image is to only use environement variables without mounting any file.
from docker-fr24feed-piaware-dump1090.
Understood.
Then it's docker for Unraid that is not behaving itself mounting anything and everything.
I removed the mounts, now the image appears to be working correctly, or atleast it starts.
Thanks for the help!
from docker-fr24feed-piaware-dump1090.
Then it's docker for Unraid that is not behaving itself mounting anything and everything.
I believe so, we needed to mount these files a while ago, the Unraid config must be out of sync now.
from docker-fr24feed-piaware-dump1090.
Then it's docker for Unraid that is not behaving itself mounting anything and everything.
I believe so, we needed to mount these files a while ago, the Unraid config must be out of sync now.
Maybe it would be worthwhile to mention that in the readme?
from docker-fr24feed-piaware-dump1090.
We don't need to create files for more than one year now. I don't think I will mention that in the README.
Release are made according to https://semver.org/ so it should be OK.
from docker-fr24feed-piaware-dump1090.
I see what's happened, I picked it up from CA, so I guess I should post on the maintainer 3D.
Thanks for the help anyway! Nice work on this container, it's working beautifully.
Now I just have to debug that [mlat][i]No ADS-B time reference available (0/0)
from docker-fr24feed-piaware-dump1090.
Thanks !
I got the same log
2021-04-08 14:17:52 | [mlat][i]No ADS-B time reference available (0/0)
But still MLAT is reported working on flightaware and fr24 local dashboard.
I think this is something to do with other receivers being around for MLAT to be working properly.
from docker-fr24feed-piaware-dump1090.
Hi again!
Can confirm. MLAT needs to see also ADS-B traffic so it can sync up to their time.
2021-04-08 22:30:40 | [mlat][i]Received ADS-B time references AC:
2021-04-08 22:30:40 | [mlat][i] 4CA98A
2021-04-08 22:30:40 | [mlat][i] 4D2243
from docker-fr24feed-piaware-dump1090.
Related Issues (20)
- multi feeder HOT 2
- Request for dashboard link for each service
- Radarbox - 'already claimed' error on supplied sharing key HOT 1
- ADSBHub feeding
- Connection refused at web interface (8080) on 1.29.0 HOT 2
- ADSBHub sometimes key could not work HOT 4
- piaware MLAT Client with wrong configuration for Beast-format results connection and http feed tracker dosn´t show any airplanes HOT 7
- ADSB exchange uuid generation. HOT 3
- Please advice. HOT 1
- How to Access rtlsdr-gain Parameter? HOT 1
- MLAT inactive - A new upgrade is available for your Raspberry Pi RadarBox software!
- Services in container keeps stopping HOT 4
- Address already in use, container stops
- dump978
- FR24 feeder reported as online, no data uploaded HOT 1
- Feature Request: Feed in to 360Radar
- HTTP fails and stops the container HOT 6
- Not able to pull my Dump1090 feed from my external system anymore HOT 2
- Container keep crashing HOT 1
- Support of RTL-SDR v4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-fr24feed-piaware-dump1090.