nextcloud v14 smb mount Folder name / causing crash & display error
nextcloud v14 smb mount Folder name is causing crash.
in v12 v13 , folder name / is working no problem.
in v14 / is not working causing 500 error. it has to be ./ with a dot. after saving the smb mount conf , it starts to work. but the ./ display is showed as /
which means the ./ setting was submitted to database but interface is showing without dot.
GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/8467 (NextCloud 13 folder/file display bug), https://github.com/nextcloud/server/issues/5134 (Nextcloud can not handle folder names containing question marks), https://github.com/nextcloud/server/issues/3909 (NextCloud crashes because of __tostring), https://github.com/nextcloud/server/issues/2942 (Double quotes in folder name creates display problem), and https://github.com/nextcloud/server/issues/10793 (SMB can not be mounted.).
Error index OCP\Files\NotFoundException: /home/website/public_html/lib/private/Files/Node/Node.php - line 216:
OC\Files\Node\Node->getFileInfo()
/home/website/public_html/lib/private/Files/Node/Node.php - line 117:
OC\Files\Node\Node->getPermissions()
/home/website/public_html/lib/private/Files/Node/Folder.php - line 176:
OC\Files\Node\Node->checkPermissions(4)
/home/website/public_html/lib/private/legacy/util.php - line 463:
OC\Files\Node\Folder->newFile("Coast.jpg")
/home/website/public_html/lib/private/legacy/util.php - line 461:
OC_Util::copyr("/home/nextc ... s", OC\Files\Node\Folder {})
/home/website/public_html/lib/private/legacy/util.php - line 433:
OC_Util::copyr("/home/nextc ... n", OC\Files\Node\Folder {})
/home/website/public_html/lib/private/User/Session.php - line 505:
OC_Util::copySkeleton("*** sensiti ... *", OC\Files\Node\Folder {})
/home/website/public_html/lib/private/User/Session.php - line 372:
OC\User\Session->prepareUserLogin("*** sensiti ... ", "** sensiti ... *")
/home/website/public_html/core/Controller/LoginController.php - line 321:
OC\User\Session->completeLogin("*** sensiti ... *")
/home/website/public_html/lib/private/AppFramework/Http/Dispatcher.php - line 166:
OC\Core\Controller\LoginController->tryLogin("*** sensiti ... *")
/home/website/public_html/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "tryLogin")
/home/website/public_html/lib/private/AppFramework/App.php - line 118:
OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "tryLogin")
/home/website/public_html/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OC\Core\C ... r", "tryLogin", OC\AppFramew ... {}, { _route: "c ... "})
OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "c ... "})
/home/website/public_html/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { _route: "c ... "})
/home/website/public_html/lib/base.php - line 987:
OC\Route\Router->match("/login")
/home/website/public_html/index.php - line 42:
OC::handleRequest()
I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.