Nextcloud version: 24.0.4
Operating system and version: FreeBSD 13.1-RELEASE-p1
Nginx version: 1.22.0
PHP version: 8.0.22
The issue you are facing:
The Nextcloud plugin for TrueNAS Core reports 188.99 GB
used while TrueNAS reports 397.25 GB
used. Both TrueNAS and Nextcloud report the correct available space of 83.31 GB
Is this the first time you’ve seen this error?: Yes
Steps to replicate it:
- Store stuff in Nextcloud
- Notice that TrueNAS is complaining that more than 80% of space is used while Nextcloud is reporting 56%

The output of your Nextcloud log in Admin > Logging:
Almost all of it is identifiable information. Let me know if you need anything from it and I will do my best to remove the identifiers.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/local/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/usr/local/www/nextcloud/apps-pkg',
'url' => '/apps-pkg',
'writable' => false,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
),
'passwordsalt' => 'Example',
'secret' => 'Example',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'Example',
2 => 'Example',
),
'datadirectory' => '/usr/local/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '24.0.4.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'Example',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'Example',
'dbpassword' => 'Example',
'installed' => true,
'default_phone_region' => 'US',
'instanceid' => 'Example',
'app_install_overwrite' =>
array (
0 => 'documentserver_community',
),
'maintenance' => false,
'theme' => '',
'loglevel' => 0,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_from_address' => 'Example',
'mail_domain' => 'gmail.com',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'Example',
'mail_smtppassword' => 'Example',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
);
The output of your Apache/nginx/system log in /var/log/____
:
I only see access.log
and error.log
in /var/log/nginx
Let me know if you need either of these or any other logs.