Skip to content
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

Mealie 1.0 Importer #2456

Open
vabene1111 opened this issue May 4, 2023 · 17 comments
Open

Mealie 1.0 Importer #2456

vabene1111 opened this issue May 4, 2023 · 17 comments
Labels
enhancement New feature or request [feat] App Import application importers
Milestone

Comments

@vabene1111
Copy link
Collaborator

Mealie 1.0 changed the export format significantly.

Sadly the format is different to that of most other recipe managers thus the importer needs some major architectural overhauling.

Feel free to vote on this issue if having a 1.0 importer would be interesting for you.

@vabene1111 vabene1111 added enhancement New feature or request [feat] App Import application importers labels May 4, 2023
@vabene1111 vabene1111 added this to the 1.5.0 milestone May 4, 2023
@rursache
Copy link

Please update the documentation stating that mealie importer is currently not working, I didn't knew why the importer would import 0 items

@blackdiamondsoftware
Copy link

Please update the documentation stating that mealie importer is currently not working, I didn't knew why the importer would import 0 items

Agreed, the status should be marked not working

@skyeskie
Copy link

At least partial workaround:

(from Admin account in Mealie - didn't test non-Admin)

  1. Click on name for account dashboard
  2. Click Manage Data (towards bottom)
  3. Switch dropdown from Foods to Recipes
  4. Click Export All (bottom right of table)
  5. Download file from Data Exports list (bottom)
  6. (in Tandoor) Import as Mealie

Haven't done a thorough look yet, but seems to working.

@vabene1111
Copy link
Collaborator Author

oh thats cool, we need to add that to the docs so that people find it.

@langerdennis
Copy link

Semi-successfully performed the import above - worked for all recipes where I did not use Mealie's scaling feature. For recipes where I had enabled the feature within Mealie before no ingredients can be imported (because they are in custom Mealie 1.0 format).

@vabene1111
Copy link
Collaborator Author

thanks for the feedback. Can someone send me some example data of a mixed mealie database ?

@langerdennis
Copy link

langerdennis commented Jun 19, 2023

Hi, I have exported 2 recipes (German). "Seehecht" is with quantities for scaling, "Satésauce" is with flat ingredients.
Edit: If you don't want to download my zip file let me know, I can alternatively post the content of the json files.

e38f7937-348d-4958-be4e-6f86f33c74a7.zip

@vabene1111
Copy link
Collaborator Author

perfect, thank you. i can download the file, will take a look

@codefaux
Copy link

Hey, here's a fun one -- I don't have a Manage Data button on my Admin (or any) user on Mealie. I've been looking for ages. There's no way to do a backup or export the full site. I'm using Mealie v0.5.6

I cannot get any exported zip from Mealie to load, I cannot get Tandoor to import from Mealie instance (API error Bad Request: /api/recipe-from-source/ ) so there's zero way for me to easily transfer recipes from Mealie to Tandoor. Is this considered the same issue, or should I be starting my own?

@skyeskie
Copy link

Hey, here's a fun one -- I don't have a Manage Data button on my Admin (or any) user on Mealie. I've been looking for ages. There's no way to do a backup or export the full site. I'm using Mealie v0.5.6

I cannot get any exported zip from Mealie to load, I cannot get Tandoor to import from Mealie instance (API error Bad Request: /api/recipe-from-source/ ) so there's zero way for me to easily transfer recipes from Mealie to Tandoor. Is this considered the same issue, or should I be starting my own?

The instructions above are for the 1.0-beta line of Mealie. It's a different process for the 0.5x version. Here are the docs (link probably only valid until 1.0 released, whenever that is). Any other problems on the export step are probably best directed to the mealie repository

@codefaux
Copy link

As it turns out, both I'm a blind fool and also the documentation is ... Misleading and incorrect. I've also been told the are two documentation sites for Mealie, and one only applies to the new version. And neither of them say which they're for on the page, you kinda have to notice the contents of the URL.

On Mealie v0.5.x there's a backup option in the Admin user's Dashboard page. Using that backup option, I was able to import everything appropriately into Tandoor. All of the recipes imported as well as can be expected.

Apologies for the false alarm.

@vabene1111
Copy link
Collaborator Author

No worries, it's quite confusing. Gebereally everything pre 1.0 imports very well, everything after not so much as described here.

@timdonovanuk
Copy link

At least partial workaround:

(from Admin account in Mealie - didn't test non-Admin)

  1. Click on name for account dashboard
  2. Click Manage Data (towards bottom)
  3. Switch dropdown from Foods to Recipes
  4. Click Export All (bottom right of table)
  5. Download file from Data Exports list (bottom)
  6. (in Tandoor) Import as Mealie

Haven't done a thorough look yet, but seems to working.

This worked in the latest Mealie, thanks for this!

The documentation still needs to be updated to say that Mealie 1.x imports don't work. 👀 Thanks!

@Kurisutian
Copy link

At least partial workaround:
(from Admin account in Mealie - didn't test non-Admin)

  1. Click on name for account dashboard
  2. Click Manage Data (towards bottom)
  3. Switch dropdown from Foods to Recipes
  4. Click Export All (bottom right of table)
  5. Download file from Data Exports list (bottom)
  6. (in Tandoor) Import as Mealie

Haven't done a thorough look yet, but seems to working.

This worked in the latest Mealie, thanks for this!

The documentation still needs to be updated to say that Mealie 1.x imports don't work. 👀 Thanks!

Are you sure it works? I did the same thing and while recipes were added none of them contained the list of ingredients but only the instructions.

@jsspen
Copy link

jsspen commented Jul 17, 2024

Running Mealie v1.10.2 here and can't get the backup zip to upload because it's "too big." Is there a way to manually pass the zip to Tandoor rather than uploading through browser? Tandoor has access to the same drive the zip is stored on.

@smilerz
Copy link
Collaborator

smilerz commented Jul 17, 2024

the size limit is set by your reverse proxy and can be changed,

@stusemple
Copy link

any updates on fixing the mealie import?
I love tandoor but need mealie for the openai integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request [feat] App Import application importers
Projects
None yet
Development

No branches or pull requests