Orbic Device running out of storage
What happens when the Orbic device runs out of storage. Does the Rayhunter software override the existing captured data. If not, how should the Orbic storage be reset after it’s full.
good question, currently rayhunter makes no effort to clean or rotate recordings, so presumably it'd just fail to write to device and possibly crash.
i suspect the most straightforward thing to do is implement a rotation mechanism
Because the default permissions don't let you delete or edit any of the files from ADB shell (and because you'd need to edit the manifest file as well), I found it easiest to just add a setup step that deletes any existing captures.
In install-common.sh, I added the line _at_syscmd "rm -rf /data/rayhunter/qmdl/*" to the setup_rayhunter() { function. That way, I can re-run the installation if the device runs out of storage.
You could of course just send the AT+SYSCMD= directly, but it feels less convenient 😅
Most of the functionality of the rayhunter website seems to stop working when the capture directory fills up, as shown above.
Using a root shell to clear "rm -rf /data/rayhunter/qmdl/*" << Thanks Professr and rebooting "shutdown -r now" fixed the issue.
@issacaron i'm confused, your screenshot shows your disk is only 8% full? (note that disk_stats is the hard drive, memory_stats refers to RAM)
@wgreenberg I saw that as well. it looks like /data/rayhunter/qmdl/ only had only had 55 files and was around 4-5 megs. The other difference was issuing the shutdown -r from the adb shell instead of turning the orbic off by holding the power button. I'll see if I can replicate the issue.
I suspect the issue may be due to file size... I'm having the same issue with no more than 10-15 but I had a few that reached 100k bytes.
@aalex954 please attach a screenshot of the webui for your installation so I can see how much disk space you have free.
@wgreenberg I was able to recreate the issue. I am fairly certain line 9 of the attached .ndjson file, as commenting it out and refreshing the page restored functionality.
{"timestamp":"2025-03-21T09:02:45.136320967-04:00","skipped_message_reasons":[],"analysis":[{"timestamp":"2025-03-21T13:02:45.060Z","events":[null,null,null,{"event_type":{"type":"QualitativeWarning","severity":"High"},"message":"Cell suggested use of null cipher"}]}]}
Looks like this was opened as Issue 184.
If the Orbic supports an sdcard you can change the config file to save captures to the SD. Would be nice to be able to change this path from the web interface in future and have some basic file handling to delete old captures though
Closing since we now have the ability to delete old captures.