Closed fflorent closed 2 years ago
same here... thank you for opening that issue...
OK, I will look at that
I encounter similar issue with 3.3.0~ynh4
and tried your commands but got several issues.
First, the ruby version available in the system doesn't match the .ruby-version
Tried this instead:
$ RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/rails assets:precompile
But then I got errors about not having yarn nor node installed >.< Any idea how to proceed ?
Feel free to reopen this issue if needed
Describe the bug
After an upgrade from version
3.3.0~ynh1
to version3.3.0~ynh2
, the pages looked unstyled.Context
3.3.0~ynh1
to3.3.0~ynh2
The yaml of the upgrade (which succeeded):
Workaround
In the logs, I found that some styles were removed:
The workaround I found consisted in removing the
/var/www/mastodon/live/public/packs
folder and then runRAILS_ENV=production bin/rails assets:precompile
as suggested in the troubleshooting.Thanks for your work :pray:. I am a bit in a hurry, don't hesitate to ask me further details and/or to follow more accurately your template! Cheers!