AppSync: Appsync-backup.bat in Debug Mode My Stop Responding with Message: Failed to Create Keycloak Directory

Summary: Appsync-backup.bat in debug mode may stop responding with message: Failed to create keycloak directory: C:\EMC\AppSync\jboss\datastore\data\AppSync_Keycloak

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Any function that performs an AppSync database backup may stop responding if any of these folders exist on the drive the product uses for installation. 
\EMC\AppSync\jboss\datastore\data\AppSync_Lockbox
 \EMC\AppSync\jboss\datastore\data\AppSync_Keycloak
 \EMC\AppSync\jboss\datastore\data\configFiles
 \EMC\AppSync\jboss\datastore\data\AppSync_Ese
 \EMC\AppSync\jboss\datastore\data\AppSync_LIC
Running appsync-backup.bat from the <install dir>\backup-assistant folder in debug mode like:
appsync-backup -d
Stops responding with the following error assuming "C" was the install drive:
 Failed to create keycloak directory :C:\EMC\AppSync\jboss\datastore\data\AppSync_Keycloak

Cause

Appsync-backup.bat that is run on a database that did not have an array that is defined, which is known to stop responding for AppSync 4.4 and later, leaves the following folders in place (assuming the install drive is C:):
C:\EMC\AppSync\jboss\datastore\data\AppSync_Lockbox
C:\EMC\AppSync\jboss\datastore\data\AppSync_Keycloak
C:\EMC\AppSync\jboss\datastore\data\configFiles
C:\EMC\AppSync\jboss\datastore\data\AppSync_Ese
C:\EMC\AppSync\jboss\datastore\data\AppSync_LIC
This causes subsequent runs of the appsync-backup.bat utility, even when run inherently during upgrades, to stop responding. However, running manually in debug mode does show the error:
Failed to create keycloak directory :C:\EMC\AppSync\jboss\datastore\data\AppSync_Keycloak

Resolution

Delete the following folders:
C:\EMC\AppSync\jboss\datastore\data\AppSync_Lockbox
C:\EMC\AppSync\jboss\datastore\data\AppSync_Keycloak
C:\EMC\AppSync\jboss\datastore\data\configFiles
C:\EMC\AppSync\jboss\datastore\data\AppSync_Ese
C:\EMC\AppSync\jboss\datastore\data\AppSync_LIC

Products

AppSync
Article Properties
Article Number: 000200777
Article Type: Solution
Last Modified: 14 May 2026
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.