YunoHost-Apps / akkoma_ynh

Social media based on ActivityPub, fork of Pleroma
https://akkoma.social/
GNU Affero General Public License v3.0
15 stars 6 forks source link

Errors with Admin FE #11

Closed bugsysop closed 1 year ago

bugsysop commented 1 year ago

At login:

Request failed with status code 500 - [object Object]

If I want to install a frontend (SB):

Request failed with status code 500 - [object Object]

Installed Fedibird FE but no way to activate...

lapineige commented 1 year ago

I had the same issue.

According to service akkoma status, seems to be related to a syntax error (??) in the /etc/akkoma/config.exs file, with this line: config :akkoma, Akkoma.Web.Auth.Authenticator, Akkoma.Web.Auth.LDAPAuthenticator

I commented it, it works. I don't understand what's the issue, Pleroma has the exact same line.

Can you try too ?

Meanwhile, you can setup your "primary" frontend in this config file… oh wait because of the error you probably can't.

bugsysop commented 1 year ago
Pleroma.Web.Auth.Authenticator

See here: https://docs.akkoma.dev/stable/configuration/cheatsheet/#pleromawebauthauthenticator

lapineige commented 1 year ago

Well, I still don't get where there should be any syntax error. Unless there could be only one of the two options, but then who doesn't it fail on Pleroma_ynh ?

bugsysop commented 1 year ago

It’s Pleroma not Akkoma... if I understand the documentation

Try to replace Akkoma.Web.Auth.Authenticator with Pleroma.Web.Auth.Authenticator