Support intro
Hi everyone
I recently installs 3 nextcloud instances with lookup-server
I want to use global scale but it’s not working
Nextcloud version 14
Operating system and version _: debian 9
Apache2
PHP version: 7.0
Hi everyone.
I use external lookup-server too but nothing happen when i had it inside my nextcloud config :
Master :
‘gss.jwt.key’ => ‘XXX’,
// operation mode
‘gss.mode’ => ‘master’,
// define a master admins, this users will not be redirected to a slave but are
// allowed to login at the master node to perform administration tasks
‘gss.master.admin’ => [‘XXX’],
// define a class which will be used to decide on which server a user should be
// provisioned in case the lookup server doesn’t know the user yet.
// Note: That this will create a user account on a global scale note for every user
// so make sure that the Global Site Selector has verified if it is a valid user before.
// The user disovery module might require additional config paramters you can find in
// the documentation of the module
‘gss.user.discovery.module’ => ‘\OCA\GlobalSiteSelector\UserDiscoveryModules\UserDiscoverySAML’,
‘gss.discovery.saml.slave.mapping’ => ‘idp-parameter’,
‘loodkup_server’ => ‘http://54.38.253.0’
Slave :
.
‘gss.jwt.key’ => ‘XXX’,
// operation mode
‘gss.mode’ => ‘slave’,
// url of the master, so we can redirect the user back in case of an error
‘gss.master.url’ => 'http://XXX,
‘loodkup_server’ => ‘http://54.38.253.0’
);
This is a demo and you can test the lookup-server response if you want
On my access.log inside apache2 for lookup-server i did not found any request coming from the nextcloud’s
I just have this log on the master server :
{“reqId”:“EvajXydarEXxQfuB8IFJ”,“level”:3,“time”:“2019-01-10T08:53:38+00:00”,“remoteAddr”:“137.74.29.219”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/index.php/login",“message”:{“Exception”:“OC\HintException”,“Message”:“Could not find location for user, populate”,“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/lib/private/legacy/hook.php",“line”:106,“function”:“handleLoginRequest”,“class”:“OCA\GlobalSiteSelector\Master”,“type”:"->",“args”:[{“run”:"*** sensitive parameter replaced ",“uid”:" sensitive parameter replaced ",“password”:" sensitive parameter replaced "}]},{“file”:"/var/www/nextcloud/lib/private/Server.php",“line”:406,“function”:“emit”,“class”:“OC_Hook”,“type”:"::",“args”:[“OC_User”,“pre_login”,{“run”:" sensitive parameter replaced ",“uid”:" sensitive parameter replaced ",“password”:" sensitive parameter replaced "}]},{“function”:“OC{closure}”,“class”:“OC\Server”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php",“line”:99,“function”:“call_user_func_array”,“args”:[{" class ":“Closure”},[" sensitive parameter replaced "," sensitive parameter replaced "]]},{“file”:"/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php",“line”:36,“function”:“emit”,“class”:“OC\Hooks\BasicEmitter”,“type”:"->",“args”:["\OC\User",“preLogin”,[" sensitive parameter replaced "," sensitive parameter replaced "]]},{“file”:"/var/www/nextcloud/core/Controller/LoginController.php",“line”:281,“function”:“emit”,“class”:“OC\Hooks\PublicEmitter”,“type”:"->",“args”:["\OC\User",“preLogin”,[" sensitive parameter replaced "," sensitive parameter replaced "]]},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:166,“function”:“tryLogin”,“class”:“OC\Core\Controller\LoginController”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:99,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{" class “:“OC\Core\Controller\LoginController”},“tryLogin”]},{“file”:”/var/www/nextcloud/lib/private/AppFramework/App.php",“line”:118,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{" class “:“OC\Core\Controller\LoginController”},“tryLogin”]},{“file”:”/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OC\Core\Controller\LoginController”,“tryLogin”,{" class “:“OC\AppFramework\DependencyInjection\DIContainer”},{”_route":“core.login.tryLogin”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“core.login.tryLogin”}]},{“file”:"/var/www/nextcloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{" class “:“OC\AppFramework\Routing\RouteActionHandler”},{”_route":“core.login.tryLogin”}]},{“file”:"/var/www/nextcloud/lib/base.php",“line”:987,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/login"]},{“file”:"/var/www/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/var/www/nextcloud/apps/globalsiteselector/lib/Master.php",“Line”:160,“Hint”:“Could not find location for user, populate”,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36”,“version”:“14.0.4.2”}
My first question is . I use http and ip (no domain name)
did i have to use SSL and domain name ?