AgenDav Internal Server Error

#1

Bonjour !

Mon serveur YunoHost

Matériel: Machine virtuelle sur un serveur associatif
Version de YunoHost: 3.5.2
J’ai accès à mon serveur : En SSH
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non

Le nom de domaine principal est yunohost.mondomaine.tld.
(Évidemment j’ai remplacé mon vrai nom de domaine par mondomaine.tld.)

Description du problème

Je viens d’installer Baïkal et AgenDav sur des domaines dédiés.

Quand je me rends sur agendav.mondomaine.tld, une erreur s’affiche : Internal Server Error.

Voici ce que je trouve dans le fichier /var/log/agendav/2019-05-18.log :

[2019-05-18 21:25:09] agendav.INFO: Matched route "calendar". {"route_parameters":{"_controller":"[object] (Closure: {})","_route":"calendar"},"request_uri":"https://agendav.bvoisin.fr/"} []
[2019-05-18 21:25:09] agendav.INFO: Matched route "login". {"route_parameters":{"_controller":"\\AgenDAV\\Controller\\Authentication::loginAction","_route":"login"},"request_uri":"https://agendav.bvoisin.fr/login"} []
[2019-05-18 21:25:09] agendav.CRITICAL: AgenDAV\Exception: Server error: `OPTIONS https://baikal.bvoisin.fr/cal.php/` resulted in a `500 Internal Server Error` response: <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">   <s:sabredav-version>3 (truncated...)  (uncaught exception) at /var/www/agendav/web/src/Http/Client.php line 181 {"exception":"[object] (AgenDAV\\Exception(code: 500): Server error: `OPTIONS https://baikal.bvoisin.fr/cal.php/` resulted in a `500 Internal Server Error` response:\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\n  <s:sabredav-version>3 (truncated...)\n at /var/www/agendav/web/src/Http/Client.php:181)"} []
[2019-05-18 21:25:10] agendav.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /yunohost/sso/portal.html" (from "https://agendav.bvoisin.fr/login") (uncaught exception) at /var/www/agendav/web/vendor/symfony/http-kernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /yunohost/sso/portal.html\" (from \"https://agendav.bvoisin.fr/login\") at /var/www/agendav/web/vendor/symfony/http-kernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/yunohost/sso/portal.html\". at /var/www/agendav/web/vendor/symfony/routing/Matcher/UrlMatcher.php:98)"} []
[2019-05-18 21:25:10] agendav.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /yunohost/sso/portal.html" (from "https://agendav.bvoisin.fr/yunohost/sso/portal.html") (uncaught exception) at /var/www/agendav/web/vendor/symfony/http-kernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /yunohost/sso/portal.html\" (from \"https://agendav.bvoisin.fr/yunohost/sso/portal.html\") at /var/www/agendav/web/vendor/symfony/http-kernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/yunohost/sso/portal.html\". at /var/www/agendav/web/vendor/symfony/routing/Matcher/UrlMatcher.php:98)"} []

Je comprends que AgenDav essaie de contacter le SSO de Yunohost mais il est sur un autre domaine.

Savez-vous comment corriger ?

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.