tomi1234
tomi1234

Reputation: 41

Artifactory moving filestore

I want to move Artifactory's filestore folder to another drive where I have more space. How can I do this?

I tried creating binarystore.xml to artifactory/etc folder with following content:

<config version="v1">
  <chain template="file-system"> </chain>
  <provider id="file-system" type="file-system">
    <fileStoreDir>/mnt/artifactory/data/filestore</fileStoreDir>        
  </provider>
</config>

But Artifactory won't boot up with this file.

I use Artifactory 4.12.0.1 on CentOS 7

Upvotes: 2

Views: 1284

Answers (1)

tomi1234
tomi1234

Reputation: 41

I solved the problem. The problem was that artifactory didn't have access rights to save to the folder in the config.

Artifactory started working when I gave full rights with: chmod -R 777 /mnt/artifactory

Upvotes: 2

Related Questions