databag icon indicating copy to clipboard operation
databag copied to clipboard

Storage Setting

Open maurelio-cky opened this issue 10 months ago • 6 comments

Hey there,

thanks a lot for providing databag.

I'm using CasaOS on a Raspberry Pi 5 with 8GB of RAM. But I'm having trouble saving the amount of storage each user gets. Even though there's plenty of space on my SD card, I can't seem to change this setting—it always shows up as zero.

Any help would be really appreciated.

maurelio-cky avatar Apr 22 '24 04:04 maurelio-cky

I see the issue and have just committed a fix. I will update the docker image this week after I do a bit more testing. Thank you for finding and reporting this issue...you are awesome!

balzack avatar Apr 22 '24 05:04 balzack

I've pushed an update to CasaOS. When you get a chance, can you update and confirm the storage setting now works as expected? Thank you.

balzack avatar Apr 23 '24 19:04 balzack

sure. you'll get the info asap.

maurelio-cky avatar Apr 23 '24 19:04 maurelio-cky

It didn't really update the app I think. I'll try updating it in a few hours again.

I don't understand something: why can storage limits and public account creation go into negative numbers?

maurelio-cky avatar Apr 23 '24 19:04 maurelio-cky

Good point, I will change the input to >= 0.

Using a negative number won't cause any data loss, as it checks the value only when adding new records, but a negative value doesn't make logical sense.

Thank you for reporting this as well!

balzack avatar Apr 23 '24 19:04 balzack

ok , storage is working. thank you.

maurelio-cky avatar Apr 23 '24 20:04 maurelio-cky