OCP\Files\NotFoundException on login

Steps to reproduce

1.Follow ubuntu20 install guide
2.Change apache conf to match my needs (with let’s encrypt)
3.try to login as admin:admin

Expected behaviour

Be connected

Actual behaviour

Exception occur after login
ID de la demande : LFr59q16UmxjEHgVgIyF
Type : OCP\Files\NotFoundException
Code : 0
Message :
Fichier : /var/www/owncloud/lib/private/legacy/helper.php
Ligne : 585

Trace

#0 /var/www/owncloud/apps/files/lib/Controller/ViewController.php(134): OC_Helper::getStorageInfo()
#1 /var/www/owncloud/apps/files/lib/Controller/ViewController.php(207): OCA\Files\Controller\ViewController->getStorageInfo()
#2 /var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php(153): OCA\Files\Controller\ViewController->index()
#3 /var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php(85): OC\AppFramework\Http\Dispatcher->executeController()
#4 /var/www/owncloud/lib/private/AppFramework/App.php(100): OC\AppFramework\Http\Dispatcher->dispatch()
#5 /var/www/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main()
#6 /var/www/owncloud/lib/private/Route/Router.php(342): OC\AppFramework\Routing\RouteActionHandler->__invoke()
#7 /var/www/owncloud/lib/base.php(917): OC\Route\Router->match()
#8 /var/www/owncloud/index.php(54): OC::handleRequest()
#9 {main}

Server configuration

Operating system:Ubuntu 20.04LTS

**Web server:**apache2

**Database:**mariaDB

**PHP version:**7.4

ownCloud version: 10.6.0.5

**Updated from an older ownCloud or fresh install:**fresh install

**Where did you install ownCloud from:**followed your guide on https://doc.owncloud.com/server/admin_manual/installation/quick_guides/ubuntu_20_04.html

Signing status (ownCloud 9.0 and above):?

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

File not found

The content of config/config.php:

{
    "system": {
        "debug": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "cloud.myserver.com"
        ],
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbtype": "mysql",
        "version": "10.6.0.5",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "apps_paths": [
            {
                "path": "\/var\/www\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "installed": true,
        "instanceid": "oczku53tlw7j",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "cloud.myserver.com",
            "port": "6379"
        }
    }
}

List of activated apps:

Enabled:
  - comments: 0.3.0
  - configreport: 0.2.0
  - dav: 0.6.0
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_mediaviewer: 1.0.3
  - files_sharing: 0.14.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.2.0
  - market: 0.6.0
  - notifications: 0.5.2
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - user_external

Client configuration

**Browser:**Firefox

**Operating system:**Ubuntu 20.04LTS

Logs

Web server error log

Insert your webserver log here

No log

ownCloud log (data/owncloud.log)

{"reqId":"8sItF0y6wmzCisJHc3KI","level":3,"time":"2021-03-02T22:43:44+00:00","remoteAddr":"79.82.73.134","user":"admin","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Controller\\\/ViewController.php(134): OC_Helper::getStorageInfo()\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Controller\\\/ViewController.php(207): OCA\\\\Files\\\\Controller\\\\ViewController->getStorageInfo()\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(153): OCA\\\\Files\\\\Controller\\\\ViewController->index()\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(85): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(100): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main()\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(342): OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke()\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(917): OC\\\\Route\\\\Router->match()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(54): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/helper.php\",\"Line\":585}"}

Browser log

GET https://cloud.myserver.com/index.php/apps/files/
Content Security Policy: Les paramètres de la page ont empêché le chargement d’une ressource à inline (« script-src »).
JQMIGRATE: Migrate is installed, version 1.4.0
Uncaught TypeError: OC.appConfig.core is undefined
Uncaught ReferenceError: oc_appconfig is not defined

Hope you can help me. Thank!