You are not logged in.

#1 2017-07-30 20:50:08

miro279
Member
Registered: 2010-10-02
Posts: 153

[SOLVED] Can't loggin into nextcloud via nextcloud.client after update

Hello,

I updated nextcloud-client from AUR to version 2.3.2-1.
Since than the client is not syncing anymore giving an internal server error.
nextcloud log also shows an error:

	OCA\OAuth2\Exceptions\ClientNotFoundException: 

    /usr/share/webapps/nextcloud/apps/oauth2/lib/Controller/LoginRedirectorController.php - line 68: OCA\OAuth2\Db\ClientMapper->getByIdentifier('xdXOt13JKxym1B1...')
    [internal function] OCA\OAuth2\Controller\LoginRedirectorController->authorize('xdXOt13JKxym1B1...', NULL)
    /usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
    /usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\OAuth2\Controller\LoginRedirectorController), 'authorize')
    /usr/share/webapps/nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\OAuth2\Controller\LoginRedirectorController), 'authorize')
    /usr/share/webapps/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OCA\\OAuth2\\Cont...', 'authorize', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
    [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
    /usr/share/webapps/nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
    /usr/share/webapps/nextcloud/lib/base.php - line 1000: OC\Route\Router->match('/apps/oauth2/au...')
    /usr/share/webapps/nextcloud/index.php - line 40: OC handleRequest()
    {main}

anyone an idea?

Last edited by miro279 (2017-07-31 16:16:15)

Offline

#2 2017-07-30 20:52:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Can't loggin into nextcloud via nextcloud.client after update

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-07-31 11:05:49

maxqia
Member
Registered: 2014-12-20
Posts: 2

Re: [SOLVED] Can't loggin into nextcloud via nextcloud.client after update

Seems to be that the latest owncloud-client git is being used in the package, even though the nextcloud client has it pinned to the owncloud-client's release 2.3.2. Also the latest owncloud-client seems to have some authentication changes (oauth2) that seems to be causing this....

I've created a patch for the PKGBUILD that seems to fix it : https://pastebin.com/h7M7jaBE

Offline

#4 2017-07-31 16:15:28

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: [SOLVED] Can't loggin into nextcloud via nextcloud.client after update

Fixed by this patch and included in AUR, thanks guys!!

Offline

#5 2017-07-31 16:16:48

infiniteh
Member
Registered: 2010-08-12
Posts: 13

Re: [SOLVED] Can't loggin into nextcloud via nextcloud.client after update

Fix confirmed here too. Thanks!

Offline

#6 2017-07-31 16:37:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Can't loggin into nextcloud via nextcloud.client after update

Closing


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB