Skip to content

TypeError Exception With v14 #11231

Description

@benyanke

In both my upgraded instance as well as a clean install (using the instructions below), I am now seeing this in the browser logs, thrown by a code integrity error.

To replicate:

  1. Get docker-compose.yml file here
  2. Change 'latest' tag to '14'
  3. docker-compose up -d
  4. docker-compose ps to find the port it's bound to
  5. login with admin/admin
  6. note the error logs in /settings/admin/logging
TypeError: Argument 1 passed to OC\Settings\Controller\CheckSetupController::getAppDirsWithDifferentOwnerForAppRoot() must be of the type array, boolean given, called in /nextcloud/settings/Controller/CheckSetupController.php on line 551
/nextcloud/settings/Controller/CheckSetupController.php - line 551:

OC\Settings\Controller\CheckSetupController->getAppDirsWithDifferentOwnerForAppRoot(false, { path: "/ap ... e})

/nextcloud/settings/Controller/CheckSetupController.php - line 624:

OC\Settings\Controller\CheckSetupController->getAppDirsWithDifferentOwner()

/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:

OC\Settings\Controller\CheckSetupController->check()

/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OC\Settings\ ... {}, "check")

/nextcloud/lib/private/AppFramework/App.php - line 118:

OC\AppFramework\Http\Dispatcher->dispatch(OC\Settings\ ... {}, "check")

/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("OC\\Setting ... r", "check", OC\AppFramew ... {}, { _route: "s ... "})


OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})

/nextcloud/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew ... {}, { _route: "s ... "})

/nextcloud/lib/base.php - line 989:

OC\Route\Router->match("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/settings/ajax/checksetup")

/nextcloud/index.php - line 42:

OC::handleRequest()

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions