Hallo zusammen,
ich habe bei einem Update von 4.9.21 zu .24 diesen Fehler 500 bekommen:
Code:
Invalid repository data in /var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json, packages could not be loaded: [Seld\JsonLint\ParsingException] "/var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json" does not contain valid JSON Parse error on line 1: ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
Es scheint ein unbekannter Fehler aufgetreten zu sein. Prüfe die Log-Dateien deines Webservers (Apache/Nginx) und des Contao Managers im Ordner "contao-manager/logs".
In den contao-manager/logs stand dann:
Code:
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] request.INFO: Matched route "contao_managerapi_task__invoke". {"route":"contao_managerapi_task__invoke","route_parameters":{"_route":"contao_managerapi_task__invoke","_controller":"Contao\\ManagerApi\\Controller\\TaskController"},"request_uri":"https://www.walzerlinksgestrickt.de/contao-manager.phar.php/api/task","method":"GET"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"harm\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] tasks.INFO: Updating task status {"name":"composer/update","class":"Contao\\ManagerApi\\Task\\Packages\\UpdateTask"} []
[04-Jan-2022 10:01:50 Europe/Berlin] [2022-01-04 10:01:50] app.CRITICAL: Uncaught PHP Exception Composer\Repository\InvalidRepositoryException: "Invalid repository data in /var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json, packages could not be loaded: [Seld\JsonLint\ParsingException] "/var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json" does not contain valid JSON Parse error on line 1: ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['" at phar:///var/www/clients/client3/web356/web/web/v1/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php line 86 {"exception":"[object] (Composer\\Repository\\InvalidRepositoryException(code: 0): Invalid repository data in /var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json, packages could not be loaded: [Seld\\JsonLint\\ParsingException] \"/var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json\" does not contain valid JSON\nParse error on line 1:\n\n^\nExpected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' at phar:///var/www/clients/client3/web356/web/web/v1/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php:86)"} []
Ich habe dann noch mal den Manager aufgerufen und alle Bundles waren auf dem neuesten Stand aktualisiert.
Sollte ich wegen oben stehenden Meldungen ""Invalid repository data in /var/www/clients/client3/web356/web/web/v1/vendor/composer/installed.json," noch irgendwas unternehmen bzw. wenn ja was?
Viele Grüße,
conter
Lesezeichen