-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Docker on Pi stops scanning after a while #587
Comments
You'd need to look in detail at the system-level log to look for when this occurs. Hopefully an obvious error message is shown! There's information on viewing the logs from within docker here: https://github.com/projecthorus/radiosonde_auto_rx/wiki/Docker#25-viewing-the-containers-logs |
Thanks Mark, I was able to get to the station and pulled the logs with the scanning failure event... attached to this comment. It seems like rtl_power throws an error, seeing a weird device, then after resetting and retrying no devices are available. I've tried unplugging and re-plugging the SDR dongle but the only thing that works is restarting the docker container (no power down of Pi or re-plugging of SDR required). -mark. |
It sounds like something is causing the SDR to reset. Generally you'll need to restart the container to re-pickup the SDR in these situations. Running a Something like the following added using
This example performs the restart at 4am in whatever timezone your system is set to. |
It seems to start with: So it looks like the RTLSDR has dropped off the system as you mention. Auto_rx eventually decides that the SDR is dead and drops it from its list, which should result in auto_rx quitting. However I think one of the threads is hanging around, not letting auto_rx quit... The fact the SDR is dying after a while is probably the bigger issue. Usually a USB reset kicks the RTLSDRs back into life, but perhaps not in this case. |
Thanks guys. I put a crontab entry in place temporarily. I may need to buy another RTL-SDR, with the Bias T and TXCO eventually. Is it possible to have the docker container restart itself if all the SDRs have dissappeared? |
If you're not running a SDR with a TCXO - please get one that does have one. The non-TCXO dongles drift badly in frequency during operation, which can result in issues. Note that the auto_rx instructions specify a TCXO dongle as mandatory... but there's no way that I can check for this. |
Definitely have a TCXO and an LNA out at the antenna as well. Is it possible to have a docker container restart itself? I could replace the time out quitting with a restart possibly. |
The Docker container will restart itself automatically if you have the appropriate Docker restart policy applied, but only if the |
Having a similar problem. The SDR has been working ok on other duties, but now suddenly overheats. This looks to be because of running a too high sample rate.
|
There's been a bunch of changes to hopefully make auto_rx exit cleanly when the SDRs fail out. Going to close this one for now. |
Lately I've noticed my station stops scanning after hours or days, leaving the web interface running but no scanning task update or refresh happening. This is particularly a problem when I'm away from the house for several days and unable to reset the Pi manually
Thanks,
-mark.
The text was updated successfully, but these errors were encountered: