Internal Error (Web Page)

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): 15.0.0.10
Operating system and version (eg, Ubuntu 17.04): OpenMediaVault 4.1.16-2 (based on Debian)
Apache or nginx version (eg, Apache 2.4.25): nginx 1.10.3
PHP version (eg, 7.1): 7.0.33

The issue you are facing: Internal Error (OCP\Files\NotFoundException)

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

Steps to replicate it:

  1. I type the ip to access the web interface,
  2. I connect myself,
  3. I have the error message (output of my Nextcloud) below.

The output of your Nextcloud log in Admin > Logging:

  • /!\ The output is 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 : 162.158.92.110
ID de la demande : WKfw5WJ6Mp7Cvlqocfgo
Type : OCP\Files\NotFoundException
Code : 0
Message :
Fichier : /config/www/nextcloud/lib/private/Files/Node/Node.php
Ligne : 97

Trace
#0 /config/www/nextcloud/lib/private/Files/Node/Node.php(216): OC\Files\Node\Node->getFileInfo()
#1 /config/www/nextcloud/lib/private/Files/Node/Node.php(117): OC\Files\Node\Node->getPermissions()
#2 /config/www/nextcloud/lib/private/Files/Node/Folder.php(155): OC\Files\Node\Node->checkPermissions(4)
#3 /config/www/nextcloud/lib/private/Files/AppData/AppData.php(94): OC\Files\Node\Folder->newFolder('avatar')
#4 /config/www/nextcloud/lib/private/Files/AppData/AppData.php(114): OC\Files\AppData\AppData->getAppDataFolder()
#5 /config/www/nextcloud/lib/private/AvatarManager.php(102): OC\Files\AppData\AppData->newFolder('Valentin')
#6 /config/www/nextcloud/lib/private/TemplateLayout.php(105): OC\AvatarManager->getAvatar('Valentin')
#7 /config/www/nextcloud/lib/private/legacy/template.php(211): OC\TemplateLayout->__construct('user', 'files')
#8 /config/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php(157): OC_Template->fetchPage(Array)
#9 /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(119): OCP\AppFramework\Http\TemplateResponse->render()
#10 /config/www/nextcloud/lib/private/AppFramework/App.php(118): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files\Controller\ViewController), 'index')
#11 /config/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('ViewController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
#12 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
#13 /config/www/nextcloud/lib/private/Route/Router.php(297): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
#14 /config/www/nextcloud/lib/base.php(987): OC\Route\Router->match('/apps/files/')
#15 /config/www/nextcloud/index.php(42): OC::handleRequest()
#16 {main}

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

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'xxxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'trusted_domains' =>
  array (
    0 => 'xxx.xxx.x.xx:xxxx',
    1 => 'xx.xxx.xxx.xxx:xxxx',
  ),
  'dbtype' => 'mysql',
  'version' => '15.0.0.10',
  'overwrite.cli.url' => 'https://xxx.xxx.x.xx:xxxx',
  'dbname' => 'nextcloud',
  'dbhost' => 'xx.xxx.xxx.xxx:xxxx',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxxxx',
  'dbpassword' => 'xxxxxxxxxx',
  'installed' => true,
  'debug'=> true,
);

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

Hum… I just renamed the files file in my Nextcloud user account by Files and it seems to be working for now. Let’s hope it stays that way.