YunoHost-Apps / pleroma_ynh

Pleroma package for YunoHost: A free, federated social networking server built on open protocols.
https://pleroma.social/
GNU Affero General Public License v3.0
30 stars 11 forks source link

Admin configurations reverted after updating to 2.4.5 #227

Open twizzayy opened 1 year ago

twizzayy commented 1 year ago

After updating to 2.4.5 all of the configurations done in Adminf-FE have been reverted to the defaults. It looks like a fresh install.

I saw that my static directory location had changed. I moved everything to yunohost.app/pleroma/static and now I have my custom emojis and theme back but all of my block lists and MRF policies have been removed.

Reverting to the pre-updated version shockingly did not fix the issue. I am unsure if a new install from an older backup would fix but I am reluctant to try it. Are these files buried somewhere? Was there perhaps a change to the directory tree?

I am very confuzzled. Any help troubleshooting would be appreciated.

yalh76 commented 1 year ago

Where was located the configuration done in Adminf-FE ?

twizzayy commented 1 year ago

@yalh76

I am not sure since it seems to have been erased after updating. If I had to guess, I would think it would have been in /var/lib/Pleroma with all my other settings and static files.

yalh76 commented 1 year ago

maybe your issue comes from https://github.com/YunoHost-Apps/pleroma_ynh/issues/215

there should be a complete backup made just before the upgrade

twizzayy commented 1 year ago

@yalh76 This issue persisted after updating to version 2.5.0

There were some slight differences. My emoji and custom theme persisted through the update however all my settings made in Admin-FE were removed again.

MRF policies, global theming done in Admin panel i.e. setting background and logo are all still missing.

twizzayy commented 1 year ago

My current work around for this is to set config :pleroma, configurable_from_database: false in /etc/config.exs and then to configure the instance through that file and the static directory.

Using https://docs.pleroma.social as a reference.