Files app error when selecting files or folder/s to do any operations

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, 18.0.2): 19.0.4
Operating system and version (eg, Ubuntu 20.04): Raspberry Pi OS (32-bit) 2020-08-20
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.38
PHP version (eg, 7.1): 7.4.12

The issue you are facing:

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

The output of your Nextcloud log in Admin > Logging:

{"reqId":"UElqRD4KjNBphpYbmB6c","level":3,"time":"2020-11-06T22:44:48+00:00","remoteAddr":"::1","user":"Administrator","app":"PHP","method":"GET","url":"/apps/files/","message":{"Exception":"Error","Message":"Undefined offset: 3 at /media/pi/Seagate/chmura/lib/private/legacy/OC_Helper.php#548","Code":0,"Trace":[{"file":"/media/pi/Seagate/chmura/lib/private/legacy/OC_Helper.php","line":548,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/media/pi/Seagate/chmura/apps/files/lib/Controller/ViewController.php","line":139,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/media/pi/Seagate/chmura/apps/files/lib/Controller/ViewController.php","line":187,"function":"getStorageInfo","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/media/pi/Seagate/chmura/lib/base.php","line":1009,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/media/pi/Seagate/chmura/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/media/pi/Seagate/chmura/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36","version":"20.0.1.1"}
{"reqId":"cFPpbPqd0A7e9RkA0Ews","level":3,"time":"2020-11-06T22:44:52+00:00","remoteAddr":"::1","user":"Administrator","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2F","message":{"Exception":"Error","Message":"Undefined offset: 3 at /media/pi/Seagate/chmura/lib/private/legacy/OC_Helper.php#548","Code":0,"Trace":[{"file":"/media/pi/Seagate/chmura/lib/private/legacy/OC_Helper.php","line":548,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/media/pi/Seagate/chmura/apps/files/lib/Helper.php","line":51,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/media/pi/Seagate/chmura/apps/files/lib/Controller/AjaxController.php","line":47,"function":"buildFileStorageStatistics","class":"OCA\\Files\\Helper","type":"::"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"getStorageStats","class":"OCA\\Files\\Controller\\AjaxController","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/media/pi/Seagate/chmura/lib/base.php","line":1009,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/media/pi/Seagate/chmura/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/media/pi/Seagate/chmura/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36","version":"20.0.1.1"}
{"reqId":"bYWckjH3C5OmIrJdiuGm","level":3,"time":"2020-11-06T22:44:54+00:00","remoteAddr":"::1","user":"Administrator","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FPliki","message":{"Exception":"Error","Message":"Undefined offset: 3 at /media/pi/Seagate/chmura/lib/private/legacy/OC_Helper.php#548","Code":0,"Trace":[{"file":"/media/pi/Seagate/chmura/lib/private/legacy/OC_Helper.php","line":548,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/media/pi/Seagate/chmura/apps/files/lib/Helper.php","line":51,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/media/pi/Seagate/chmura/apps/files/lib/Controller/AjaxController.php","line":47,"function":"buildFileStorageStatistics","class":"OCA\\Files\\Helper","type":"::"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"getStorageStats","class":"OCA\\Files\\Controller\\AjaxController","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/media/pi/Seagate/chmura/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/media/pi/Seagate/chmura/lib/base.php","line":1009,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/media/pi/Seagate/chmura/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/media/pi/Seagate/chmura/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36","version":"20.0.1.1"}

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

<?php
$CONFIG = array (
  'instanceid' => 'octblraayt15',
  'passwordsalt' => ***',
  'secret' => ***',
  'trusted_domains' => 
  array (
    0 => '***',
    1 => '***',
  ),
  'datadirectory' => '/media/pi/Seagate/data',
  'dbtype' => 'mysql',
  'version' => '19.0.4.2',
  'overwrite.cli.url' => '***',
  'dbname' => 'chmura',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '***',
  'dbpassword' => '***',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'default_language' => 'pl',
  'default_locale' => 'pl',
  'auth.webauthn.enabled' => false,
  'overwriteprotocol' => 'https',
  'htaccess.RewriteBase' => '/',
  'simpleSignUpLink.shown' => false,
  'maintenance' => false,
  'updater.release.channel' => 'stable',
  'mail_from_address' => 'chmura',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '***',
  'mail_smtptimeout' => 30,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.zoho.eu',
  'mail_smtpsecure' => 'tls',
  'mail_smtpport' => '587',
  'mail_smtpname' => '***',
  'mail_smtppassword' => '***',
  'integrity.check.disabled' => true,
  'app_install_overwrite' => 
  array (
    0 => 'maps',
    1 => 'admin_notifications',
  ),
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\MP3',
    7 => 'OC\\Preview\\TXT',
    8 => 'OC\\Preview\\MarkDown',
  ),
  'filesystem_check_changes' => 1,
);

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

---

I am getting this error when I’m selecting files, folder or folders to move/delete/copy/etc. Has anyone experienced the same problem? I have no idea what could be causing the problem, no files are locked, everything is fine. Please help :slight_smile: