Misskey fails to upgrade on Bullseye

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.0.7 (testing).
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 yes, please explain:

Description of my issue

Misskey fails to upgrade to 12.117.1 on YunoHost 11

[Here are some error messages](https://paste.yunohost.org/raw/toyoxafeci)
https://hastebin.com/biheworotu.yaml

Here is what I think is the error missage :

2022-08-05 01:15:07,555: DEBUG - + sudo -u misskey env PATH=/opt/node_n/n/versions/node/16.15.0/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn cleanall
2022-08-05 01:15:09,395: DEBUG - e[31me[1mInternal Errore[22me[39m: misskey@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
2022-08-05 01:15:09,396: DEBUG -     at TR.getCandidates (/var/www/misskey/.yarn/releases/yarn-3.2.2.cjs:435:5226)
2022-08-05 01:15:09,396: DEBUG -     at wd.getCandidates (/var/www/misskey/.yarn/releases/yarn-3.2.2.cjs:391:1281)
2022-08-05 01:15:09,397: DEBUG -     at /var/www/misskey/.yarn/releases/yarn-3.2.2.cjs:439:7764
2022-08-05 01:15:09,397: DEBUG -     at Lg (/var/www/misskey/.yarn/releases/yarn-3.2.2.cjs:390:11154)
2022-08-05 01:15:09,397: DEBUG -     at ce (/var/www/misskey/.yarn/releases/yarn-3.2.2.cjs:439:7744)
2022-08-05 01:15:09,493: DEBUG - + ynh_exit_properly
2022-08-05 01:15:09,997: DEBUG - + ynh_clean_setup
2022-08-05 01:15:09,998: DEBUG - + ynh_clean_check_starting
2022-08-05 01:15:09,998: DEBUG - + '[' -n '' ']'
2022-08-05 01:15:09,998: DEBUG - + '[' -n '' ']'
2022-08-05 01:15:09,998: DEBUG - + ynh_restore_upgradebackup
2022-08-05 01:15:09,999: DEBUG - + ynh_print_err '--message=Upgrade failed.'
2022-08-05 01:15:10,018: DEBUG - + ynh_print_log '[Error] Upgrade failed.'
2022-08-05 01:15:10,019: DEBUG - + echo -e '[Error] Upgrade failed.'

I know nothing about yarn or misskey but it might speed up some help :person_shrugging:

I have tried to run yarn install to update the lock file but it doesn’t work

I have also just tried upgrading a fresh install but it has also failed. Is there any help?