Open sdfoersn490 opened 1 month ago
Looks like this happened during testing too: https://github.com/YunoHost-Apps/mastodon_ynh/pull/449#issuecomment-1987234420
Same issue here. :-/
Same here. I am happy that it seems a solution is on the way https://github.com/YunoHost-Apps/mastodon_ynh/pull/449#pullrequestreview-2080867406 - thank you guys!
Same issue here, but it is inconsistent between browsers where I've been logged in prior to the upgrade. On some I get the UI but without any working icons. On some I get the screen shown above and can't even log in. Using Mastodon via Apps works. Seems like some style or template stuff isn't working.
Is there any quick fix for this? :/
Same here. Hope there will be a quick fix. Thx!
Same here. No solution for over one month???
Refused to execute script from 'https://.../packs/js/common-b94cebf75788414c0723.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. (same for other js- an css-files)
same here too,
i tried yunohost app upgrade -F mastodon
but no change
I have no way to test or reproduce here, but if any of the above have the possibility to check whether upgrading to the testing 4.2.9 release via
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/testing --debug
would solve this, and report back, that would maybe speed up merging that version into main and hopefully solve this problem.
Hi @panomaki,
I upgraded to the test branch, but unfortunately this doesn't solve the issue :/
The update went through without an error message, but the error still occurs (as with @sdfoersn490).
A new Mastodon installation (on the same server) is not affected by the error and runs without any problems. So something must have gone wrong with the last update.
Thanks for trying. It looks similar to #341, so it'd be interesting to see what
ls -lah /var/www/mastodon/live/public/packs/css/
shows. If it looks like mentioned in this comment (https://github.com/YunoHost-Apps/mastodon_ynh/issues/341#issuecomment-1294011231), an option could be to recompile the assets:
cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=$PATH:/opt/rbenv/versions/mastodon/bin bin/bundle exec rails assets:precompile
(If the permissions look differently, so not owned by mastodon:www-data, fix that first)
ls -lah /var/www/mastodon/live/public/packs/css/
total 548K
drwxr-x--- 2 mastodon www-data 4.0K May 29 00:35 .
drwxr-x--- 6 mastodon www-data 4.0K May 29 00:35 ..
-rw-r----- 1 mastodon www-data 5.6K Feb 26 18:38 common-a729b6b0.css.br
-rw-r----- 1 mastodon www-data 7.1K Feb 26 18:38 common-a729b6b0.css.map.br
-rw-r----- 1 mastodon www-data 42K Feb 26 18:38 contrast-ffdc2fd9.chunk.css.br
-rw-r----- 1 mastodon www-data 99K Feb 26 18:38 contrast-ffdc2fd9.chunk.css.map.br
-rw-r----- 1 mastodon www-data 42K Feb 26 18:38 default-df299a32.chunk.css.br
-rw-r----- 1 mastodon www-data 73K Feb 26 18:38 default-df299a32.chunk.css.gz
-rw-r----- 1 mastodon www-data 98K Feb 26 18:38 default-df299a32.chunk.css.map.br
-rw-r----- 1 mastodon www-data 2.1K Feb 26 18:38 mailer-47e61cac.chunk.css.br
-rw-r----- 1 mastodon www-data 2.4K Feb 26 18:38 mailer-47e61cac.chunk.css.gz
-rw-r----- 1 mastodon www-data 3.8K Feb 26 18:38 mailer-47e61cac.chunk.css.map.br
-rw-r----- 1 mastodon www-data 43K Feb 26 18:38 mastodon-light-7cb52d19.chunk.css.br
-rw-r----- 1 mastodon www-data 102K Feb 26 18:38 mastodon-light-7cb52d19.chunk.css.map.br
sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/bundle exec rails assets:precompile
leads to:
sh: 1: node: not found
sh: 1: nodejs: not found
Node.js not installed. Please download and install Node.js https://nodejs.org/en/download/
Exiting!
same as mentioned here
but node -v says: v20.15.0
root@krashboyz:~# ls -lah /var/www/mastodon/live/public/packs/css/
total 448K
drwxrwx---+ 2 mastodon www-data 4.0K May 29 14:28 .
drwxrwx---+ 6 mastodon www-data 4.0K May 29 14:28 ..
-rw-rw----+ 1 mastodon www-data 42K Mar 12 00:39 contrast-ffdc2fd9.chunk.css.br
-rw-rw----+ 1 mastodon www-data 99K Mar 12 00:39 contrast-ffdc2fd9.chunk.css.map.br
-rw-rw----+ 1 mastodon www-data 42K Mar 12 00:39 default-df299a32.chunk.css.br
-rw-rw----+ 1 mastodon www-data 98K Mar 12 00:39 default-df299a32.chunk.css.map.br
-rw-rw----+ 1 mastodon www-data 3.8K Mar 12 00:39 mailer-47e61cac.chunk.css.map.br
-rw-rw----+ 1 mastodon www-data 43K Mar 12 00:39 mastodon-light-7cb52d19.chunk.css.br
-rw-rw----+ 1 mastodon www-data 102K Mar 12 00:39 mastodon-light-7cb52d19.chunk.css.map.br
root@krashboyz:~# cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=$PATH:/opt/rbenv/versions/mastodon/bin bin/bundle exec rails assets:precompile
rbenv: version `3.2.3' is not installed (set by /var/www/mastodon/live/.ruby-version)
EDIT: (but i'm not on testing branch)
link to #429
Describe the bug
Hi guys, I can't use the web UI anymore after upgrading to 4.2.8~ynh2
Context
Steps to reproduce
*If you performed a command from the CLI, the command itself is enough.
sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug
*If the error occurs in your browser, explain what you did: All I see is this:
Expected behavior
LDAP Login or Timeline view Note: Access via Apps like IceCubes is still working fine
Logs
No Errors in logs: https://paste.yunohost.org/raw/fatuzapola
How can I fix this?