Cannot log in nextcloud after upgrade from 17 to 18

Hello,
I performed upgrade from NC 17 to 18
I am using Zimbra Drive, to enable log in with Zimbra LDAP account.

I cannot anymore log in with my zimbr account…
I get
Exception: Call to a member function inGroup() on null

/usr/share/nginx/nextcloud/lib/private/AppFramework/App.php - line 125:

OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "tryLogin")

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

OC\AppFramework\App::main("OC\\Core\\C ... r", "tryLogin", OC\AppFramew ... {}, { _route: "c ... "})

<<closure>>

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

/usr/share/nginx/nextcloud/lib/private/Route/Router.php - line 299:

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

/usr/share/nginx/nextcloud/lib/base.php - line 1012:

OC\Route\Router->match("/login")

/usr/share/nginx/nextcloud/index.php - line 38:

OC::handleRequest()

Causé parError: Call to a member function inGroup() on null

/usr/share/nginx/nextcloud/apps/zimbradrive/lib/auth/abstractzimbrausersbackend.php - line 131:

OCA\ZimbraDrive\Auth\AbstractZimbraUsersBackend->insertUserInGroup(OC\User\User {}, false)

/usr/share/nginx/nextcloud/apps/zimbradrive/lib/auth/abstractzimbrausersbackend.php - line 119:

OCA\ZimbraDrive\Auth\AbstractZimbraUsersBackend->setDefaultGroups(OC\User\User {})

/usr/share/nginx/nextcloud/apps/zimbradrive/lib/auth/abstractzimbrausersbackend.php - line 103:

OCA\ZimbraDrive\Auth\AbstractZimbraUsersBackend->setDefaultUserAttributes(OCA\ZimbraDr ... {})

/usr/share/nginx/nextcloud/apps/zimbradrive/lib/auth/zimbrausersbackend.php - line 61:

OCA\ZimbraDrive\Auth\AbstractZimbraUsersBackend->checkPassword("*** sensiti ... *")

/usr/share/nginx/nextcloud/lib/private/User/Manager.php - line 225:

OCA\ZimbraDrive\Auth\ZimbraUsersBackend->checkPassword("*** sensiti ... *")

/usr/share/nginx/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php - line 49:

OC\User\Manager->checkPasswordNoLogging("*** sensiti ... *")

/usr/share/nginx/nextcloud/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\UidLoginCommand->process(OC\Authentic ... {})

/usr/share/nginx/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php - line 57:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/usr/share/nginx/nextcloud/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\UserDisabledCheckCommand->process(OC\Authentic ... {})

/usr/share/nginx/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php - line 53:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/usr/share/nginx/nextcloud/lib/private/Authentication/Login/Chain.php - line 108:

OC\Authentication\Login\PreLoginHookCommand->process(OC\Authentic ... {})

/usr/share/nginx/nextcloud/core/Controller/LoginController.php - line 300:

OC\Authentication\Login\Chain->process(OC\Authentic ... {})

/usr/share/nginx/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OC\Core\Controller\LoginController->tryLogin("*** sensiti ... *")

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

OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "tryLogin")

/usr/share/nginx/nextcloud/lib/private/AppFramework/App.php - line 125:

OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "tryLogin")

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

OC\AppFramework\App::main("OC\\Core\\C ... r", "tryLogin", OC\AppFramew ... {}, { _route: "c ... "})

<<closure>>

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

/usr/share/nginx/nextcloud/lib/private/Route/Router.php - line 299:

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

/usr/share/nginx/nextcloud/lib/base.php - line 1012:

OC\Route\Router->match("/login")

/usr/share/nginx/nextcloud/index.php - line 38:

OC::handleRequest() 

Can someone help ?
Thank you

There is no need to post the same issue several times in this forum, because it only wastes the limited resources of the volunteers who try to answer your questions. So please stick to the one created under the Zimbra category. I will close this one for you in the meantime.

It seems that you waited to upgrade your installation until the Zimbra Drive app support for NC 18 has been added, but I have the impression that you haven’t checked for any know issues of the app in advance :wink: I cannot tell you if the problem has been solved in the app itself, but at least a work around has been posted here:

1 Like