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

Automatic resizing of Quota? #28380

Closed
MaikWienstroeer opened this issue Jul 12, 2017 · 13 comments
Closed

Automatic resizing of Quota? #28380

MaikWienstroeer opened this issue Jul 12, 2017 · 13 comments

Comments

@MaikWienstroeer
Copy link

Steps to reproduce

  1. Just wait a night till Quota is resetted.

Expected behaviour

Quota should stays the same, all day and not change without administrative change.

Actual behaviour

The quota seems to be reseted to the value of 953,7 MB every night.
This takes place on all users except the first admin, where the quota stays unchanged at unlimited.
It has no effect if you set a specidific quota or use unlimited.
I am using the actual release and use it on Ubuntu.
Please see also:
https://central.owncloud.org/t/automatic-resize-of-quotas/8444
https://help.nextcloud.com/t/custom-quotas-keep-getting-reset/15194

Server configuration

Ubuntu Server 14.04 LTS

Web server:
Apache

Database:
MySQL

PHP version:
php 5.5.9

ownCloud version: (see ownCloud admin page)
Owncloud 9.0.10

Updated from an older ownCloud or fresh install:
Updated
Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):
Integrity checker has been disabled. Integrity cannot be verified.

The content of config/config.php:

List of activated apps:
None.

Are you using external storage, if yes which one: local/smb/sftp/...
No

Are you using encryption: yes/no
No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

@PVince81
Copy link
Contributor

If you're not using LDAP, I'm not aware of any cron job or any background process that would update existing quota values.

I suggest you run select * from oc_preferences where appid='files' and configkey='quota'; then run it again after a night and compare the values, post the value before and after here.

@PVince81
Copy link
Contributor

you haven't listed what apps you use, maybe a third party app is messing with your quotas...

@MaikWienstroeer
Copy link
Author

MaikWienstroeer commented Jul 13, 2017 via email

@MaikWienstroeer
Copy link
Author

MaikWienstroeer commented Jul 13, 2017 via email

@vmuth
Copy link

vmuth commented Jul 25, 2017

We have owncloud 9.0.9 stable (community edition, PHP 5.4, MySQL) connected via LDAP to OSX OpenDirectory. No 3rd party apps (except Contacts and Calendar) are installed.
User quota of LDAP users is reset to default after some time even if in LDAP settings ("Special attributes") no quota is set.

Regards, Vittorio

@MaikWienstroeer
Copy link
Author

Same at my site Vittorio,
here it is every night.
Could you conform this?
Thank you.

@MaikWienstroeer
Copy link
Author

Sorry, the SQL was missing:
after a night:

| katharina.***** | files | quota | 953.7 MB

Before:
| katharina.****** | files | quota | none

So there is a change sadly.... But why? There are no quotas in ad or something else...

@duncathan
Copy link

Is there any news on this? I am experiencing the same issue - despite no default LDAP quota or even quota attribute being set within ownCloud. Can LDAP users only have quotas set via LDAP? I would like to be able to use the web portal to set quotas for all users, LDAP or otherwise, without LDAP quotas being used at all.

@MaikWienstroeer
Copy link
Author

Not from my point of view.
The error still occurs every night....
Do you use LDAP quota? Could this be a workaround till a final solution?
We don´t use it this time....

@vmuth
Copy link

vmuth commented Aug 2, 2017

We neither use LDAP quota. At our site the error does not occur every night. Maybe once in a week. The quota in oc_preferences remained the same for several days now.
In administration of oc we set cron.php to be executed via AJAX (I don't know if this influences quota calculation).

@MaikWienstroeer
Copy link
Author

At our site, AJAX is already activated since beginning.
So from my point of view thre is no influence because I got this issue every night....

Regards

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label needs info is set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.

@lock
Copy link

lock bot commented Aug 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants