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

Config customization lost after upgrade #243

Closed bugsysop closed 1 year ago

bugsysop commented 1 year ago

Problem:

When we upgrade Akkoma the configuration is reset to default: in fact we loose all custom parameters defined directly in Admin FE. Included the choice of a custom frontend.

This is in fact a dirty side effect of running migrate_to_db at every upgrade.

Solution:

Exec migrate_to_db only at install and not at upgrade.

See my PR here: 51b27193903e708c195c42316ac842ad764f8b19