Pleroma web interface error

What app is this about, and its version: Pleroma 2.10.2~ynh2
What YunoHost version are you running: 12.1.40.1
What type of hardware are you using: Other(?)

Describe your issue

Hardware: Kimsufi, dedicated, online.

Since a few days, my main page on Pleroma reports:

Syntax error: an invalid or illegal string was specified

and then an obscur list of JS files, in which I didn’t find anything abnormal, but not being a JS expert and the files being minimized, I can’t really tell.

See below (domain name replaced by domain.ext).

Pleroma works on other clients. The issue seems to be only its web interface.

Any idea what it could be and how to fix it?

Thanks!

Share relevant logs or error messages

X0</document.adoptedStyleSheets</<@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:88:31195
X0</document.adoptedStyleSheets<@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:88:31182
X0<@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:88:31133
st@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:35:12145
mt@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:35:12203
Vs@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:35:12640
onEagerFinished@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:88:32617
lx@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:88:31685
ux@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:88:32540
applyTheme@https://pleroma.domain.ext/static/js/main.qxCxIqDs.js:93:106417

Hi @matlag

This is a known compatibility issue with firefox 153 (and with its forks). You can try using other browsers while waiting for the new pleroma release which will fix this ‘bug’.

Taking a look to that, for what i read this is fixed in FE (Front End) but FE is not yet updated in pleroma server package (BE).
I didn’t yet dig deeper enough FE integration in yunohost package to see if another front end can be installed.

@otm33 did already create an issue for future fix in yunohost package : Frontend incompatibility with Firefox 153 · Issue #313 · YunoHost-Apps/pleroma_ynh · GitHub

Using alternative frontends through AdminFE seems possible even if not that obvious.

so it is possible to use a newer pleromaFE thatn this embeded in yunohost package.

Accessing adminFE is done by using pleroma domain with relative url /pleroma/admin and with a user with admin rights.

There is some documentation

download might not work since code use older templates that are not valid anymore since forgejo migration and that are in newer version not yet plublic then i used this on yunohost

template is https://git.pleroma.social/api/packages/pleroma/generic/pleroma-fe-builds/${ref}/latest.zip

and ref is develop

so manual process is this one ( adapted , please check might be buggy ).

ssh to yunohost with a adminstrator account ( one that can sudo )

sudo yunohost app shell pleroma
cd /home/yunohost.app/pleroma/
mkdir static/frontends
curl -OJ https://git.pleroma.social/api/packages/pleroma/generic/pleroma-fe-builds/develop/latest.zip
unzip latest.zip
mkdir -p static/frontends/pleroma-fe/develop
mv dist/ static/frontends/pleroma-fe/develop

now from adminFE you can fill in Settings Frontends / Primary name with pleroma-fe and reference with develop and save

this should activate new frontend ( backend 7e8f63c )

when using frontend About menu you should see at the end a Version panel :