Error while recovering Mastodon from backup: The repository 'https://dl.yarnpkg.com/debian 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:

https://paste.yunohost.org/raw/udatuwaled

I think the crucial part is:

Reading package lists...
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.

I ran curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | 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.

2 Likes

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