Open gschmidl opened 1 day ago
Hi,
They use the new HA logic that allows for config files to be backuped with addon.
Previous logic :
New logic :
Migration is done automatically, and previous files are still accessible at their previous place but a text file "migrated" was added to show that they were migrated and won't be used again. The DATA_DIR variable is changed from the default of "/config/addons_config/mealie_data" to "/config". If it was manually changed from the default, it should be changed manually also.
Normally, those erroneous "/addons_config" folders in /config should have been deleted, but I implemented a safeguard here : https://github.com/alexbelgium/hassio-addons/blob/f7217b17fd00d9a7cb2760902f57a94aa638908d/mealie/rootfs/run.txt#L53-L55
Guess I will remove the safeguard for people who don't use sqlite
Yeah, I saw this, but something copied it to /config directly, as seen in the screenshot. Possibly the first beta of 2.0, since trying to export a backup from Mealie using that version, I got a complete copy of the /config directory.
edit to add: nor did I see a "migrated" text file.
Description
I upgraded to the latest v2.0-beta4 via v2.0-beta2 and now it looks like almost all the Mealie files are directly in /config:
They're also in addon_configs as the changelog states, but I don't know how they got to /config. Can I delete them?
Reproduction steps
Addon Logs
Architecture
armv7
OS
HAos