-
-
Notifications
You must be signed in to change notification settings - Fork 812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Restoring backup from v1.0.0beta-5 to v1.2.0 - recipes didn't migrate properly #3218
Comments
Can you share your backup file? Based on that snippet of logs it looks like it's related to this: Did you delete a user at some point? |
I don't recall deleting a user. I'll post back after to confirm it that resolved the problem. |
Yup, that should fix it. I confirmed on my end using your backup The only other data is there's a cookbook with two invalid category ids. That won't prevent the cookbook from restoring, but those categories will be missing (since they don't exist). Most likely they were missing pre-backup anyway since they don't exist, so it shouldn't be an issue |
Confirmed - after manually updating every recipe to the current userId, all my recipes imported properly. Really appreciate your help @michael-genson . I'm sure it's been suggested before, to avoid similar issues in the use case where the userId doesn't exist on import, perhaps defaulting to current admin userId (or providing an option) would be a good feature to have. It wasn't too bad in my case to manually update my recipes, but I can imagine much more challenging for anyone with a much larger catalogue. |
Glad to hear!
Yup I think this is a great idea, I'll add a separate ticket for it related to #3171 |
First Check
What is the issue you are experiencing?
I installed a new container with v1.2.0. I then uploaded the backup I made on v1.0.0beta-5. After restoring the backup on v1.2.0, I can login and see only 1 recipe in the UI. All tags, categories, and cookbooks are visible. I can see the recipes inside /mealie/recipes folders ... but for whatever reason, only 1 recipe is shown via the web UI.
Steps to Reproduce
Please provide relevant logs
many more similar recipes follow ... and then
Note: 192.168.1.100 is my local Nginx Proxy Manager.
Mealie Version
v.1.2.0
Deployment
Docker (Linux)
Additional Deployment Details
The text was updated successfully, but these errors were encountered: