[Solved] Erreur 500 sur "PUT" /yunohost/api/update/all

Alors que j’essaye de faire une mise à jour, j’ai un message d’erreur auquel je ne comprends rien.
NB: je n’ai accès qu’à la console web de Yunohost (je suis trop peu compétent pour les lignes de commandes)
Une solution?

YunoHost a rencontré une erreur interne
Vraiment désolé de cela.
Vous devez chercher de l'aide sur le forum ou le chat pour corriger la situation, ou signaler le bug sur le bugtracker.
Les informations suivantes peuvent être utiles à la personne qui vous aide :

Erreur: "500" Internal Server Error

Action: "PUT" /yunohost/api/update/all

Message d'erreur :
Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian). Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ bullseye stable
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main

Pendant le traitement de l'action, le serveur a dit :
Récupération des mises à jour disponibles pour les paquets du système...
E: Release file for http://asi-fs-d.contabo.net/debian/dists/bullseye-updates/InRelease is expired (invalid since 3h 58min 39s). Updates for this repository will not be applied.


Uuuuh ça ressemble à un problème sur le mirroir Debian utilisé par ton serveur … naivement je me dis que ton serveur est un VPS et que le mirroir utilisé est celui géré par ton fournisseur de VPS, mais qu’ils ne maintiennent pas bien leur miroir …

Dans le message on voit que le problème semble récent (is expired (invalid since 3h 58min 39s)) donc peut-être que le temps que leurs clients qui ont aussi des VPS leur parle du problème, peut-être qu’ils vont le résoudre dans les heures qui viennent …

Merci beaucoup pour cette réponse rapide. J’attends un peu, puis je mettrai résolu ou viendrai avec d’autres éléments

Ca n’a pas l’air de se régler.
J’ai reçu in mail d’erreur qui dit
Release file for http://asi-fs-d.contabo.net/debian/dists/bullseye-updates/InRelease is expired (invalid since 1d 3h 43min 48s). Updates for this repository will not be applied.
Et quand j’essaye l’update, j’ai toujours le même style d’erreur

YunoHost a rencontré une erreur interne
Vraiment désolé de cela.
Vous devez chercher de l'aide sur le forum ou le chat pour corriger la situation, ou signaler le bug sur le bugtracker.
Les informations suivantes peuvent être utiles à la personne qui vous aide :

Erreur: "500" Internal Server Error

Action: "PUT" /yunohost/api/update/all

Message d'erreur :
Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian). Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ bullseye stable
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main

Pendant le traitement de l'action, le serveur a dit :
Récupération des mises à jour disponibles pour les paquets du système...
E: Release file for http://asi-fs-d.contabo.net/debian/dists/bullseye-updates/InRelease is expired (invalid since 1d 5h 7min 59s). Updates for this repository will not be applied.

Hello,

first of all: sorry, I do not speak French, that’s why I write in English. I have the same problem as you, and I came across this forum post during a search.

You also use a VPS with Contabo, just like me. And since yesterday I have the same error message. I also wrote to Contabo’s support yesterday about this, as I suspected the error was with Contabo.

The answer from support was not very helpful - they first wanted to have the credentials to my server to investigate the problem more closely. Since my assumption was that it is the mirror server of Contabo for the Debian package sources (sources.list), I changed the package sources to debian.org without further ado - the error is gone.

Your sources.list (/etc/apt/sources.list) should now look like this:

# deb http://asi-fs-d.contabo.net/debian bullseye main

deb http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
deb-src http://asi-fs-d.contabo.net/debian bullseye main non-free contrib

deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

# bullseye-updates, previously known as 'volatile'
deb http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
deb-src http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
## These are official Contabo mirrors providing faster updates for your server ##
## (the files from the official servers are synced to it) ##

I changed it as follows:

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

You write that you don’t trust yourself to use the command line - unfortunately I can’t tell you how to change the package sources via the web interface. But maybe another forum user can help here?

I will also report the bug to Contabo, maybe they will fix their mirrors in time.

2 Likes

Thank you very much to light the problem. I hope somebody else could help me with a way to solve the problem via the web interface. I’ll also write to Contabo

Something else which maybe has nothing to do. The last update of Yunohost put it on Debian 11 but my contabo VPS control panel still indicate OS: Debian 10 (64 Bit)

Yeah that’s probably because it’s not easy for Contabo to find out that your VPS is now on Debian 11, because they can’t really (or at least they are not supposed to ) access your server and check what OS is running in there

Just like your landlord is not supposed to randomly enter your flat to checkout if you upgraded the furniture :stuck_out_tongue_winking_eye:

So all your VPS interface displays is the initial OS that was installed

The support of Contabo ask me my credential and so. After that I’ve answered that the problem is on their side (mirroring) and that someone else got the same problem, they said that they sending my question at the “technical support” :frowning:
I’m waiting…

1 Like

Yesterday I received further feedback from support:

we are working on the problem, a sync that was supposed to start did not run
and is currently updating.

I think the problem should be solved soon.

1 Like

Maybe you’ve a ticket number that I may refer to them because I’m still without any answer and now it’s invalid since 4d 3h 52min 55s :frowning:

Ah, of course. You can refer to Ticket#2022091010014962.

They finally solve the problem. Thanks

Last update from me on this matter: I have changed the sources.list back to the Contabo sources and no longer get an error message when updating.

So the error seems to have been fixed by Contabo.

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