Internal error when I try "System" option (App INdex : OCP\Files\InvalidPathException in log)

Hello from France,
My English is poor (and my tailor not really rich…) but I need your help guys.
I have different problems in the last weeks and I’ve tried a lot of things without success…
One of them is when I click on “system” option in the NextCloud Parameters Menu. I have a message about internal servor error (in french) :

## Erreur interne du serveur
Le serveur est incapable d'exécuter votre requête.
Si cela se reproduit, veuillez envoyer les détails techniques ci-dessous à l'administrateur du serveur.
Le fichier journal du serveur peut fournir plus de renseignements.
### Renseignements techniques
* Adresse distante : 86.69.48.239
* ID de la demande : XmfwMJfHISTxMpGMdopG

In the log files, I see an error in app index with this title : OCP\Files\InvalidPathException:
I can send the details if it may help.

Please note that I have similar problem when I try to delete a directory or a file (Fatal error in webdav OCA\DAV\Connector\Sabre\Exception\Forbidden: Invalid path) or when I try a command occ files:scan (Exception during scan: Invalid path).

I’m not sure but I think that it’s appear after 19.0.2 upgrade.

I have 36 Go on this server (it’s my own server) and I’d like to find a solution who do not need to make a new installation !

Best regards
Thierry

[/details]
Nextcloud version 19.0.2
Operating system and version Ubuntu 18.04
Apache version 2.4.29
PHP version 7.3.21

The output of your Nextcloud log in Admin > Logging:

Error	index	OCP\Files\InvalidPathException: 

    /home/nxtcdtycadm/public_html/www/apps/serverinfo/lib/SystemStatistics.php - line 80:

    OC\Files\View->free_space()

    /home/nxtcdtycadm/public_html/www/apps/serverinfo/lib/Settings/AdminSettings.php - line 118:

    OCA\ServerInfo\SystemStatistics->getSystemStatistics()

    /home/nxtcdtycadm/public_html/www/apps/settings/lib/Controller/CommonSettingsTrait.php - line 141:

    OCA\ServerInfo\Settings\AdminSettings->getForm()

    /home/nxtcdtycadm/public_html/www/apps/settings/lib/Controller/AdminSettingsController.php - line 83:

    OCA\Settings\Controller\AdminSettingsController->formatSettings([ [ OCA\Serv ... ]])

    /home/nxtcdtycadm/public_html/www/apps/settings/lib/Controller/CommonSettingsTrait.php - line 152:

    OCA\Settings\Controller\AdminSettingsController->getSettings("serverinfo")

    /home/nxtcdtycadm/public_html/www/apps/settings/lib/Controller/AdminSettingsController.php - line 68:

    OCA\Settings\Controller\AdminSettingsController->getIndexResponse("admin", "serverinfo")

    /home/nxtcdtycadm/public_html/www/lib/private/AppFramework/Http/Dispatcher.php - line 170:

    OCA\Settings\Controller\AdminSettingsController->index("serverinfo")

    /home/nxtcdtycadm/public_html/www/lib/private/AppFramework/Http/Dispatcher.php - line 100:

    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "index")

    /home/nxtcdtycadm/public_html/www/lib/private/AppFramework/App.php - line 137:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "index")

    /home/nxtcdtycadm/public_html/www/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main("OCA\\Settin ... r", "index", OC\AppFramew ... {}, { section: " ... "})

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke({ section: " ... "})

    /home/nxtcdtycadm/public_html/www/lib/private/Route/Router.php - line 297:

    call_user_func(OC\AppFramew ... {}, { section: " ... "})

    /home/nxtcdtycadm/public_html/www/lib/base.php - line 1012:

    OC\Route\Router->match("/settings/admin/serverinfo")

    /home/nxtcdtycadm/public_html/www/index.php - line 37:

    OC::handleRequest()

	
2020-09-04T09:18:06+0200
Fatal	webdav	OCP\Files\ForbiddenException: Invalid path

    /home/nxtcdtycadm/public_html/www/lib/private/Files/Storage/Wrapper/Encryption.php - line 280:

    OC\Files\Storage\Local->rename("files/AdmLa ... r", "files/AdmLa ... r")

    /home/nxtcdtycadm/public_html/www/lib/private/Files/Storage/Wrapper/Wrapper.php - line 278:

    OC\Files\Storage\Wrapper\Encryption->rename("files/AdmLa ... r", "files/AdmLa ... r")

    /home/nxtcdtycadm/public_html/www/lib/private/Files/View.php - line 816:

    OC\Files\Storage\Wrapper\Wrapper->rename("files/AdmLa ... r", "files/AdmLa ... r")

    /home/nxtcdtycadm/public_html/www/apps/dav/lib/Connector/Sabre/Node.php - line 142:

    OC\Files\View->rename("/AdmLaTeul/ ... r", "/AdmLaTeul/ ... r")

    /home/nxtcdtycadm/public_html/www/3rdparty/sabre/dav/lib/DAV/Tree.php - line 157:

    OCA\DAV\Connector\Sabre\Node->setName("A traiter")

    /home/nxtcdtycadm/public_html/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 641:

    Sabre\DAV\Tree->move("files/TicTy ... r", "files/TicTy ... r")

    /home/nxtcdtycadm/public_html/www/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

    Sabre\DAV\CorePlugin->httpMove(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})

    /home/nxtcdtycadm/public_html/www/3rdparty/sabre/dav/lib/DAV/Server.php - line 474:

    Sabre\DAV\Server->emit("method:MOVE", [ Sabre\HTTP ... }])

    /home/nxtcdtycadm/public_html/www/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:

    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})

    /home/nxtcdtycadm/public_html/www/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:

    Sabre\DAV\Server->start()

    /home/nxtcdtycadm/public_html/www/apps/dav/lib/Server.php - line 320:

    Sabre\DAV\Server->exec()

    /home/nxtcdtycadm/public_html/www/apps/dav/appinfo/v2/remote.php - line 35:

    OCA\DAV\Server->exec()

    /home/nxtcdtycadm/public_html/www/remote.php - line 167:

    require_once("/home/nxtcd ... p")

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

$CONFIG = array (
  'instanceid' => 'oc2ygtf346s3',
  'passwordsalt' => 'xxxxxx',
  'secret' => 'xxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'nextcloud.xxxxxxx.fr',
  ),
  'datadirectory' => '/home/nxtcdtycadm/public_html/www/data',
  'dbtype' => 'mysql',
  'version' => '19.0.2.2',
  'overwrite.cli.url' => 'nextcloud.xxxxxxx.fr',
  'dbname' => 'xxxxxxx'',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxxxxx'',
  'dbpassword' => 'xxxxxxx'',
  'installed' => true,
  'maintenance' => false,
  'blacklisted_files' => 
  array (
    0 => '',
  ),
  'updater.secret' => '',
  'theme' => '',
  'loglevel' => 2,
);

Hi,
Up please
Best regards
Thierry