Error while recovering Mastodon from backup: The repository ' stable InRelease' is not signed

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.1.18
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: Mastodon 3.3.0~ynh1

Description of my issue

Upgrade of Mastodon failed, and it wasn’t restored. Here’s the log for the failed recovery:

I think the crucial part is:

Reading package lists...
W: GPG error: stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <>
E: The repository ' stable InRelease' is not signed.

I ran curl -sS | sudo apt-key add - as mentioned here and will report if that helped.

1 Like

Running the command mentioned above did help solve this issue and restore Mastodon. Later on I’ll see if this helps with the upgrade, as well.


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