Passage Hub4 utilisateur Mac

Depuis le passage à hub4 (26.0.1) l’un des utilisateurs de mon instance (hébergée par Ouvaton) n’arrive plus à se connecter à son compte depuis un Mac via Firefox.
Quelqu’un a-t-il rencontré un problème similaire ?
Quelqu’un a-t-il une piste à me proposer ?
Merci pour votre aide… cooperativement
Michel
PS j’ai posté la même question sur le Forum NextCloud

Bonjour,

Difficile de savoir ce qui pose problème avec si peu d’info !
Au minimum, il faut regarder si des lignes arrivent dans le fichier data/nextcloud.log au moment d’une tentative de connexion et si elles contiennent une erreur pour aiguiller vers l’origine du problème.

1 « J'aime »

Merci Mathieu et Merci Claire pour vos réponses qui me sont fort utile.

Je me suis absenté quelques jours et je reprends ce problème.

Comme vous me le proposez je me suis plongé dans nextcloud.log… je ne me suis pas tout à fait noyé!

J’ai retrouvé les log relatifs à l’utilisatrice qui n’arrive pas à se connecter à NextCloud voir ci-dessous.

{"reqId":"iSzA7421nbA2zZNHhd4T","level":1,"time":"2023-05-09T11:15:15+00:00","remoteAddr":"2.7.227.109","user":"SylvianeSpindler","app":"no app in context","method":"POST","url":"/index.php/login","message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15","version":"26.0.1.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["contacts.contacts.directcircle",["MIjjYXuMKqepzM8lpjaSqIUtHxAb4vr"],1]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["contacts.contacts.directcircle",["MIjjYXuMKqepzM8lpjaSqIUtHxAb4vr"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Model/ModelManager.php","line":560,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["contacts.contacts.directcircle",["MIjjYXuMKqepzM8lpjaSqIUtHxAb4vr"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Model/Circle.php","line":733,"function":"generateLinkToCircle","class":"OCA\\Circles\\Model\\ModelManager","type":"->","args":["MIjjYXuMKqepzM8lpjaSqIUtHxAb4vr"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Model/Circle.php","line":855,"function":"getUrl","class":"OCA\\Circles\\Model\\Circle","type":"->","args":[]},{"function":"jsonSerialize","class":"OCA\\Circles\\Model\\Circle","type":"->","args":[]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Service/FederatedUserService.php","line":1293,"function":"json_encode","args":[["OCA\\Circles\\Model\\Circle"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Service/FederatedUserService.php","line":1067,"function":"cacheSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],["OCA\\Circles\\Model\\Circle"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Service/FederatedUserService.php","line":979,"function":"getSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],true]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/Service/FederatedUserService.php","line":533,"function":"fillSingleCircleId","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[["OCA\\Circles\\Model\\FederatedUser"],true]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/circles/lib/ShareByCircleProvider.php","line":543,"function":"getLocalFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Share20/Manager.php","line":1405,"function":"getSharedWith","class":"OCA\\Circles\\ShareByCircleProvider","type":"->","args":["*** sensitive parameters replaced ***",7,"*** sensitive parameters replaced ***",-1,0]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/apps/files_sharing/lib/MountProvider.php","line":97,"function":"getSharedWith","class":"OC\\Share20\\Manager","type":"->","args":["*** sensitive parameters replaced ***",7,"*** sensitive parameters replaced ***",-1]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Files/Config/MountProviderCollection.php","line":89,"function":"getMountsForUser","class":"OCA\\Files_Sharing\\MountProvider","type":"->","args":["*** sensitive parameters replaced ***",["OC\\Files\\Storage\\StorageFactory"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Files/Config/MountProviderCollection.php","line":146,"function":"getMountsFromProvider","class":"OC\\Files\\Config\\MountProviderCollection","type":"->","args":[["OCA\\Files_Sharing\\MountProvider"],"*** sensitive parameters replaced ***",["OC\\Files\\Storage\\StorageFactory"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Files/SetupManager.php","line":228,"function":"addMountForUser","class":"OC\\Files\\Config\\MountProviderCollection","type":"->","args":["*** sensitive parameters replaced ***",["OC\\Files\\Mount\\Manager"],["Closure"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Files/SetupManager.php","line":327,"function":"OC\\Files\\{closure}","class":"OC\\Files\\SetupManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Files/SetupManager.php","line":229,"function":"setupForUserWith","class":"OC\\Files\\SetupManager","type":"->","args":["*** sensitive parameters replaced ***",["Closure"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Files/Filesystem.php","line":378,"function":"setupForUser","class":"OC\\Files\\SetupManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Cache/File.php","line":56,"function":"initMountPoints","class":"OC\\Files\\Filesystem","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Cache/File.php","line":177,"function":"getStorage","class":"OC\\Cache\\File","type":"->","args":[]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/base.php","line":866,"function":"gc","class":"OC\\Cache\\File","type":"->","args":[]},{"function":"{closure}","class":"OC","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Hooks/EmitterTrait.php","line":105,"function":"call_user_func_array","args":[["Closure"],["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\User","postLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/User/Session.php","line":401,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\User","postLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/CompleteLoginCommand.php","line":43,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\CompleteLoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/LoggedInCheckCommand.php","line":60,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\LoggedInCheckCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/EmailLoginCommand.php","line":68,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\EmailLoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/UidLoginCommand.php","line":53,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":57,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/ALoginCommand.php","line":39,"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/PreLoginHookCommand.php","line":52,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Authentication/Login/Chain.php","line":107,"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/core/Controller/LoginController.php","line":326,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->","args":[["OC\\Authentication\\Login\\LoginData"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OC\\Core\\Controller\\LoginController"],"tryLogin"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OC\\Core\\Controller\\LoginController"],"tryLogin"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","tryLogin",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core.login.tryLogin"]]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login"]},{"file":"/var/www/vhosts/nuage.epudg.org/httpdocs/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/nuage.epudg.org/httpdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist."}}
    {"reqId":"slGklzPHJgQxBztbWt0N","level":1,"time":"2023-05-09T11:15:16+00:00","remoteAddr":"2.7.227.109","user":"SylvianeSpindler","app":"richdocuments","method":"GET","url":"/index.php/apps/dashboard/","message":"Fetched capabilities endpoint from https://collabora.ouvaton.coop/hosting/capabilities in 0.043 seconds","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15","version":"26.0.1.1","data":{"app":"richdocuments"}}
    {"reqId":"QIZgmjUAp6l4H5cqnYEa","level":1,"time":"2023-05-09T11:15:17+00:00","remoteAddr":"2.7.227.109","user":"SylvianeSpindler","app":"richdocuments","method":"GET","url":"/index.php/apps/theming/theme/dark-highcontrast.css?plain=1&v=196b9f0f","message":"Fetched capabilities endpoint from https://collabora.ouvaton.coop/hosting/capabilities in 0.044 seconds","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15","version":"26.0.1.1","data":{"app":"richdocuments"}}
    {"reqId":"Km0Fvs2Y2xSEpXMm74aX","level":1,"time":"2023-05-09T11:15:17+00:00","remoteAddr":"2.7.227.109","user":"SylvianeSpindler","app":"richdocuments","method":"GET","url":"/index.php/apps/theming/theme/light.css?plain=1&v=196b9f0f","message":"Fetched capabilities endpoint from https://collabora.ouvaton.coop/hosting/capabilities in 0.052 seconds","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15","version":"26.0.1.1","data":{"app":"richdocuments"}}

Je lui ai posé quelques questions supplémentaires parce qu’elle a finalement réussi à se connecter à partir d’un autre Mac. Je lui ai demandé aussi d’essayer une connexion demain à partir du Mac « défectueux » en me précisant l’heure de connexion et de faire de même avec le Mac qui fonctionne.

Je vous tiens informé de la suite.

Merci encore

Coopérativement

Michel

1 « J'aime »

Suite aux essai de ce matin… avec le Mac qui plante, je trouve dans nextcloud.log les messages suivants:

"message":"Tried to log in Reservation_des_salles but could not verify token"
"message":"Current user is not logged in",

Comment se connecter à nexcloud en forçant un loging ?
Merci pour votre aide
Coopérativement
Michel

Salut Michel,
Je dis peut-être une bêtise mais pour moi ça pourrait aussi faire penser à un blocage par un module type no-script, un paramétrage de navigation privée ou un paramétrage de type network.http.sendRefererHeader qui bloquerait l’information « token » de la page précédente au moment du clic.
Est-ce que ça peut être ça ? Et si je suis à côté de la plaque désolé.
Bonne soirée et bon week-end à toutes celles et ceux qui peuvent en profiter :partying_face:

Merci MacGyver pour cette une piste (je vais dire à mon fils que MacGyver m’aide à résoudre mes problèmes il ne le croira pas !!! )

  • Je suis bien incapable d’évaluer la pertinence de ta proposition " un blocage par un module type no-script, un paramétrage de navigation privée ou un paramétrage de type network.http.sendRefererHeader qui bloquerait l’information « token » de la page précédente au moment du clic".

  • Si c’est le cas comment contourner/résoudre ce problème, que puis-je faire ?

  • Pour ma part, j’ai continuer à suivre les propositions de Mathieu et de Claire

  • J’ai demandé à cet utilisateur d’utiliser un autre navigateur… j’attends sa réponse

  • Je me suis plongé dans nextcount.log (pas facile pour moi… j’aimerais bien avoir une documentation sur l’utilisation de ce journal)

  • Pour le Mac avec lequel NextCloud fonctionne je lis:

« userAgent »:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/113.0

  • Pour le Mac avec lequel NextCloud dysfonctionne je lis:

« userAgent »:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15

  • J’en déduis (mais est-ce exact ?) que là ou ça ne fonctionne pas la version de l’OS est plus ancienne et c’est Safari qui est utilisé au lieu de Firefox.
  • Pour le Mac avec lequel NextCloud dysfonctionne je lis aussi :

« Message »:« Current user is not logged in »

  • J’ai demandé a mon utilisateur de se connecté avec index.php/login le message « Message »:« Current user is not logged in » n’est plus dans le journal, mais ça ne fonctionne pas mieux pour autant.

  • Je suis preneur de toute idée/piste pouvant m’aider à avancer.

Merci à tous pour vos aides
Coopérativement
Michel

Problème résolu par le changement de navigateur par défaut… il y a, semble-t’il, une incompatibilité entre cette version de Safari et la dernière version de NextCloud
Un très grand merci à chacun de vous
Michel

2 « J'aime »