Nextcloud suddenly do not show files anymore - TypeError: OCA.Files is undefined

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): 13.0.5.2
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04.1
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.33 (Ubuntu)
PHP version (eg, 7.1): PHP 7.2.7-0ubuntu0.18.04.2

The issue you are facing:
Since a few days, my Nextcloud intstance is not showing any files in the web interface anymore.
After some time i looked into Firefox’s Console and found the following JavaScript error messages:

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

The output of your Nextcloud log in Admin > Logging:

NOTHING important found <<

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

$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'domain1',
    1 => 'domain2',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '13.0.5.2',
  'dbname' => 'nextclouddb',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '',
  'logtimezone' => 'UTC',
  'installed' => true,
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Memcached',
  'memcached_servers' => 
  array (
    0 => 
    array (
      0 => 'localhost',
      1 => 11211,
    ),
  ),
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'smtp.1und1.de',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_from_address' => 'oleds-cloud',
  'mail_domain' => '',
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'asset-pipeline.enabled' => true,
  'theme' => '',
  'loglevel' => 0,
  'log_type' => 'owncloud',
  'logfile' => '/var/log/nextcloud.log',
  'updater.release.channel' => 'stable',
);

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

If they are really needed i will paste them here.

Did you ever find a resolution to your problem? We are having the same issue.

1 Like