CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.55k stars 392 forks source link

Out of disk space while exporting filesystem #1931

Open uffish2 opened 6 months ago

uffish2 commented 6 months ago

Describe the issue you are having.

I tried to export the filesystem to the sdcard (because there wasn't enough space in the device internal storage). After a while it stopped, complained about an error, and my internal storage is full. It seems it has created a large temporary file in the internal storage and didn't delete it (large = 17GB). How can I force it to delete this temporary file?

Describe how your task behaves in a regular Linux environment

N/A

haruki-py commented 6 months ago

clear storage of app

uffish2 commented 6 months ago

Wouldn't that wipe out the filesystem? I'd rather not, if possible.

uffish2 commented 6 months ago

I mean, I assumed you meant that I got to the android settings, go to Apps > UserLand > Storage and then press 'clear data'. Wouldn't that wipe out the filesystem inside UserLand? Isn't it part of the UserLand data?

haruki-py commented 6 months ago

Dont you have a backup or is that data that important?

haruki-py commented 6 months ago

If yes, I ha0vent experienced the issue yet and therefore dont know the solution

haruki-py commented 6 months ago

Why not clear other storage (like other unneccessory apps?)

uffish2 commented 6 months ago

The data is reasonably important, I've been using UserLand for a few years with this filesystem, and spent quite some time tweaking it (including compiling qt from code...).

I can clear other storage temporarily, but I don't want to have 17G of my internal storage just wasted.

haruki-py commented 6 months ago

How did you find out you have a large temporary file? Cant you delete it the same way you found it?

haruki-py commented 6 months ago

Or you can do that (clear temporarily) and then try exporting again? You are then safe to clear storage of app if it didnt delete that file while export as that file is considered part of app.

uffish2 commented 5 months ago

UserLand was 23G before I tried to back it up, and now it takes 40G. I cannot see the file, only the amount of space the application takes, but there is no other reason that the app would grow so much. So I assume it's a temporary file of the failed backup that didn't get deleted.

uffish2 commented 5 months ago

OK, your last suggestion worked. I tried backuping again (even though there is no space to do that...) and the first thing it did was to erase the temporary file. I killed the app, and now I have my 17G back...

Thanks a lot!