Skip to content
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

Container keep crashing #171

Open
davidepanato opened this issue May 16, 2024 · 1 comment
Open

Container keep crashing #171

davidepanato opened this issue May 16, 2024 · 1 comment

Comments

@davidepanato
Copy link

Specifications

  • Image hash or version: 1.32.1
  • Platform: raspberry pi 4, ubuntu server 24.04
  • Subsystem: ARM
  • Docker: version 26.1.2, build 211e74b

Expected Behavior

container runs without problems

Actual Behavior

container stops, issue seems linked to container unable to access rtl-sdr v3 usb pendrive
another container created with ubuntu can directly access the device without any problem (tested with sdr-test)

Steps to Reproduce the Problem

  1. configure the system via docker compose
    `services:
    fr24feed-piaware:
    image: "thomx/fr24feed-piaware"
    container_name: fr24feed-piaware
    restart: unless-stopped
    volumes:
    • /etc/localtime:/etc/localtime:ro # needed to sync time for MLAT
      environment:
    • "FR24FEED_FR24KEY=xxxxxxxxxxxxxxx"
    • "SERVICE_ENABLE_FR24FEED=true"
    • "SERVICE_ENABLE_DUMP1090= true"
    • "SERVICE_ENABLE_PIAWARE=false"
    • "SERVICE_ENABLE_HTTP=false"
    • "HTML_SITE_LAT=45.0632"
    • "HTML_SITE_LON=7.7113"
    • "HTML_SITE_ALT=250"
    • "HTML_SITE_NAME=Radar-Dave"
    • "HTML_DEFAULT_TRACKER=Flightradar24"
    • "HTML_RECEIVER_STATS_PAGE_FLIGHTAWARE=https://flightaware.com/adsb/stats/user/"
    • "HTML_RECEIVER_STATS_PAGE_FLIGHTRADAR24=https://www.flightradar24.com/account/feed-stats/?id=xxxxx"
    • "HTML_FR24_FEEDER_STATUS_PAGE=http://192.168.xxx.xxx:8754/"
      devices:
    • "/dev/bus/usb"
      # ports
      # 8754 - DUMP1090 server port
      # 8080 - HTTP server port
      ports:
    • "8754:8754"
    • "8080:8080"
      logging:
      options:
      max-size: "30m"
      tmpfs:
    • /run:exec,size=32M
    • /planefinder/log:exec,size=32M
    • /usr/lib/fr24/public_html/data:size=32M`
  2. launch the container via docker compose up
  3. container crash with the following log:
    `docker compose up

[+] Running 1/1
✔ Container fr24feed-piaware Recreated 0.3s
Attaching to fr24feed-piaware
fr24feed-piaware | s6-rc: info: service dump1090: starting
fr24feed-piaware | s6-rc: info: service s6rc-oneshot-runner: starting
fr24feed-piaware | s6-rc: info: service dump1090 successfully started
fr24feed-piaware | s6-rc: info: service netcat: starting
fr24feed-piaware | s6-rc: info: service s6rc-oneshot-runner successfully started
fr24feed-piaware | s6-rc: info: service fix-attrs: starting
fr24feed-piaware | s6-rc: info: service init-upintheair: starting
fr24feed-piaware | s6-rc: info: service confd-piaware: starting
fr24feed-piaware | s6-rc: info: service confd-layers: starting
fr24feed-piaware | s6-rc: info: service confd-html: starting
fr24feed-piaware | s6-rc: info: service confd-fr24feed: starting
fr24feed-piaware | s6-rc: info: service conf-radarbox: starting
fr24feed-piaware | s6-rc: info: service conf-planefinder: starting
fr24feed-piaware | s6-rc: info: service conf-opensky: starting
fr24feed-piaware | s6-rc: info: service conf-adsbhub: starting
fr24feed-piaware | s6-rc: info: service conf-adsbfi: starting
fr24feed-piaware | s6-rc: info: service conf-adsbexchange: starting
fr24feed-piaware | s6-rc: info: service netcat successfully started
fr24feed-piaware | s6-rc: info: service confd-layers successfully started
fr24feed-piaware | s6-rc: info: service init-upintheair successfully started
fr24feed-piaware | s6-rc: info: service conf-radarbox successfully started
fr24feed-piaware | s6-rc: info: service radarbox: starting
fr24feed-piaware | s6-rc: info: service conf-planefinder successfully started
fr24feed-piaware | s6-rc: info: service planefinder: starting
fr24feed-piaware | s6-rc: info: service fix-attrs successfully started
fr24feed-piaware | s6-rc: info: service legacy-cont-init: starting
fr24feed-piaware | s6-rc: info: service confd-piaware successfully started
fr24feed-piaware | s6-rc: info: service piaware: starting
fr24feed-piaware | s6-rc: info: service confd-html successfully started
fr24feed-piaware | s6-rc: info: service http: starting
fr24feed-piaware | s6-rc: info: service conf-adsbhub successfully started
fr24feed-piaware | s6-rc: info: service adsbhub: starting
fr24feed-piaware | s6-rc: info: service conf-opensky successfully started
fr24feed-piaware | [dump1090] Thu May 16 18:33:09 2024 CEST dump1090-fa v9.0 starting up.
fr24feed-piaware | s6-rc: info: service opensky: starting
fr24feed-piaware | s6-rc: info: service conf-adsbfi successfully started
fr24feed-piaware | s6-rc: info: service adsbfi-feed: starting
fr24feed-piaware | s6-rc: info: service conf-adsbexchange successfully started
fr24feed-piaware | s6-rc: info: service adsbexchange-feed: starting
fr24feed-piaware | s6-rc: info: service radarbox successfully started
fr24feed-piaware | s6-rc: info: service planefinder successfully started
fr24feed-piaware | s6-rc: info: service planefinder-log: starting
fr24feed-piaware | s6-rc: info: service piaware successfully started
fr24feed-piaware | s6-rc: info: service http successfully started
fr24feed-piaware | s6-rc: info: service adsbhub successfully started
fr24feed-piaware | s6-rc: info: service opensky successfully started
fr24feed-piaware | s6-rc: info: service planefinder-log successfully started
fr24feed-piaware | s6-rc: info: service legacy-cont-init successfully started
fr24feed-piaware | s6-rc: info: service adsbexchange-feed successfully started
fr24feed-piaware | s6-rc: info: service adsbexchange-stats: starting
fr24feed-piaware | s6-rc: info: service adsbexchange-mlat: starting
fr24feed-piaware | s6-rc: info: service adsbfi-feed successfully started
fr24feed-piaware | s6-rc: info: service adsbfi-mlat: starting
fr24feed-piaware | s6-rc: info: service adsbexchange-stats successfully started
fr24feed-piaware | s6-rc: info: service adsbexchange-mlat successfully started
fr24feed-piaware | s6-rc: info: service adsbfi-mlat successfully started
fr24feed-piaware | 2024-05-16T18:33:09+02:00 d30ea1cedc86 /opt/confd/bin/confd[110]: INFO Backend set to env
fr24feed-piaware | 2024-05-16T18:33:09+02:00 d30ea1cedc86 /opt/confd/bin/confd[110]: INFO Starting confd
fr24feed-piaware | 2024-05-16T18:33:09+02:00 d30ea1cedc86 /opt/confd/bin/confd[110]: INFO Backend source(s) set to
fr24feed-piaware | [dump1090] rtlsdr: error querying device #0: Permission denied
fr24feed-piaware | 2024-05-16T18:33:09+02:00 d30ea1cedc86 /opt/confd/bin/confd[110]: INFO Target config /etc/fr24feed.ini out of sync
fr24feed-piaware | 2024-05-16T18:33:09+02:00 d30ea1cedc86 /opt/confd/bin/confd[110]: INFO Target config /etc/fr24feed.ini has been updated
fr24feed-piaware | s6-rc: info: service confd-fr24feed successfully started
fr24feed-piaware | s6-rc: info: service fr24feed: starting
fr24feed-piaware | s6-rc: info: service fr24feed successfully started
fr24feed-piaware | s6-rc: info: service legacy-services: starting
fr24feed-piaware | [fr24feed] The futex facility returned an unexpected error code.
fr24feed-piaware | s6-rc: info: service legacy-services successfully started
fr24feed-piaware | s6-rc: info: service legacy-services: stopping
fr24feed-piaware | s6-rc: info: service legacy-services successfully stopped
fr24feed-piaware | s6-rc: info: service legacy-cont-init: stopping
fr24feed-piaware | s6-rc: info: service radarbox: stopping
fr24feed-piaware | s6-rc: info: service planefinder-log: stopping
fr24feed-piaware | s6-rc: info: service piaware: stopping
fr24feed-piaware | s6-rc: info: service opensky: stopping
fr24feed-piaware | s6-rc: info: service netcat: stopping
fr24feed-piaware | s6-rc: info: service http: stopping
fr24feed-piaware | s6-rc: info: service fr24feed: stopping
fr24feed-piaware | s6-rc: info: service adsbhub: stopping
fr24feed-piaware | s6-rc: info: service adsbfi-mlat: stopping
fr24feed-piaware | s6-rc: info: service adsbexchange-stats: stopping
fr24feed-piaware | s6-rc: info: service adsbexchange-mlat: stopping
fr24feed-piaware | s6-rc: info: service radarbox successfully stopped
fr24feed-piaware | s6-rc: info: service conf-radarbox: stopping
fr24feed-piaware | s6-rc: info: service planefinder-log successfully stopped
fr24feed-piaware | s6-rc: info: service planefinder: stopping
fr24feed-piaware | s6-rc: info: service legacy-cont-init successfully stopped
fr24feed-piaware | s6-rc: info: service fix-attrs: stopping
fr24feed-piaware | s6-rc: info: service adsbhub successfully stopped
fr24feed-piaware | s6-rc: info: service conf-adsbhub: stopping
fr24feed-piaware | s6-rc: info: service piaware successfully stopped
fr24feed-piaware | s6-rc: info: service confd-piaware: stopping
fr24feed-piaware | s6-rc: info: service opensky successfully stopped
fr24feed-piaware | s6-rc: info: service conf-opensky: stopping
fr24feed-piaware | s6-rc: info: service netcat successfully stopped
fr24feed-piaware | s6-rc: info: service http successfully stopped
fr24feed-piaware | s6-rc: info: service init-upintheair: stopping
fr24feed-piaware | s6-rc: info: service confd-layers: stopping
fr24feed-piaware | s6-rc: info: service confd-html: stopping
fr24feed-piaware | s6-rc: info: service adsbexchange-stats successfully stopped
fr24feed-piaware | s6-rc: info: service conf-radarbox successfully stopped
fr24feed-piaware | s6-rc: info: service fix-attrs successfully stopped
fr24feed-piaware | s6-rc: info: service confd-piaware successfully stopped
fr24feed-piaware | s6-rc: info: service adsbfi-mlat successfully stopped
fr24feed-piaware | s6-rc: info: service adsbfi-feed: stopping
fr24feed-piaware | s6-rc: info: service fr24feed successfully stopped
fr24feed-piaware | s6-rc: info: service confd-fr24feed: stopping
fr24feed-piaware | s6-rc: info: service adsbexchange-mlat successfully stopped
fr24feed-piaware | s6-rc: info: service adsbexchange-feed: stopping
fr24feed-piaware | s6-rc: info: service conf-adsbhub successfully stopped
fr24feed-piaware | s6-rc: info: service conf-opensky successfully stopped
fr24feed-piaware | s6-rc: info: service init-upintheair successfully stopped
fr24feed-piaware | s6-rc: info: service confd-layers successfully stopped
fr24feed-piaware | s6-rc: info: service confd-html successfully stopped
fr24feed-piaware | s6-rc: info: service confd-fr24feed successfully stopped
fr24feed-piaware | s6-rc: info: service planefinder successfully stopped
fr24feed-piaware | s6-rc: info: service conf-planefinder: stopping
fr24feed-piaware | s6-rc: info: service conf-planefinder successfully stopped
fr24feed-piaware | s6-rc: info: service adsbfi-feed successfully stopped
fr24feed-piaware | s6-rc: info: service conf-adsbfi: stopping
fr24feed-piaware | s6-rc: info: service adsbexchange-feed successfully stopped
fr24feed-piaware | s6-rc: info: service conf-adsbexchange: stopping
fr24feed-piaware | s6-rc: info: service dump1090: stopping
fr24feed-piaware | s6-rc: info: service conf-adsbfi successfully stopped
fr24feed-piaware | s6-rc: info: service dump1090 successfully stopped
fr24feed-piaware | s6-rc: info: service conf-adsbexchange successfully stopped
fr24feed-piaware | s6-rc: info: service s6rc-oneshot-runner: stopping
fr24feed-piaware | s6-rc: info: service s6rc-oneshot-runner successfully stopped`

@pagottoo
Copy link

pagottoo commented Jun 2, 2024

same issue here... recently upgrade my raspberry pi k8s cluster, to ubuntu 24.04, and started to face this problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants