ARTIFACTORY: How to Disable Federated Repositories to Allow Artifactory Startup

ARTIFACTORY: How to Disable Federated Repositories to Allow Artifactory Startup

Products
Frog_Artifactory
Content Type
Use_Case
AuthorFullName__c
David Shin
articleNumber
000006438
FirstPublishedDate
2025-05-13T08:53:28Z
lastModifiedDate
2025-05-12
VersionNumber
1

Introduction 

In certain edge cases, Artifactory may fail to start due to synchronization issues with non-existent federated members.

Resolution

Currently, there is no global API available to pause the synchronization of federated repositories or to remove federated member repositories. 


If the target federated member nodes are unavailable and you need to remove all federated member configurations at once, you can use the following efficient method:

Instead of individually removing each member node via the UI—which can be tedious if you have a large number of federated member repositories (e.g., 1000 or more)—follow these steps:

  1. Copy the artifactory.repository.config.latest.json file to artifactory.repository.config.import.json.
  2. Use the jq utility to remove the federatedMembers entries. Run the following command:
    jq '.federatedRepoConfigs[].repoTypeConfig |= del(.federatedMembers)' artifactory.repository.config.import.json > artifactory.repository.config.import.json
  3. Finally, restart Artifactory for the changes to take effect.