Pleroma: config issues cause cascading bugs

My YunoHost server

Hardware: VPS
YunoHost version: 11.0.10.2
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

There are some errors with the install of Pleroma, mainly in the config.

First Issue:

In: Admin Interface > Settings > Instance:

Static dir

The current setting is: /var/lib/pleroma/static/

Which doesn’t exist on the server. This also causes issues with installing frontends (which still doesn’t work after the mod below) and will probably cause image upload issues as this dir doesn’t exist.

Fix, change to: /home/yunohost.app/pleroma/static

Second issue

In: Admin Interface > Settings > Other:

Runtime_dir: /var/lib/pleroma/modules

Doesn’t exist either.

Which dir should I use instead?

Hello,

I don’t if this can help, but Yunohost install of Pleroma is quite specific.
Here is the info I find in the source code of the YNH app…

Pleroma install:

/var/www/pleroma/live/

The static and upload directories:

/home/yunohost.app/pleroma/static
/home/yunohost.app/pleroma/uploads

The config file:
/etc/pleroma/config.exs

All customization of Pleroma goes in the static directory.

To create a custom panel

mkdir /home/yunohost.app/pleroma/static/instance/
touch /home/yunohost.app/pleroma/static/instance/panel.html
chown -r pleroma:pleroma /home/yunohost.app/pleroma/static/instance/

Note: if you have two Pleroma installed, the second one is pleroma__2 (user, groupe, directory)

Pleroma documentation

For modules I don’t know… maybe something like:

/home/yunohost.app/pleroma/modules

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.