Skip to content

Can't access files after snap updated to 16.0.5snap1 #17331

Description

@AndyE3Neo

Got "This directory is unavailable, please check the logs or contact the administrator" after logon.

In logs have this:

index | TypeError: basename() expects parameter 1 to be string, null given/snap/nextcloud/16232/htdocs/apps/workflowengine/lib/Check/FileName.php - line 62: basename(null)
/snap/nextcloud/16232/htdocs/apps/workflowengine/lib/Check/AbstractStringCheck.php - line 63: OCA\WorkflowEngine\Check\FileName->getActualValue()
/snap/nextcloud/16232/htdocs/apps/workflowengine/lib/Manager.php - line 123: OCA\WorkflowEngine\Check\AbstractStringCheck->executeCheck("matches", "/.(\.pyc|\ ... i")
/snap/nextcloud/16232/htdocs/apps/workflowengine/lib/Manager.php - line 94: OCA\WorkflowEngine\Manager->check({ id: "13",c ... "})
/var/snap/nextcloud/16232/nextcloud/extra-apps/files_accesscontrol/lib/Operation.php - line 67: OCA\WorkflowEngine\Manager->getMatchingOperations("OCA\FilesA ... n")
/var/snap/nextcloud/16232/nextcloud/extra-apps/files_accesscontrol/lib/CacheWrapper.php - line 63: OCA\FilesAccessControl\Operation->checkFileAccess(OCA\FilesAcc ... l}, "xxxxxxx")
/snap/nextcloud/16232/htdocs/lib/private/Files/Cache/Wrapper/CacheWrapper.php - line 71: OCA\FilesAccessControl\CacheWrapper->formatCacheEntry(OC\Files\Cache\CacheEntry {})
/snap/nextcloud/16232/htdocs/lib/private/Files/Node/Folder.php - line 445: OC\Files\Cache\Wrapper\CacheWrapper->get(20851)<>OC\Files\Node\Folder->OC\Files\Node{closure}("*** sensiti ... ")
/snap/nextcloud/16232/htdocs/lib/private/Files/Node/Folder.php - line 452: array_filter({ 30: "
** s ... }}, Closure {})
/snap/nextcloud/16232/htdocs/lib/private/Files/Node/Folder.php - line 398: OC\Files\Node\Folder->recentParse([ { fileid: ... }], { 1: OC\File ... }}, OC\Files\Type\Loader {})
/snap/nextcloud/16232/htdocs/apps/recommendations/lib/Service/RecentlyEditedFilesSource.php - line 60: OC\Files\Node\Folder->getRecent(6)
/snap/nextcloud/16232/htdocs/apps/recommendations/lib/Service/RecommendationService.php - line 91: OCA\Recommendations\Service\RecentlyEditedFilesSource->getMostRecentRecommendation(OC\User\User {}, 6)<>OCA\Recommendations\Service\RecommendationService->OCA\Recommendations\Service{closure}("*** sensiti ... ")
/snap/nextcloud/16232/htdocs/apps/recommendations/lib/Service/RecommendationService.php - line 92: array_reduce([ OCA\Recomm ... }], Closure {}, "
** sensiti ... *")
/snap/nextcloud/16232/htdocs/apps/recommendations/lib/Controller/RecommendationController.php - line 63: OCA\Recommendations\Service\RecommendationService->getRecommendations(OC\User\User {})
/snap/nextcloud/16232/htdocs/lib/private/AppFramework/Http/Dispatcher.php - line 166: OCA\Recommendations\Controller\RecommendationController->index()
/snap/nextcloud/16232/htdocs/lib/private/AppFramework/Http/Dispatcher.php - line 99: OC\AppFramework\Http\Dispatcher->executeController(OCA\Recommen ... {}, "index")
/snap/nextcloud/16232/htdocs/lib/private/AppFramework/App.php - line 126: OC\AppFramework\Http\Dispatcher->dispatch(OCA\Recommen ... {}, "index")
/snap/nextcloud/16232/htdocs/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App::main("OCA\Recomm ... r", "index", OC\AppFramew ... {}, { _route: "r ... "})<>OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "r ... "})
/snap/nextcloud/16232/htdocs/lib/private/Route/Router.php - line 297: call_user_func(OC\AppFramew ... {}, { _route: "r ... "})
/snap/nextcloud/16232/htdocs/lib/base.php - line 975: OC\Route\Router->match("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/apps/recom ... s")
/snap/nextcloud/16232/htdocs/index.php - line 42: OC::handleRequest()
-- | --

Have tryed this: files:cleanup, files:scan, maintaince:repair.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions