rayhunter icon indicating copy to clipboard operation
rayhunter copied to clipboard

Orbic Device running out of storage

Open SirGilgamesh opened this issue 9 months ago • 9 comments

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.

SirGilgamesh avatar Mar 12 '25 20:03 SirGilgamesh

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

wgreenberg avatar Mar 12 '25 22:03 wgreenberg

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 😅

Professr avatar Mar 14 '25 15:03 Professr

Image

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.

Image

issacaron avatar Mar 17 '25 16:03 issacaron

@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 avatar Mar 17 '25 17:03 wgreenberg

@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.

issacaron avatar Mar 17 '25 17:03 issacaron

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 avatar Mar 18 '25 07:03 aalex954

@aalex954 please attach a screenshot of the webui for your installation so I can see how much disk space you have free.

cooperq avatar Mar 19 '25 16:03 cooperq

@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"}]}]}

1742233061.txt

Looks like this was opened as Issue 184.

issacaron avatar Mar 22 '25 03:03 issacaron

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

tkerby avatar Mar 25 '25 12:03 tkerby

Closing since we now have the ability to delete old captures.

cooperq avatar Jun 06 '25 17:06 cooperq