[RESOLVED] Wrong WebDAV Mount Capacity

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 15.05
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.29
PHP version (eg, 7.1): 7.2.15

The issue you are facing: I have used hosted Nextcloud and decided to host my own. On the hosted, the correct storage space was showing in Explorer when the webdav is mounted. I can’t seem to get that to happen on my self-hosted Nextcloud. Is there a setting that I am missing. Thank you for your time.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Mount WebDav

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '*************',
  'passwordsalt' => '****************',
  'secret' => '****************',
  'trusted_domains' =>
  array (
    0 => 'shrtswrd.dnsfor.me',
  ),
  'datadirectory' => '/ocdata',
  'dbtype' => 'mysql',
  'version' => '15.0.5.3',
  'overwrite.cli.url' => 'https://shrtswrd.dnsfor.me/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '************',
  'installed' => true,
  'htaccess.RewriteBase' => '/nextcloud',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => '********',
  'mail_domain' => '*********',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '*************',
  'mail_smtpport' => '465',
  'mail_smtpname' => '*************',
  'mail_smtppassword' => '**********',
);

The output of your Apache/nginx/system log in /var/log/____:

[Fri Mar 22 07:20:27.569583 2019] [mpm_prefork:notice] [pid 7431] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
[Fri Mar 22 07:20:27.569726 2019] [core:notice] [pid 7431] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 22 07:21:43.910338 2019] [php7:error] [pid 7614] [client 71.236.0.243:56420] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Fri Mar 22 07:21:58.021611 2019] [php7:error] [pid 7593] [client 71.236.0.243:56444] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Fri Mar 22 07:27:33.633977 2019] [mpm_prefork:notice] [pid 7431] AH00169: caught SIGTERM, shutting down
[Fri Mar 22 07:27:33.837937 2019] [mpm_prefork:notice] [pid 7902] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
[Fri Mar 22 07:27:33.838079 2019] [core:notice] [pid 7902] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 22 07:30:30.674620 2019] [mpm_prefork:notice] [pid 7902] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Fri Mar 22 07:30:30.849348 2019] [mpm_prefork:notice] [pid 7902] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
[Fri Mar 22 07:30:30.849390 2019] [core:notice] [pid 7902] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 22 07:32:54.466306 2019] [mpm_prefork:notice] [pid 7902] AH00169: caught SIGTERM, shutting down
[Fri Mar 22 07:34:02.179430 2019] [mpm_prefork:notice] [pid 1415] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
[Fri Mar 22 07:34:02.417922 2019] [core:notice] [pid 1415] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 22 08:36:31.850221 2019] [mpm_prefork:notice] [pid 1415] AH00169: caught SIGTERM, shutting down
[Fri Mar 22 08:36:33.200645 2019] [mpm_prefork:notice] [pid 4969] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
[Fri

Resolved! You can’t set to unlimited. You have to set the quota to the size of the disk. Then, Nextcloud will send the correct storage size to Windows Explorer.

Hi Shrtswrd,

I have the same issue and Quot already has been set for user and it shows correct quota on web interface but it shows incorrect quota on Webdav mapped on windows machine.