Affects Version/s: 7.38.0, 7.38.6, 7.41.6, 7.41.4
Fix Version/s: None
Tested on Artifactory versions 7.37.13, 7.41.7
(Any installation type, DB & OS)
When creating a new P2 virtual repository, and when adding remote repositories while doing so, Artifactory will break following the next restart.
This happens because Artifactory created a remote P2 repository with a name that is identical to the added remote repo URL (and "/" characters are not allowed in repository names).
Creating a virtual P2 repository with remote repositories will not allow the customer to restart Artifactory unless he manually edits/deletes said repository key.
Do note create a repository with characters that are not allowed
1) When creating a new P2 virtual repository, under the "Remote P2 Repositories" section, add some P2 Repository URL.
For example https://download.eclipse.org/releases/juno/
2) This will create a repository called "download.eclipse.org/releases/juno"
**3) Restarting Artifactory will not allow Artifactory to boot because the new remote P2 repository has invalid characters in its repository name ("/")
Delete the remote repository that was created as part of the virtual repository in the artifactory.config.latest.xml file (located at $JFROG_HOME/artifactory/var/etc/artifactory)
You should delete from the beginning <remoteRepository> up until the closing </remoteRepository>
Change the <key> parameter to an allowed repository name.