Skip to content

Cannot Save to Disk

A message similar to the following appears in the command line to alert you:

Error: ERROR: could not save recipe to disk

Details

The Automation CLI provides the commands, kitchen-get and recipe-get, that allow you to retrieve kitchen or recipe files locally.

Potential causes

There may be several reasons why files cannot be retrieved locally, including:

  • The disk you are writing to does not have enough space.
  • You do not have adequate permissions to write to the folder.
  • There is a case sensitivity issue.

For example, a recipe contains a file called x.py and a file X.py.

Note that file case sensitivity is only an issue on a Windows operating system and not Linux.

Solution

  1. Verify there is enough local space to retrieve the kitchen details.
  2. Verify that you have adequate permissions to write to the local storage.
  3. On Windows: Check that the recipe files do not contain the same name with different cases.

Make the necessary adjustments to your setup and run the command again.

recipe-get

kitchen-get

Note

Still not working? Contact DataKitchen Support. We can work through this together.