Closed bcutter closed 11 months ago
By the way: what is this?
https://github.com/alexbelgium/hassio-addons/actions/runs/6989720755
After update to latest 2.23.0_7 the issue did not occur (for the first time).
Hi, thanks for the feedback. Indeed you were right the implementation of the /config was missing something, which meant that the database was recreated from scratch.
Glad that the correction I added to _7
worked as intended (cf changelog) : this version now fetches back your old config (untouched) and puts it in the right place to both reuse it and persist future settings changes.
Regarding the other elements you were mentioning :
... no config file, creating one from template. Please customize the file in /config/config.yaml before restarting.
: as mentioned in the log, this is not linked to the app itself but to a customization feature where you can inject ENV variables in my addons. This allows further customization beyond the addon options. Here is a wiki describing it : https://github.com/alexbelgium/hassio-addons/wiki/Add%E2%80%90ons-feature-:-add-env-variableshttps://github.com/alexbelgium/hassio-addons/blob/master/.github/workflows/on_issues.yml
. This allows showing on the Readme (and therefore to all users as the Readme is shown in the HA app), that an issue was identified and is being worked on. On your specific case, the workflow failed likely due to your usage of number that was not anticipated in the script. https://github.com/alexbelgium/hassio-addons/actions/runs/6989720755
. I'll therefore need to adapt it for text sanitization.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Description After updating from 2.23.0_reverted to 2.23.0_reverted2 everything is reset to default, like language settings or especially annoying login password for admin (as visible in addon log data: admin/admin)
Expected behaviour Previous custom account data is preserved
What is happening instead? Default authentication is used and all other settings are reset too
Additional context Potentially because of the /config and /addon_config changes going on.
How to reproduce? Use 2.23.0_reverted. Update to 2.23.0_reverted2. Try to login with your former login data.
I had to manually reconfigure my settings on every update since
2.23.0_reverted2
. According to logs this is what happens:See more details at https://github.com/filebrowser/filebrowser/issues/2838 (wrong repository, this issue is heavily HA dependent and very likely the result of the recent
/config
/homeassistant
changes)Reproduction steps
Addon Logs
Architecture
No response
OS
HAos