Mastodon-sidekiq and mastodon-web failed to start

My YunoHost server

Hardware: VPS bought online
YunoHost version:
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Since the last update of Mastodon, both mastodon-sidekiq and mastodon-web no longer start. I have tried several times to restart both services. Restarting the VM did not help either. When restarting sidekiq, I get the following error: hastebin
When I try to restart mastodon-web, the following error occurs: hastebin

For the sake of simplicity, I have copied the logs from the web interface. The same thing happens via SSH. Does anyone have an idea how I can fix this error?

A new version with a fix for this bug is on the road:Upgrade to 3.5.3~ynh2 failed · Issue #332 · YunoHost-Apps/mastodon_ynh · GitHub

You can apply it manually if you want or simply wait automatic tests and publication.

Hello @ljf, Thank you for pointing this out. I will read through the ticket thread. Maybe the tips from it will help.