Seafile Total Space Used Inaccurate

ui
server
storage

#1

Hey. I installed Seafile today on my Ubuntu 18.04 server, and am checking it out. I am loving it so far, but the biggest thing I have noticed is the representation of data total used within the admin info section.

Within, it says:
Storage Used
647.9 KB

Though, when I run
du -hs /home/username/seafile/seafile-data

on my server, it tells me I have used 796KB in that folder. Meaning, Seafile is showing me using less.

Am I doing something wrong here? Also, is there a way for the admin panel to tell me the total amount of space available on the disk in general as well as used, such as 647.9 KB / 300 GB?


#2

Yes, it calculates the storage usage. It does not look at the actual usage.

No, there is not.


#3

Thanks for the quick reply, really appreciate it.

So what you are saying is it doesn’t tell me how much the files total out to be in the Seafile-datw folder, meaning that number in theory is useless for knowing how much data your users are really using on your server? :frowning: Looks like Seafile might not be for me and I might have to migrate back to Nextcloud.

I was hoping to track how much space in my system I have used total so I know when to stop uploading files rather than have to manually ssh into my server each time I wish to check.

Thank you anyways, and I hope you have a great day!


#4

You just need a one-line bash script for this. That’s not a purpose for migrating back to Nextcloud (there are some), that’s just lazy bulls**t. You could use Plesk or PhpMyAdmin for this (and many other observation things), if you want, but IMO they’re just a security risk.


#5

The fact is not laziness but convenience.

I like to know where my storage is at, without having to SSH into my server every single time. Sometimes I don’t have access to SSH and need to know.

So, what I did do was create a custom bash script to run the df command, and output the results to a html file.
I then have a cron job running that bash script twice a day so the web page gets updated on a regular basis.

Took me a few hours the other day as I literally just picked up Ubuntu the other week and never really worked with servers before… but hey; at least I can see where I am in terms of storage limits easily, from anywhere without SSH.

It’s a shame I can’t integrate it into Seafile to make it look better; and that is why I asked this question. I guess laziness corresponds with wanting things to look more professional than this sketchy job I ended up making :rofl:

Thanks for the replies though, very insightful.