简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM