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

Orbic Device running out of storage #152

Open
SirGilgamesh opened this issue Mar 12, 2025 · 9 comments
Open

Orbic Device running out of storage #152

SirGilgamesh opened this issue Mar 12, 2025 · 9 comments
Labels
enhancement New feature or request

Comments

@SirGilgamesh
Copy link

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.

@wgreenberg
Copy link
Collaborator

wgreenberg commented Mar 12, 2025

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 wgreenberg added the enhancement New feature or request label Mar 12, 2025
@Professr
Copy link

Professr commented Mar 14, 2025

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 😅

@issacaron
Copy link

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

@wgreenberg
Copy link
Collaborator

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

@issacaron
Copy link

issacaron commented Mar 17, 2025

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

@aalex954
Copy link

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.

@cooperq
Copy link
Collaborator

cooperq commented Mar 19, 2025

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

@issacaron
Copy link

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

@tkerby
Copy link
Contributor

tkerby commented Mar 25, 2025

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

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

No branches or pull requests

7 participants