What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.0.17 What app is this about: GoToSocial
Describe your issue
Hi,
I tried the GTS package, and it works fine out of the box. However, when using the administration panel in Ynh, when I change some config and save (any config really it seems, at least I tried 2 times with different config and the 2nd was basic stuffs like lang and character number), it crash my instance with little meaning in the error messages. (on the browser it throw a 502 error).
My problem is that there is a warning in the start of the file :
# ⚠️ IMPORTANT WARNING: do NOT edit this config file by hand,
# else your modifications will be ERASED at each update of the GTS package!
# Instead, use the config panel in your web admin interface:
# Applications ➡️ GoToSocial ➡️ Config panel ➡️ do your config edit ➡️ Save
# Most of the relevant settings are available in the config panel, if you're
# missing one, open an issue: https://github.com/YunoHost-Apps/gotosocial_ynh/issues
So I was asking if there was a way to keep the changes even after an upgrade ^^’
I don’t know… Some settings, like languages, persist after an update, but others disappear and revert to their default values…
Modifications made via the config panel also seem to be copied into the settings.yml file…
Overall, the behavior is quite confusing.
There seems to be a bug in the way the config panel handles the list of languages. You may tweak the file manually (it’s on line 322), follow the format : instance-languages: ["fr", "en-gb"] for example.