Nextcloud FIles totally blank

Nextcloud version (eg, 20.0.5): 21.0.5.1
Operating system and version (eg, Ubuntu 20.04): Debian10
Apache or nginx version (eg, Apache 2.4.25): 2.4.38
PHP version (eg, 7.4): 7.2.37

The issue you are facing:

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

  1. Move the Nextcloud folder in /html folder
  2. Remove the SSL .config

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

<?php
$CONFIG = array (
  'instanceid' => 'xxxxxx',
  'passwordsalt' => 'xxxxxxI',
  'secret' => 'xxxxxx',
  'trusted_domains' => 
  array (
    1 => '172.16.0.15',
  ),
  'datadirectory' => '/var/www/data',
  'dbtype' => 'mysql',
  'version' => '21.0.5.1',
  'dbname' => 'xxxxxxxx'
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxxxxx',
  'dbpassword' => 'xxxxxxxx',
  'installed' => true,
  'debug' => false,
  'maintenance' => false,
  'skeletondirectory' => '',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'false',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'xxxxxx',
  'mail_domain' => 'gmail.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'xxxx',
  'mail_smtpport' => 'xxxxx',
  'mail_smtpname' => 'xxxxxx',
  'mail_smtppassword' => 'xxxxxx',
  'updater.release.channel' => 'stable',
  'theme' => '',
  'loglevel' => 2,
);

Hey Guys,
I have an issue with Nextcloud.
For security problems, i must change my configuration of Nextcloud.
For the first step i have removed all the Nextcloud’s pubblication over WAN
I have transfered all the folder in /www/html/ and gave again the permission tp the user www-data
I have changed the “trusted domain” in config.php and i have modified my apache2 config, for access to my nexctloud istance from a Private Address IP.

Seems to work, but when i try to the section “Files” i see only a blank page. I have also checked the Developer Tools in MS Edge (I don’t know if is the correct procedure) and they notify this error:

  • Uncaught TypeError: Cannot read properties of undefined (reading ‘FileList’)
    at Object. (systemtagsfilelist.js:28)
    at i (bootstrap:19)
    at Module. (systemtags.js?v=3c0e0f0d-16:1)
    at i (bootstrap:19)
    at bootstrap:83
    at systemtags.js?v=3c0e0f0d-16:1

  • versionstabview.js:15

     Uncaught TypeError: Cannot read properties of undefined (reading 'DetailTabView')
    

    at versionstabview.js:15
    at Module. (versionstabview.js:14)
    at n (bootstrap:19)
    at bootstrap:83
    at files_versions.js?v=3c0e0f0d-16:1
    sharedfilelist.js:31

     Uncaught TypeError: Cannot read properties of undefined (reading 'FileList')
    

    at Object.343 (sharedfilelist.js:31)
    at t (bootstrap:19)
    at Module.341 (files_sharing.js:1)
    at t (bootstrap:19)
    at bootstrap:83
    at files_sharing.js?v=3c0e0f0d-16:1

What am I doing wrong?
Thank you very much