YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 34 forks source link

Upgrade to 3.5.3~ynh2 seems to have broken hashtags and bookmarks #333

Closed Zeitverschreib closed 2 years ago

Zeitverschreib commented 2 years ago

Since the upgrade to 3.5.3 ynh2, I keep getting error messages when

a) trying to open my list of bookmarks b) clicking on hashtags in post

"Etwas ist beim Laden schiefgelaufen." in the right section.

"Hoppla!Ein unerwarteter Fehler ist aufgetreten." as banner in the bottom left of the page.

Zeitverschreib commented 2 years ago

The problem is still there, but in the mean time I found out that it seems to be browser related.

On Safari, Edge and Fennec (Android), css and javascript does not work/load. On Chromium (Linux( and Chrome (Windows 10), the site loads correctly, bookmarks and tags work.

Has there been any change in browser detection?

Zeitverschreib commented 2 years ago

I just updated to yhn3, still the same problem.

Just an example, loading the sign-in page in Chromium as standard tab and incognito gives to different layouts:

image

image

In Chromium standard tab, the whole site works. In Firefox standard tab, following hashtags and/or going to bookmarks gives an error.

image

binarydad commented 2 years ago

I've noticed I'm getting a lot of 404 from static assets.

https://paste.yunohost.org/emilerazud

binarydad commented 2 years ago

Well, I WAS having 404 issues just now, but running sudo yunohost app upgrade mastodon -F to force reinstall worked. In looking at your 2nd screenshot, it looks like a CSS link wasn't loading, resulting in the huge/unstyled logo. Not sure if related though to the original issue.

Zeitverschreib commented 2 years ago

The -F solved the problem, everything seems to be working again. I tested in Firefox, Chromium and LibreWolf.

Thanks for your help.