ARTIFACTORY: How to check Artifactory Installation Type

ARTIFACTORY: How to check Artifactory Installation Type

AuthorFullName__c
Ruja Rajbhandari
articleNumber
000005516
ft:sourceType
Salesforce
FirstPublishedDate
2022-12-22T08:05:03Z
lastModifiedDate
2023-01-22T11:07:26Z
VersionNumber
2

When upgrading Artifactory you need to make sure to use the same upgrade method (RPM, Debian, Docker, etc.) as the one you initially used to install Artifactory. To check your installation type for Artifactory, you can check for the -Dartdist flag on the System Info Dump after a successful startup/restart of the instance on the $ARTIFACTORY_HOME/var/log/artifactory-service.log file.  

-Dartdist=zip [Linux Archive install]
-Dartdist=zip [Windows install]
-Dartdist =zip [Docker Compose install]
-Dartdist=rpm [RPM install]
-Dartdist =docker [Docker install]
-Dartdist =docker [Helm install]
-Dartdist=deb [Debian install]

Even though -Dartdist is similar for Linux, Windows, Docker Compose i.e "zip" and "docker" for docker and helm installation, you can differentiate what installation type it is by the way you Start and Stop Artifactory. For example:

Starting/Stopping Linux installation:

systemctl <start|stop|status> artifactory.service

Starting/Stopping Windows installation:
sc start|stop|query artifactory

Starting/Stopping Docker Compose installation:
docker-compose -p rt up -d
docker-compose -p rt down