Version Control: [HTTP 500] (45110) An Automation Engine internal error occured.: No detail information available.
search cancel

Version Control: [HTTP 500] (45110) An Automation Engine internal error occured.: No detail information available.

book

Article ID: 204526

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When initializing Version Control on a single client in a system where other clients are able to work, you see the following:

[HTTP 500] (45110) An Automation Engine internal error occured.: No detail information available.

Logs:

20201130/102337.904 - 42     U00045014 Exception 'com.automic.repository.core.vcs.exceptions.RenameFailedException: "Ref 100 already exists"' at 'com.automic.repository.core.vcs.git.GitService.renameBranch():965'.
20201130/102337.906 - 42     U00045015 The previous error was caused by 'org.eclipse.jgit.api.errors.RefAlreadyExistsException: "Ref 100 already exists"' at 'org.eclipse.jgit.api.RenameBranchCommand.call():112'.
20201130/102337.907 - 42     U00003620 Routine 'RepositoryServiceImpl' forces trace because of error.
20201130/102337.909 - 42     U00003450 The TRACE file was opened with the switches '0000000000000000'.
20201130/102338.625 - 42     U00003449 Output to the TRACE file is finished.
20201130/102338.626 - 42     U00003434 Server routine  'RepositoriesResource$$Lambda$223/1410630558/rest-transaction' required '1' minutes and '51' seconds for processing.
20201130/102338.631 - 42     U00045014 Exception 'java.lang.RuntimeException: "Ref 100 already exists"' at 'com.automic.repository.api.impl.RepositoryServiceImpl.initWithNewBranch():183'.
20201130/102338.632 - 42     U00045015 The previous error was caused by 'com.automic.repository.core.vcs.exceptions.RenameFailedException: "Ref 100 already exists"' at 'com.automic.repository.core.vcs.git.GitService.renameBranch():965'.
20201130/102338.634 - 42     U00045015 The previous error was caused by 'org.eclipse.jgit.api.errors.RefAlreadyExistsException: "Ref 100 already exists"' at 'org.eclipse.jgit.api.RenameBranchCommand.call():112'.
20201130/102338.639 - 42     U00045099 The server replied with following status: '500'

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

In the Automation Engine filesystem for that client, there is a folder structure of /bin/ae-filesystem/<client number>

Delete (or backup) any contents within the client encountering the error and re-initialize the client. 

Additional Information

The steps to remove the GIT connection from a particular One Automation Client are:

1. Remove the variables REMOTE_REPOSITORY_URL  and REPOSITORY_SSH_DIR from UC_CLIENT_SETTINGS in the impacted Client

2. Remove the subfolder '/one_automation_folder/bin/ae-filesystem/<client>'

3. Delete the line from the database table UC_REPO where REPO_CLIENT=<client>

 

Then, when desired, update again the variables in UC_CLIENT_SETTINGS and go the Version Control again where it will ask you to initialize the client.

Attachments