Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError Exception With v14 #11231

Closed
benyanke opened this issue Sep 15, 2018 · 2 comments
Closed

TypeError Exception With v14 #11231

benyanke opened this issue Sep 15, 2018 · 2 comments
Labels

Comments

@benyanke
Copy link

benyanke commented Sep 15, 2018

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("/settings/ajax/checksetup")

/nextcloud/index.php - line 42:

OC::handleRequest()
@benyanke benyanke changed the title TypeError Exception After Upgrade to 14 TypeError Exception With v14 Sep 15, 2018
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #9462 (Exception during scan), #11133 (Fix exception class), #6860 (appstoreFetcher Exception), #11187 ([stable14] Fix exception class), and #11199 (Nextcloud 14 Upgrade exception).

@kesselb
Copy link
Contributor

kesselb commented Sep 15, 2018

Thanks for reporting this issue 👍 Issue is fixed with 14.0.1 (#11088).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants