Nextcloud version: 19.0.0
Operating system and version: Raspbian/Debian 10.4
Apache or nginx version: 2.4.38
PHP version: 7.3
The issue you are facing:
In the Web UI and also in the oc_filecache table the size of file is incorrect.
- Expected as seen on filesystem: 4001157588
- In details view: -293809708 B
- In the list: Pending
- In the table: -293809708
retrieved using: select * from oc_filecache where path like ‘%GOPR0475%’;
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
- Having the NC 18.xx
- Upload the file of size 4GB
- Check it’s sizes in all mentioned places
- manually upgrade Nextcloud only to the 19
- check the filesize on web UI - list declares Pending, details view negative value
The output of your Nextcloud log in Admin > Logging:
{"reqId":"411FaGvhREpBzP1nwHKP","level":1,"time":"July 07, 2020 10:17:18","remoteAddr":"192.168.4.110","user":"koren","app":"no app in context","method":"GET","url":"/nc/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"}
...
the message is repeating
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => 'removed',
'passwordsalt' => 'removed,
'secret' => 'removed,
'trusted_domains' =>
array (
removed
),
'datadirectory' => '/nc/data',
'overwrite.cli.url' => 'removed',
'dbtype' => 'mysql',
'version' => '19.0.0.12',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'removed',
'dbpassword' => 'removed',
'logtimezone' => 'removed',
'installed' => true,
'theme' => '',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud.log',
'logfilemode' => 0640,
'loglevel' => 0,
'logdateformat' => 'F d, Y H:i:s',
'log_rotate_size' => true,
'maintenance' => false,
'filelocking.enabled' => true,
'enable_preview' => true,
'preview_max_x' => 8192,
'preview_max_y' => 8192,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'knowledgebaseenabled' => true,
'htaccess.RewriteBase' => '/nc',
'mysql.utf8mb4' => true,
'has_rebuilt_cache' => true,
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
: not available, is not generated
in configured location