ARTIFACTORY: How to resolve the error “Cannot start the application with a database other than PostgreSQL During” Artifactory setup
When trying to start Artifactory on versions above 7.84, users might see an error message saying, "Cannot start the application with a database other than PostgreSQL." This happens when Artifactory is set up to use a database that isn't PostgreSQL.
Solution
The error means Artifactory expects a PostgreSQL database but is set up with a different one. Follow these steps to fix it:
Step 1: Access the System Configuration File (system.yaml) present under $JFROG_HOME/var/etc/ folder
Step 2: Under the database section, enable the below property
Step 3: Save the 'system.yaml' file after making the changes
Step 4: Finally, restart the Artifactory service to apply them.
References:For more details, please refer to the below articles: