Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config customization lost after upgrade #25

Open
bugsysop opened this issue Mar 13, 2023 · 6 comments
Open

Config customization lost after upgrade #25

bugsysop opened this issue Mar 13, 2023 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@bugsysop
Copy link
Collaborator

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.

@lapineige
Copy link
Member

Strangely, I did not have any default frontend (Mangane) change after the upgrade 🤔

bugsysop added a commit to bugsysop/akkoma_ynh that referenced this issue Mar 15, 2023
@bugsysop
Copy link
Collaborator Author

Solved by 71cd0b7

@twizzayy
Copy link
Contributor

twizzayy commented May 28, 2023

This still occurred for me. Moving from 3.7.1 to 3.9.3.

I configure my instance from the config.exs file. So configs, emojis, statuses, and uploads persist. But all theming is lost after an upgrade.

@lapineige
Copy link
Member

Are the time located in /home/yunohost.app/akkoma still there ?

@lapineige lapineige reopened this May 28, 2023
@twizzayy
Copy link
Contributor

twizzayy commented May 29, 2023

My custom theme was removed from

/home/yunohost.app/akkoma after upgrade.

FWIW this has been an ongoing issue with pleroma_ynh for a while now too.

I just keep backups of the important files handy and rebuild the theme after each update.

@lapineige
Copy link
Member

Too bad, I was thinking we fixed this…

@lapineige lapineige added bug Something isn't working help wanted Extra attention is needed labels May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants