Nextcloud version (eg, 20.0.5): 21.0.1
Operating system and version (eg, Ubuntu 20.04): lastest docker image
The issue you are facing:
User information settings cannot be opened
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- mount dfs filesystem using mount.cifs
- setup nextcloud using ldap backend
- using local external storage, mount ‘/folder/$home’ to ‘/’ → no problems
- replace the cifs folder with the same one, but using smb/cifs directly
- try to open personal information settings → usual error message shows
workaround: add a empty file to the Share named “Reasons to use Nextcloud.pdf”.
Additional info:
the folder name of the user inside the /data dir is the UID of the user, not the username. adding the pdf-file there or inside a new folder with the Username does not resolve the error.
The output of your Nextcloud log in Admin > Logging:
[index] Error: Icewind\SMB\Exception\NotFoundException: Invalid request for Robert/Reasons to use Nextcloud.pdf (NotFoundException) at <<closure>>
0. /var/www/html/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php line 92
Icewind\SMB\Exception\Exception::fromMap({0: "And 6 more ... "}, "NT_STATUS_OBJECT_NAME_NOT_FOUND", "Robert/Reasons to use Nextcloud.pdf")
1. /var/www/html/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php line 471
Icewind\SMB\Wrapped\Parser->checkForError(["cd \\Robert\\R ... "], "Robert/Reasons to use Nextcloud.pdf")
2. /var/www/html/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php line 178
Icewind\SMB\Wrapped\Share->parseOutput(["cd \\Robert\\R ... "], "Robert/Reasons to use Nextcloud.pdf")
3. /var/www/html/apps/files_external/lib/Lib/Storage/SMB.php line 244
Icewind\SMB\Wrapped\Share->dir("Robert/Reasons to use Nextcloud.pdf")
4. /var/www/html/apps/files_external/lib/Lib/Storage/SMB.php line 629
OCA\Files_External\Lib\Storage\SMB->getFolderContents("Robert/Reasons to use Nextcloud.pdf")
5. <<closure>>
OCA\Files_External\Lib\Storage\SMB->getDirectoryContent("Reasons to use Nextcloud.pdf")
6. /var/www/html/lib/private/Files/Cache/Scanner.php line 409
iterator_to_array(Generator {})
7. /var/www/html/lib/private/Files/Cache/Scanner.php line 389
OC\Files\Cache\Scanner->handleChildren("Reasons to use Nextcloud.pdf", false, 3, 104250, true, 0)
8. /var/www/html/lib/private/Files/Cache/Scanner.php line 341
OC\Files\Cache\Scanner->scanChildren("Reasons to use Nextcloud.pdf", false, 3, 104250, true)
9. /var/www/html/lib/private/Files/View.php line 1346
OC\Files\Cache\Scanner->scan("Reasons to use Nextcloud.pdf", false)
10. /var/www/html/lib/private/Files/View.php line 1390
OC\Files\View->getCacheEntry(OC\Files\Storage ... l}, "Reasons to use Nextcloud.pdf", "/3C3C06F4-39BA- ... f")
11. /var/www/html/lib/private/Files/Node/Root.php line 201
OC\Files\View->getFileInfo("/3C3C06F4-39BA- ... f")
12. /var/www/html/lib/private/Files/Node/Folder.php line 149
OC\Files\Node\Root->get("/3C3C06F4-39BA- ... f")
13. /var/www/html/lib/private/Files/Node/Folder.php line 158
OC\Files\Node\Folder->get("Reasons to use Nextcloud.pdf")
14. /var/www/html/apps/settings/lib/Settings/Personal/ServerDevNotice.php line 86
OC\Files\Node\Folder->nodeExists("Reasons to use Nextcloud.pdf")
15. /var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php line 138
OCA\Settings\Settings\Personal\ServerDevNotice->getForm()
16. /var/www/html/apps/settings/lib/Controller/PersonalSettingsController.php line 77
OCA\Settings\Controller\PersonalSettingsController->formatSettings({10: [OCA\Settin ... ]})
17. /var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php line 149
OCA\Settings\Controller\PersonalSettingsController->getSettings("personal-info")
18. /var/www/html/apps/settings/lib/Controller/PersonalSettingsController.php line 68
OCA\Settings\Controller\PersonalSettingsController->getIndexResponse("personal", "personal-info")
19. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 218
OCA\Settings\Controller\PersonalSettingsController->index("personal-info")
20. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 127
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con ... {}, "index")
21. /var/www/html/lib/private/AppFramework/App.php line 157
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "index")
22. /var/www/html/lib/private/Route/Router.php line 302
OC\AppFramework\App::main("OCA\\Settings\\ ... r", "index", OC\AppFramework\ ... {}, {section: "perso ... "})
23. /var/www/html/lib/base.php line 993
OC\Route\Router->match("/settings/user")
24. /var/www/html/index.php line 37
OC::handleRequest()
GET /settings/user
from 172.18.0.3 by 3C3C06F4-39BA-41B2-A92B-4AE6112AE352 at 2021-05-18T16:33:46+00:00
My config.php file:
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'xxxxxx',
'passwordsalt' => 'xxxxx',
'secret' => 'xxxxx',
'trusted_domains' =>
array (
0 => 'nextcloud.xxx.xx',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '21.0.1.1',
'overwrite.cli.url' => 'http://nextcloud.xxx.xx',
'dbname' => 'nextcloud',
'dbhost' => 'mariadb',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxx',
'installed' => true,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
);