Skip to content

External storage does not count towards users quota #7017

@JacobErnst98

Description

@JacobErnst98

Steps to reproduce

  1. Set up external SFTP storage
  2. add 'quota_include_external_storage' => true, to config.php
  3. upload file to SFTP external storage
  4. Storage quota is not used.

Expected behaviour

The storage quota should be used.

Actual behaviour

External storage does not count towards users quota

Server configuration

Nextcloud install vm

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Activity 2.5.2 Official Disable
Collaborative tags 1.2.0 Official Disable
Comments 1.2.0 Official Disable
Deleted files 1.2.0 Official Disable
External storage support 1.3.0 Official Disable
Federation 1.2.0 Official Disable
File sharing 1.4.0 Official Disable
First run wizard 2.1 Official Disable
Gallery 17.0.0 Official
Limit to groups
Disable
Log Reader 2.0.0 Official
Limit to groups
Disable
Monitoring 1.2.0 Official
Limit to groups
Disable
Nextcloud announcements 1.1 Official Disable
Notifications 2.0.0 Official Disable
Password policy 1.2.2 Official
Limit to groups
Disable
PDF viewer 1.1.1 Official
Limit to groups
Disable
Share by mail 1.2.0 Official Disable
Text editor 2.4.1 Official
Limit to groups
Disable
Theming 1.3.0 Official Disable
Update notification 1.2.0 Official
Limit to groups
Disable
Usage survey 1.0.0 Official
Limit to groups
Disable
Versions 1.5.0 Official Disable
Video player 1.1.0 Official
Limit to groups
Disable
Calendar 1.5.4 View in store ↗
Limit to groups
This app has an update available.
Update to 1.5.6 Disable
Contacts 1.5.3 View in store ↗
Limit to groups
This app has an update available.
Update to 2.0.1 Disable
Passman 2.1.4 View in store ↗
Limit to groups
Disable
Preview Generator 1.0.6 View in store ↗
This app has an update available.
Update to 1.0.7 Disable
Auditing / Logging 1.2.0 Official Enable
Default encryption module 1.6.0 Official Enable
External user support 0.4 Official Enable
LDAP user and group backend

Nextcloud configuration:

Config report

****** for sanitation

'********', 'secret' => '********', 'trusted_domains' => array ( 0 => '******', 1 => '******', 2 => '******', 3 => '******', ), 'datadirectory' => '/var/ncdata', 'dbtype' => 'mysql', 'version' => '12.0.3.3', 'dbname' => 'nextcloud_db', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'oc_ncadmin', 'dbpassword' => '******', 'installed' => true, 'instanceid' => '******', 'maintenance' => false, 'mail_smtpmode' => 'smtp', 'log_rotate_size' => '10485760', 'memcache.local' => '\\OC\\Memcache\\Redis', 'filelocking.enabled' => true, 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/var/run/redis/redis.sock', 'port' => 0, 'timeout' => 0, 'dbindex' => 0, 'password' => '******', ), 'htaccess.RewriteBase' => '/', 'overwrite.cli.url' => '******', 'quota_include_external_storage' => true, );
**Are you using external storage, if yes which one:** local/smb/sftp/... SFTP **Are you using encryption:** yes/no No **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... NO #### LDAP configuration (delete this part if not used)
Details ### Client configuration **Browser:** Chrome **Operating system:** all

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions