Nextcloud version: 24.0.9
Operating system and version: Rocky Linux 8.7
Apache or nginx version: nginx/1.23.2
PHP version: 7.4.30
The issue you are facing:
User storage quota not reflecting actual use. Showing 10GB quota exceeded, yet also shows space available.
user@nextcloud $ occ user:info *****
- user_id: *****
- display_name: ******
- email: ******@******.******
- cloud_id: ******@******.******.******
- enabled: true
- groups:
- quota: 10 GB
- storage:
- free: 8645960109
- used: 13500149577
- total: 10737418240
- relative: 125.73
- quota: 10737418240
- last_seen: 2023-01-25T05:55:44+00:00
- user_directory: /ncdata/data/******
- backend: Database
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it: (End-user supplied)
- A large file caused account to go over disk space quota.
- Deleted the file and cleared the deleted files.
- Still unable to make any changes.
Additionally, I’ve tried clearing filecache, re-indexing user, clearing orphaned mounts, expiring versions and purging them, clearing trashbins, cleaning dav mounts, and just about anything in the occ command that says “clear” or “clean/cleanup”.
The output of your Nextcloud log in Admin > Logging:
N/A
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 => '*****',
1 => '*****',
2 => '*****',
3 => 'localhost',
4 => ''*****',
),
'datadirectory' => '*****',
'dbtype' => 'mysql',
'version' => '24.0.9.2',
'overwrite.cli.url' => 'https://******',
'overwriteprotocol' => 'https',
'htaccess.RewriteBase' => '/',
'dbname' => '*****db',
'dbhost' => '*******',
'dbport' => '****',
'dbtableprefix' => '**_',
'mysql.utf8mb4' => true,
'dbuser' => '*****',
'dbpassword' => '*****',
'installed' => true,
'filesystem_check_changes' => 1,
'default_phone_region' => 'US',
'loglevel' => 2,
'log_rotate_size' => '209715200',
'logtimezone' => 'America/Phoenix',
'logfile' => '/a/location/log/nextcloud.log',
'trashbin_retention_obligation' => 'auto, 30',
'remember_login_cookie_lifetime' => 1296000,
'session_lifetime' => 86400,
'session_keepalive' => true,
'theme' => 'mytheme',
'simpleSignUpLink.shown' => false,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'tls',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.*******',
'mail_smtpport' => '587',
'mail_smtpname' => 'no-reply@****',
'mail_smtppassword' => '******',
'mail_from_address' => 'noreply',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'mydomain.com',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => '6379',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'filelocking.ttl' => 3600,
'hashingThreads' => 12,
'hashingMemoryCost' => 128,
'hashingTimeCost' => 6,
'hashingCost' => 10,
'xframe_restriction' => false,
'customclient_desktop' => '*****',
'customclient_android' => 'https://play.google.com/store/apps/details?id=****',
'enable_previews' => 'true',
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore --convert-to png --outdir ',
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\HEIC',
4 => 'OC\\Preview\\BMP',
5 => 'OC\\Preview\\XBitmap',
6 => 'OC\\Preview\\MP3',
7 => 'OC\\Preview\\TXT',
8 => 'OC\\Preview\\MarkDown',
9 => 'OC\\Preview\\OpenDocument',
10 => 'OC\\Preview\\Krita',
11 => 'OC\\Preview\\PDF',
12 => 'OC\\Preview\\Photoshop',
13 => 'OC\\Preview\\Movie',
14 => 'OC\\Preview\\TIFF',
15 => 'OC\\Preview\\MSOfficeDoc',
16 => 'OC\\Preview\\Illustrator',
17 => 'OC\\Preview\\SVG',
),
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'end_to_end_encryption',
1 => 'telephoneprovider',
2 => 'extract',
3 => 'files_external_gdrive',
4 => 'keeweb',
5 => 'passman',
6 => 'files_clipboard',
7 => 'files_external_onedrive',
8 => 'whmcsintegration',
9 => 'rainloop',
10 => 'impersonate',
11 => 'checksum',
12 => 'admin_notifications',
13 => 'socialsharing_diaspora',
14 => 'socialsharing_email',
15 => 'socialsharing_facebook',
16 => 'socialsharing_twitter',
17 => 'social',
18 => 'files_external_dropbox',
19 => 'clientintegration',
20 => 'external',
21 => 'emlviewer',
22 => 'dicomviewer',
23 => 'twofactor_totp',
24 => 'twofactor_admin',
25 => 'printer',
26 => 'groupfolders',
27 => 'cookbook',
28 => 'podcast',
29 => 'announcementcenter',
30 => 'radio',
),
'updater.release.channel' => 'stable',
'data-fingerprint' => '***********',
'maintenance' => false,
'enable_file_metadata' => true,
'has_rebuilt_cache' => true,
'encryption.legacy_format_support' => false,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
2 => '***********',
3 => '***********',
),
'ncd_admin_settings' =>
array (
'ncd_disable_bt' => '1',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
N/A