Closed Valve90210 closed 1 day ago
Hi, that's strange nothing changed why filebrowser. It has been stable for quite some time, as I blocked updates to an incompatibility of recent versions with ingress.
Could you please try to refresh your add-on repositories, uninstall and reinstall the add-on? If you're database was still v1 it should work and retake the link with your previous mealie folders in /homeassistant/addons_config/mealie_data
I experienced a similar problem this week. In my case it was because I have a postgres backend and mealie stopped reading environment variables correctly (#1558). It created a brand new default database and presented me with the new install screen.
Hi
Sorry for the delay in coming back to you, I've been crazy busy and not had a chance to look at this.
I went to the addons and noticed there was an update for Mealie, so I tried updating but got an error when trying to start the addon...
So I uninstalled and reinstalled mealie but when trying to start it I'm getting the same error as I was when I updated.
This is the log.
module = load_module_py(module_id, path)
File "
ERROR 2024-09-24T12:39:07 - Application startup failed. Exiting. for step in self._migrations_fn(heads, self): File "/opt/pysetup/.venv/lib/python3.10/site-packages/alembic/command.py", line 395, in upgrade return script._upgrade_revs(revision, rev) File "/opt/pysetup/.venv/lib/python3.10/site-packages/alembic/script/base.py", line 446, in _upgrade_revs with self._catch_revision_errors( File "/usr/local/lib/python3.10/contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "/opt/pysetup/.venv/lib/python3.10/site-packages/alembic/script/base.py", line 282, in _catch_revision_errors raise util.CommandError(resolution) from re alembic.util.exc.CommandError: Can't locate revision identified by 'feecc8ffb956'
ERROR 2024-09-24T12:39:07 - Application startup failed. Exiting. /etc/cont-init.d/00-banner.sh: executing
/etc/cont-init.d/00-global_var.sh: executing ALLOW_SIGNUP='true' DATA_DIR='/config/addons_config/mealie_data' PGID='1000' PUID='1000' certfile='fullchain.pem' keyfile='privkey.pem' ssl='false' Timezone set from Etc/UTC to Europe/London /etc/cont-init.d/01-config_yaml.sh: executing Setting permissions for the config.yaml directory
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
... no env variables found, exiting /etc/cont-init.d/01-custom_script.sh: executing Execute /homeassistant/addons_config/mealie/mealie.sh if existing Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation /etc/cont-init.d/31-nginx.sh: executing [12:39:16] INFO: Exporting variables ALLOW_SIGNUP=true DATA_DIR=/config/addons_config/mealie_data PGID=1000 PUID=1000 certfile=fullchain.pem keyfile=privkey.pem ssl=false [12:39:17] INFO: config.yaml found in /config/addons_config/mealie/config.yaml, exporting variables Permissions adapted [12:39:17] INFO: Starting nginx [12:39:17] INFO: Starting app
I have exatcly the same issue. Loginscreen says it seems to be my first login, and will not accept valid login info or password reset.
i solved this via completly uninstall, delete the files on HA (had some files in the config (homeassistant) folder and some in the /addon_config) then restart HA, reinstall Mealie, start Mealie one time (now the files located config (homeassistant), then replaced the files from a former backup - then everything is working again. Little tricky as i think some update change the file location and back again.
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.
Hopefully the new version should solve once and for all the issue as it is now on 2.0 beta
2.0 beta did not fix problem. Still same login screen. Seems like first login and will not accept login credentials. I have not tried to reinstall, but that seems to fix it?
I upgraded from v1.12.0-2 > v2.0-beta and got the same outcome. Had to restore backup.
I updated to the Beta 2 and it was working fine but just noticed it's updated to Beta 4 and this is happening again now.
Hi, only difference between beta 2 and beta 4 is where the config is stored. If you have an issue, it's perhaps because there were some erroneous files in /config already.
The solution : go in the Filebrowser addon, open the path /config/db21ed7f_mealie
, move everything there in a new folder named old
. Go then in the path /homeassistant/addons_config/mealie_data
and remove the file named migrated
.
Once you'll restart, it will see that the file named migrated
is not there and will perform again the migration to the new /config path.
Here is the explanation : 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.
The current status of the addon is expected to be final in terms of structure : all config should now be in the /config folder, which allows backup and is aligned with homeassistant best practices, and the database is migrated to 2.0
The only change I expect in near future is implementation of Ingress.
Thanks all for your patience! It was not easy, and I'm sorry for any data loss that you incurred (or the wrath of your significant other if some recipes were lost).
Just given your solution a go and I seem to be back up and running nicely, all my recipes are there an my log in details are working.
Really appreciate all the work you do on these addons!!
Thank you @alexbelgium!! I had a duplicate Mealie installation inside my original installation. All sorted now. Been looking forward to this version. Households feature is finally here!!
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.
Ingress is now implemented! Please let me know how that goes
Ingress is working very well and Mealie is still reading my config file correctly. Thanks for all the work you're putting into this!
Thanks very much! Glad it works, it should now be very stable
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
I've just tried to look on Mealie and was presented with the Login page with a message that it looks like my first time logging in.
Entered my user details and was told they were incorrect. I tried a second user I have setup and that failed too. I've tried resetting the password but can see in the log in HA that it thinks neither user exists.
Looking in File Editor in HA I can see there are two user folders in the "/homeassistant/addons_config/mealie_data" folder, along with folders for Backups, Groups and logs etc. Though none of them seem to have been written to since 9th August this year.
But I've also noticed a folder dated today called db21ed7f_mealie which doesn't show anything when I try to select it in File Editor.
I realised Filebrowser would probably be more useful to seeing what is in different folders etc but I'm having the exact same issue with the Filebrowser addon too...
Reproduction steps
Addon Logs
Architecture
No response
OS
No response