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

Users quota does’t work correctly #12637

Closed
optimistic5 opened this issue Nov 23, 2018 · 4 comments
Closed

Users quota does’t work correctly #12637

optimistic5 opened this issue Nov 23, 2018 · 4 comments
Labels

Comments

@optimistic5
Copy link

Nextcloud version (13.0.4) :
Operating system and version (Ubuntu 18.04) :
Apache version (Apache 2.4.29) :
PHP version (7.1.18) :

[details="The output of /var/www/html/nextcloud/config/config.php :"]

<?php
$CONFIG = array (
  'instanceid' => 'xx',
  'passwordsalt' => 'xx',
  'secret' => 'xx',
  'trusted_domains' => 
  array (
    0 => '192.168.0.138',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'overwrite.cli.url' => 'http://192.168.0.138/nextcloud',
  'dbtype' => 'mysql',
  'version' => '13.0.4.0',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xx',
  'dbpassword' => 'xx',
  'installed' => true,
);

[/details]

[details="The output of /etc/apache2/sites-available/nextcloud.conf :"]

<VirtualHost *:80>
     ServerAdmin admin@example.com
     DocumentRoot /var/www/html/nextcloud/
     ServerName 192.168.0.138
     ServerAlias 192.168.0.138

     Alias /nextcloud "/var/www/html/nextcloud/"

     <Directory /var/www/html/nextcloud/>
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
          <IfModule mod_dav.c>
            Dav off
          </IfModule>
        SetEnv HOME /var/www/html/nextcloud
        SetEnv HTTP_HOME /var/www/html/nextcloud
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

[/details]

The output of your Nextcloud log in Admin > Logging:
https://paste.debian.net/1045395/

The issue:
Quota does not work correctly.

  1. Create user in Nextcloud and give him 10mb quota
  2. Add this user to Nexcloud client app and add some big folder (more than 10mb). I added 3.8GB folder.
  3. The in NC client synchronization will be successful
  4. Go to NC interface, you will see files which is less than 10mb
  5. Go to your server when NC is installed and open users folder. You will see all this 3.8GB. You can use ncdu command

So all this 10mb quota is nothing 😦

I have another instance with Nextcloud and issue is the same.

Please, fix it.

@optimistic5
Copy link
Author

UPD. All folders added to nextcloud as external storage SMB

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #2017 (quota), #11415 (User quota show wrong value), #8709 (Passwort reset link on main page does not work correctly wiht external readonly user base ), #8050 (Quota issues ), and #1027 (Allow admin to view used quota for all users).

@johkoenig
Copy link
Member

quota doesn't apply to external storage

@violoncelloCH
Copy link
Member

exactly, as @johkoenig stated...

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

No branches or pull requests

4 participants