YunoHost-Apps / searx_ynh

Searx package for YunoHost
https://searx.github.io/searx/
GNU General Public License v3.0
20 stars 18 forks source link

Feature request/Question/Bug: Reset to default settings after upgrade #86

Closed AkselRocks closed 3 years ago

AkselRocks commented 3 years ago

Describe the bug

after upgrade custom settings in settings.yaml are lost/not active. update Warning: File /opt/yunohost/searx/searx/settings.yml has been manually modified since the installation or last upgrade. So it has been duplicated in /home/yunohost.conf/backup//opt/yunohost/searx/searx/settings.yml.backup.20210515.075327

Context

Steps to reproduce

(Expected) Desired behavior

custom changes in settings stay available after upgrade.

Suggestion (if possible): Include a custom.yaml file in settings.yaml, which overwrites the default settings, but is not touched during upgrade.

Logs

File /opt/yunohost/searx/searx/settings.yml has been manually modified since the installation or last upgrade. So it has been duplicated in /home/yunohost.conf/backup//opt/yunohost/searx/searx/settings.yml.backup.20210515.075327

tio-trom commented 3 years ago

100% agree. I always have to manually redo all settings after an upgrade.

ericgaspar commented 3 years ago

closing with #91