You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the GitHub search to find a similar issue and didn't find it.
I searched the Mealie documentation, with the integrated search.
I already read the docs and didn't find an answer.
What is the issue you are experiencing?
I am in the process of switching from Mealie Alpha to Mealie Beta and am importing 750 recipes. I noticed it essentially stalled out when importing those recipes. I went through and noticed that there were more folders in my Mealie Alpha backup than actual recipes. It looks like, at some point I renamed some of my recipes in Mealie Alpha, which caused the recipe.json files to be removed but the images and assets were never removed from the folder. When I deleted all of these from the backup.zip and then re-uploaded it into Mealie Beta the migration immediately was successful. I don't know if it makes more sense to fix it in Mealie Alpha or to just handle the error case of a recipe folder missing a *.json folder (and thus skipping it)?
Here is an example of the original recipe folder (it still has the images but not json file):
Here is an example of that recipe that was renamed (the images are the same and it has all the json file):
I am marking this as a V1/Beta bug although technically I think there is a bug in both. Alpha should not leave old assets around for renamed recipes and Beta should probably not freak out if it has an import with bad/missing data.
Deployment
Other
Deployment Details
Docker Mac with Trafiek container proxy
The text was updated successfully, but these errors were encountered:
nkringle
changed the title
[v1.0.0b] - Mealie Alpha Import fails/times out when a folder is missing a .json file.
[v1.0.0b] - Mealie Alpha Import fails/times out when a folder is missing a .json file
May 1, 2022
I discovered the data bug during the v1 development and resolved it as apart of the rewrite so purging of directories should be handled. Additionally, there are some cleanup functions that can be run in the Maintenance Page on the admin section of the site to clean up some of those directories if they do happen to cary over.
Since it's mostly resolved I'm going to leave the bug in 0.5.4 since it's already addressed in V1 and the migration should take care of the error as well.
First Check
What is the issue you are experiencing?
I am in the process of switching from Mealie Alpha to Mealie Beta and am importing 750 recipes. I noticed it essentially stalled out when importing those recipes. I went through and noticed that there were more folders in my Mealie Alpha backup than actual recipes. It looks like, at some point I renamed some of my recipes in Mealie Alpha, which caused the recipe.json files to be removed but the images and assets were never removed from the folder. When I deleted all of these from the backup.zip and then re-uploaded it into Mealie Beta the migration immediately was successful. I don't know if it makes more sense to fix it in Mealie Alpha or to just handle the error case of a recipe folder missing a *.json folder (and thus skipping it)?
Here is an example of the original recipe folder (it still has the images but not json file):
Here is an example of that recipe that was renamed (the images are the same and it has all the json file):
I am marking this as a V1/Beta bug although technically I think there is a bug in both. Alpha should not leave old assets around for renamed recipes and Beta should probably not freak out if it has an import with bad/missing data.
Deployment
Other
Deployment Details
Docker Mac with Trafiek container proxy
The text was updated successfully, but these errors were encountered: