-
The used host names are not FQDN, have you shortened the names to mask its real names?
Nextcloud2 has a public FQDN, raspberrypi has always a FQDN (raspberrypi.fritz.box) but is only accessible from teh local network
-
Do you want to connect both servers on the same network or over the internet?
i want connect the local non public instance (oauth client) with the public instance (oauth provider)
-
Why are you not using a https address to access you Raspberry Pi?
iâve run âdocker run -d -p 8080:80 nextcloudâ without configuration.
-
Have you activated the debug logging and what does the Nextcloud log file show when the error appears?
the only log iâve on the provider side
{âreqIdâ:âtf7vSrjIdupHwCuu3okzâ,âlevelâ:0,âtimeâ:âDecember 03, 2019 20:14:23â,âremoteAddrâ:â151.49.198.254â,âuserâ:"â",âappâ:âcoreâ,âmethodâ:âGETâ,âurlâ:"/index.php/login/flow/grant?stateToken=8CKaxTZmycZCzCvhkVa4LgYUttfFtp0wi4bCwvdrNDFVdUb8O3grQ1TtKqIZCngJ&oauthState=HA-DCT7LAWB24F0EY5R3G9S6QZ1OPKHUIJ8MVXN&clientIdentifier=jO6wtAe7RM3e7jbqVYQym6L8939J8P9HzPA3XjwEILIVHZArg3bkdXyl0160OqvT",âmessageâ:{âExceptionâ:âOC\AppFramework\Middleware\Security\Exceptions\NotLoggedInExceptionâ,âMessageâ:âCurrent user is not logged inâ,âCodeâ:401,âTraceâ:[{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php",âlineâ:95,âfunctionâ:âbeforeControllerâ,âclassâ:âOC\AppFramework\Middleware\Security\SecurityMiddlewareâ,âtypeâ:"->",âargsâ:[{âclassâ:âOC\Core\Controller\ClientFlowLoginControllerâ},âgrantPageâ]},{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",âlineâ:97,âfunctionâ:âbeforeControllerâ,âclassâ:âOC\AppFramework\Middleware\MiddlewareDispatcherâ,âtypeâ:"->",âargsâ:[{âclassâ:âOC\Core\Controller\ClientFlowLoginControllerâ},âgrantPageâ]},{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/App.php",âlineâ:126,âfunctionâ:âdispatchâ,âclassâ:âOC\AppFramework\Http\Dispatcherâ,âtypeâ:"->",âargsâ:[{âclassâ:âOC\Core\Controller\ClientFlowLoginControllerâ},âgrantPageâ]},{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",âlineâ:47,âfunctionâ:âmainâ,âclassâ:âOC\AppFramework\Appâ,âtypeâ:"::",âargsâ:[âOC\Core\Controller\ClientFlowLoginControllerâ,âgrantPageâ,{âclassâ:âOC\AppFramework\DependencyInjection\DIContainerâ},{"_route":âcore.ClientFlowLogin.grantPageâ}]},{âfunctionâ:"__invoke",âclassâ:âOC\AppFramework\Routing\RouteActionHandlerâ,âtypeâ:"->",âargsâ:[{"_route":âcore.ClientFlowLogin.grantPageâ}]},{âfileâ:"/var/www/nextcloud/lib/private/Route/Router.php",âlineâ:297,âfunctionâ:âcall_user_funcâ,âargsâ:[{âclassâ:âOC\AppFramework\Routing\RouteActionHandlerâ},{"_route":âcore.ClientFlowLogin.grantPageâ}]},{âfileâ:"/var/www/nextcloud/lib/base.php",âlineâ:1000,âfunctionâ:âmatchâ,âclassâ:âOC\Route\Routerâ,âtypeâ:"->",âargsâ:["/login/flow/grant"]},{âfileâ:"/var/www/nextcloud/index.php",âlineâ:42,âfunctionâ:âhandleRequestâ,âclassâ:âOCâ,âtypeâ:"::",âargsâ:[]}],âFileâ:"/var/www/nextcloud/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php",âLineâ:135,âCustomMessageâ:"â"},âuserAgentâ:âMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0â,âversionâ:â17.0.1.1â}
{âreqIdâ:â58YJAbnLQIpLxCSfCRLnâ,âlevelâ:0,âtimeâ:âDecember 03, 2019 20:14:27â,âremoteAddrâ:â151.49.198.254â,âuserâ:âlocalâ,âappâ:âfiles_skeletonâ,âmethodâ:âPOSTâ,âurlâ:"/index.php/login",âmessageâ:âcopying skeleton for local from /var/www/nextcloud/core/skeleton to /local/files/â,âuserAgentâ:âMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0â,âversionâ:â17.0.1.1â}
{âreqIdâ:âBjgwi1MuMpKArT4tT17Hâ,âlevelâ:0,âtimeâ:âDecember 03, 2019 20:14:31â,âremoteAddrâ:â151.49.198.254â,âuserâ:âlocalâ,âappâ:âcoreâ,âmethodâ:âGETâ,âurlâ:"/index.php?",âmessageâ:âUser backend OC_User_IMAP already initialized.â,âuserAgentâ:âHybridAuth, PHP Social Authentication Library (https://github.com/hybridauth/hybridauth)â,âversionâ:â17.0.1.1â}