Can't Upgrade from 0.5.6 #1690
Replies: 3 comments 7 replies
-
I don't really know what any of this means. The only officially supported deployment option is docker-compose. Can you provide some more information on how you're deploying the containers, what env settings you've configured and the docker network configuration? Are you deploying both containers? What do you mean the server never comes up? Do you have any relevant log files? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! TrueNAS is a storage server distribution that supports Helm charts for deploying Docker images in Kubernetes. TrueCharts is a third-party repository of a ton of Docker images, including Mealie. The TrueNAS UI supports an upgrade function where the user only needs to select the version to deploy. The upgraded image is automatically downloaded and deployed. This is where I'm having problems. I attempted to upgrade a few days back, and when the container deployed the new version, I could not login. I suspected the problem was because they (TrueCharts) had changed some of the Helm chart options, and I moved to non-deprecated settings. But the containers never fully deploy, stuck in the deploying state, I think because the database conversion goes wrong. I managed to copy the backup zips out of the Mealie data storage, and thought I would just install the latest version from scratch, and then restore the backup from the Mealie UI. But this is where I first realized that Mealie only supports restoring backups made from the same version, so this wasn't goiing to work. Next I deployed a second Mealie instance using the old version (0.5.6) and successfully restored my backup. But attempts to upgrade this instance result in the container never deploying successfully. However, deploying a new instance with the same version is successful, so I can only assume that the database migration process from old to new, in the upgrade workflow, is causing a problem. If I rollback to the prior version of the instance it still works fine. Here is the log I see when deploying the old version (success):
And here is the database container log:
And then if I upgrade the container to the latest, this is the resulting very short log:
Meanwhile the api container on this version is not happy:
That looks like a database conversion problem. And here is the database container log:
This setup is complicated, and I don't have direct control over these Helm charts that TrueCharts is publishing. It may be that you can't get enough information from these logs to debug. I'm not sure. I think I will just keep the old instance running at the same time as the new instance, and just manually re-populate all of the recipes from the old to new, unless there is something obvious you see here that can help. I opened an issue with TrueCharts, in case it is related to their reworking of the helm chart needed to support the new Mealie version. Thanks for your time! |
Beta Was this translation helpful? Give feedback.
-
I also have a little problem. I would like to update from version 0.5.6. I'm using postgresql. i don't understand the instructions: https://nightly.mealie.io/documentation/getting-started/migrating-to-mealie-v1/ I can't find an export button in version 0.5.6. did I miss or misunderstand something? Old version has no export in the admin section. Please help me |
Beta Was this translation helpful? Give feedback.
-
Hi I'm on 0.5.6 but when I attempt to update to 1.0.0-beta4 the service never comes up. I am using TrueNAS with the TrueCharts deployment of Mealie; I don't have any intermediate versions to choose from.
I am open to trying to restore my backup into other intermediate versions to help the upgrade path if you think that is likely to help. Or I can provide my backup file.
Please advise on next steps for troubleshooting the upgrade, thanks!
Beta Was this translation helpful? Give feedback.
All reactions