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

Quota warning mail sent to all users on full data storage disk #35

Open
hostingnuggets opened this issue Aug 2, 2018 · 4 comments
Open

Comments

@hostingnuggets
Copy link

Hello,

The disk on my server where I have the storage directory (Nextcloud "data" directory) got full and this triggered the quota warning mail to be sent to all my users. None of these users where actually using their whole quota. I think this is a mistake and this app should have not sent any quota warning mails.

I am using Nextcloud 13.0.5.

@nickvergessen
Copy link
Member

unfortunately that is nothing I can really detect, because the user quota is capped with that one too...
So if there is no disk space left your user quota is limited to the available disk space.

@hostingnuggets
Copy link
Author

@nickvergessen thanks for your quick answer. I see the issue... maybe a "dirty" workaround such as checking the disk space available through the OS (df on Linux) beforehand might do the job? For instance if the OS reports that it is 100% full no quota warnings should be sent at all just to prevent this case.

@pierr0t
Copy link

pierr0t commented Dec 28, 2023

I know this is an old issue (and I guess it is more like an enhancement request) but I'm encountering the same question ... I guess a smarter solution could be:

  • no more parameter screen for individual users
  • one parameter screen for admins with a list of users with their individual quotas (as entered in user setup)
  • an additional field to enter a global quota (because getting OS info might be tricky depending upon system, environment, ..)
  • warnings by notifications or email to admins (in my opinion a global value like 90% for individual or global quota is enough, so just one field to enter the warning threshold)
  • when a user quota or the global quota is reached, email to admin and notification
    Thanks for listening !
    Pierre.

@ThaDaVos
Copy link

This got me really confused - but apparently for me happened the same, my storage disk filled up - but instead of everyone getting the email - random people were getting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants