Error 500 when running System update

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.11
How are you able to access your server: The webadmin
SSH

Describe your issue

I was trying to do a System update, but, when attempted, I’m met with this error Release file for http://asi-fs-d.contabo.net/debian/dists/bookworm-updates/InRelease is expired (invalid since 14h 16min 21s). Updates for this repository will not be applied..

It seems like it might be related to my VPS and I’ve already opened a ticket with them, but I was wondering if anyone has any idea what it could be? To check if I can debug it myself.

Share relevant logs or error messages

Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://asi-fs-d.contabo.net/debian bookworm main non-free non-free-firmware contrib
sources.list:deb-src http://asi-fs-d.contabo.net/debian bookworm main non-free non-free-firmware contrib
sources.list:deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb http://asi-fs-d.contabo.net/debian bookworm-updates main contrib non-free non-free-firmware
sources.list:deb-src http://asi-fs-d.contabo.net/debian bookworm-updates main contrib non-free non-free-firmware
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bookworm main
sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org/debian/ bookworm stable
sources.list.d/yarn.list:deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] https://dl.yarnpkg.com/debian/ stable main

Oh, well, they said they won’t help. :sweat_smile:
So, I hope someone here can.

Try commenting that line in your sources.list (and probably other lines with contabo). You may have to replace with debian sources

This is not the first time we’re having report of this, several user already reported issues with Contabo’s debian mirrors in the past … Not related to YunoHost …

I would discourage commenting the line though considering it’s the (mirror) source for debian package so that’s the main source of upgrades … You could configure a different mirror though

Would that be like changing the software source list mirror on my local machine?

I’ve been meaning to change Contabo for a while, but they are so cheap they make it hard to.

hello! same problem here with Contabo. How to fix it? Thx

I solved the issue doing as follows:

  1. sudo nano /etc/apt/sources.list
  2. commented the two lines containing bookworm-updates
  3. substituted the two lines with:
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  1. save and exit nano
  2. Then updated and upgraded:
# Fetch available updates
yunohost tools update

# Upgrade all system packages
yunohost tools upgrade system

# Upgrade all apps
yunohost tools upgrade apps
1 Like

I followed your same flow, however, instead of commenting out those lines, I substituted the mirrors with a different one from this list. I advise you do the same so your server can get updated.

I will eventually move away from Contabo (was looking at Gandi), but that’s a convo for another post.

1 Like