Error with all new users

Out of no where, ever new user we create gets the standard error while login in, please check server logs. When we check this is the error we see, which to me I cannot identify what the error is. We tried disabling memcache locking by many other posts we found, but the error is not shedding any light on a fix…

{"reqId":"X8Vd4vHySbJJ0Z25SonazAAAAAE",
"level":3,"time":"2020-11-30T21:02:27+00:00",
"remoteAddr":"173.239.11.120",
"user":"goatgoat2",
"app":"index",
"method":"GET",
"url":"\/index.php\/apps\/files\/",
"message":"Exception: {\"Exception\":\"OCP\Files\NotFoundException\",
\"Message\":\"\",
\"Code\":0,
\"Trace\":\"#0 /var/www/html/owncloud/apps/files/lib/Controller/ViewController.php(134): OC_Helper::getStorageInfo('/', false)\\n#1 /var/www/html/owncloud/apps/files/lib/Controller/ViewController.php(207): OCA\Files\Controller\ViewController->getStorageInfo()\\n#2 /var/www/html/owncloud/lib/private/AppFramework/Http/Dispatcher.php(153): OCA\Files\Controller\ViewController->index('', '', NULL, NULL)\\n#3 /var/www/html/owncloud/lib/private/AppFramework/Http/Dispatcher.php(85): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files\Controller\ViewController), 'index')\\n#4 /var/www/html/owncloud/lib/private/AppFramework/App.php(100): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files\Controller\ViewController), 'index')\\n#5 /var/www/html/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('ViewController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\\n#6 /var/www/html/owncloud/lib/private/Route/Router.php(342): OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)\\n#7 /var/www/html/owncloud/lib/base.php(916): OC\Route\Router->match('/apps/files/')\\n#8 /var/www/html/owncloud/index.php(54): OC::handleRequest()\\n#9 {main}\",
\"File\":\"/var/www/html/owncloud/lib/private/legacy/helper.php\",
\"Line\":585}"}

Config file below:

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => 'REDACTED',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' =>
  array (
    0 => '67.55.84.252',
    1 => 'REDACTED',
  ),
  'datadirectory' => '/var/www/html/owncloud/data',
  'overwrite.cli.url' => 'https://REDACTED',
  'htaccess.RewriteBase' => '/',
  'dbtype' => 'mysql',
  'version' => '10.5.0.10',
  'dbname' => 'REDACTED',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'REDACTED',
  'dbpassword' => 'REDACTED',
  'logtimezone' => 'UTC',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Memcached',
  'memcached_servers' =>
  array (
    0 =>
    array (
      0 => 'localhost',
      1 => 11211,
    ),
  ),
  'filelocking.enabled' => true,
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 11211,
    'timeout' => 0.0,
    'password' => '',
  ),
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/owncloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/owncloud/apps-external',
      'url' => '/apps-external',
      'writable' => true,
    ),
  ),
  'installed' => true,
  'loglevel' => 0,
);

Can you create a configreport through the web interface?
https://doc.owncloud.com/server/admin_manual/troubleshooting/providing_logs_and_config_files.html#generate-via-webui

Are you using LDAP?
Check your available disk space. Check your file permissions.

What was last changed? Check the servers logs and history.

1 Like

It seems something / someone changed the permission in the data directory and apache couldn’t create the directory structure for the new users.

After running the chwon, delete and recreate the affected users either from the web UI or from the cli.

2 Likes

Was permission issue, had to set directory to 755 - thank you!

2 Likes