-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seems directory piaware.conf is conflicting with creation of file piaware.conf #181
Comments
For reference, new file creation (I tried a few years ago on an older build of UNRAID) Running Unraid 7.0.0-rc.2 New Docker container creation: COMMAND: XML fr24feed-piaware thomx/fr24feed-piaware:latest https://hub.docker.com/r/thomx/fr24feed-piaware/ br0 10.1.0.22 bash false https://forums.unraid.net/topic/79394-support-foxxmd-fr24feed-piaware/ https://github.com/Thom-x/docker-fr24feed-piaware-dump1090-mutability All-in-one image for feeding FlightRadar24/FlightAware ADS-B/MLAT data with an RTL-SDR device and local web server for displaying aircraft positions on a map. Docker contains: * Piaware (Flightaware ADS-B and MLAT ground station software/feed) * fr24feed (FlightRadar24 ADS-B software feed) * Dump1090 for receiving and parsing data to the above software * Simple HTTP Server to display received data (aircraft positions/track) on a real-time map Installation Follow the directions on the github README (Project Page link on unraid) with the provided Config entries in this template. See the support thread for more info. Usage If the container starts without error you can verify RTL-SDR is in use and feeds are working by checking the container log. Use the WebUI button to see the map; Network:Web Other: http://[IP]:[PORT:8080]/gmap.html https://raw.githubusercontent.com/FoxxMD/unraid-docker-templates/master/foxxmd/fr24feed-piaware.xml https://github.com/FoxxMD/unraid-docker-templates/raw/master/icons/flightaware.jpg 1738778996 /mnt/user/appdata/fr24feed-piaware/ /mnt/user/appdata/fr24feed-piaware/ /mnt/user/appdata/fr24feed-piaware/ /dev/bus/usb/003/006 8080 false false false true omitted other 127.0.0.1 30005 |
Changing to false for all services / service flags: Log file: Host machine: No files are found. Seems file creation is all temporary and never writes to the host OS running the Docker Container. Doublechecking my mounts: Kinda odd I think... but my XML should be doing the path flag: root@KRYZEN:/mnt/user/appdata# ls -lah | grep fr* Command execution The command finished successfully! If I change -v '/mnt/user/appdata/fr24feed-piaware/':'/etc/piaware.conf':'rw' to -v '/mnt/user/appdata/fr24feed-piaware/':'/etc':'rw' |
Don't mount any file, use env var only |
That seems to have done it... I wished I reached out sooner :P Command execution Removing all paths works. Makes sense now just -e on all the settings, stuff writes to a temp dir within the container? Hmm.. Can support for writing files to a mount be added for the future? I'd like to keep logs and data local on the host unraid machine. |
You can mount the specific log file if you want, but not the config used by env var. |
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: INFO Backend set to env
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: INFO Starting confd
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: INFO Backend source(s) set to
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: INFO /etc/piaware.conf has mode drw-r--r-- should be -rw-r--r--
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: INFO /etc/piaware.conf has md5sum d41d8cd98f00b204e9800998ecf8427e should be 2406589a69a744d51d1bdaef8c27323a
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: INFO Target config /etc/piaware.conf out of sync
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: ERROR rename /etc/.piaware.conf501596390 /etc/piaware.conf: file exists
2025-02-05T13:02:24-05:00 c8721871badc /opt/confd/bin/confd[112]: FATAL rename /etc/.piaware.conf501596390 /etc/piaware.conf: file exists
s6-rc: warning: unable to start service confd-piaware: command exited 1
root@c8721871badc:/etc# ls -lah | grep pi*
drw-r--r-- 1 root root 38 Feb 5 12:56 piaware.conf
root@c8721871badc:/etc#
Why is this building a directory, then trying to write to it as a file?
The text was updated successfully, but these errors were encountered: