-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Nextcloud resets quota every week #7300
Comments
@vermaden Could it be that you configured LDAP that it fetches the quota as well? This would explain why it is "reset". cc @nextcloud/ldap for analysis |
and if you manage it via LDAP you cannot mix it with local quota settings. |
How to set it with LDAP then? |
Thank You for help, I will dig that path. |
One of my LDAP users just called me that his quota has decreased from 10Gb (set directly in NC for that particular user) to 1Gb (default). I see other users whose quotas did not decrease, but they didn't login recently. I don't have anything set in Quota Field of Special Attributes. My environment: I'd be glad to help with patch testing, if any. |
@pacija can you apply the debug patch:
And whenever it happens next, check the log for "Quota changed for" and past the line? It will provide is the backtrace. |
I applied the diff, I'm going to monitor logs for quota changes. I have increased quota for myself, logged out/in in hope it will be reset, but so far it didn't. I got backtrace for my manual quota increase though:
I also see these in log, right after my manual quota change:
Regarding user whose quota was reset, I see the following (I changed the UUID to all Xs):
Hopefully some dev can figure out something out of this. In the meantime, I'm here for any testing needed to solve the problem. Thank you in advance. |
Ok, here's the backtrace:
I see 12.0.4 is out. I'd like to update from 12.0.3, but if needed for the purpose of troubleshooting I'll remain on 12.0.3 until this is sorted out. |
Hi,
we have strange problem with Nextcloud, we have set a quota of 4 GB on all users and then we changed it to 10 GB for some users, but every week Nextcloud resets this 10 GB into 4 GB and we have to change it into 10 GB manually.
Expected behaviour
Users that have been set with 10 GB should remain with 10 GB quota, not to change automatically into 4 GB.
Actual behaviour
Quota of 10 GB 'users' is reset every week into 4 GB.
Server configuration
Operating system: FreeBSD 11.1
Web server: Nginx 1.12
Database: PostgreSQL 9.6.3
PHP version: 7.0.21
Nextcloud version: 12.0.1
Updated from an older Nextcloud: 12.0.0
List of activated apps:
Nextcloud configuration:
Regards,
vermaden
The text was updated successfully, but these errors were encountered: