Cannot run a job in a repository on a Carte instance from another job

Pentaho Data Integration

Version
9.3.x
Audience
anonymous
Part Number
MK-95PDIA003-15
If you run a Job on a Carte instance and the repository information does not seem available, and further jobs and transformations cannot be loaded after the job runs a child job, then you may see an error similar to the following message:
RepositoriesMeta - Reading repositories XML file: <HOME>/.kettle/repositories.xml
General - I couldn't find the repository with name 'singleDiServerInstance'
(...)
Secondary - Could not execute job specified in a repository since we're not connected to one
(...)
Perform the steps below to run jobs in a repository on a Carte instance from another job:
  1. Using an editor, open the <HOME>/.kettle/repositories.xml file on the server where the Carte instance is located.
  2. Add a new <repository> element to it or append the current content with the name singleDiServerInstance, as shown in the following code block:
    <repository>
        <id>PentahoEnterpriseRepository</id>
        <name>singleDiServerInstance</name>
        <description/>
        <is_default>false</is_default>
        <repository_location_url>http://localhost:8080/pentaho</repository_location_url>
        <version_comment_mandatory>N</version_comment_mandatory>
    </repository>
  3. Save and close the file.
You can now run jobs in a repository on a Carte instance from another job.