User Tools
development:artifactory
This is an old revision of the document!
Errigal Artifactory
— Anna Dowling 2018/01/08 08:53 — Anthony Ryan 2023/02/03
This article outlines basic server access details for artifactory.
new artifactory at http://artifactory2.err:4041/ Artifactory2 is run as a Nexus docker container data is mounted using the following command docker run -d -p 8081:8081 --name nexus -v /home/scotty/nexus-data:/nexus-data sonatype/nexus3 Stopped using **sudo docker stop nexus** restarts are done via **docker restart nexus**
Location:
- The Artifactory server is cloud hosted via aws.
- It is located on the Errigal aws account(details of which can be found in pwSafe) in the N.Virginia region.
Access:
- The key for accessing this account can be found on dropbox in the following location:
- ~/Dropbox/Errigal Shared Documents/Amazon EC2/dev keys
- ssh to the server via ssh scotty@artifactory2.err
URL:
Out of Space Issues
If the nexus server drops below 4G you will see in the logs the DB has moved to read only
The only known approach so far is
- login to the docker container as root sudo docker exec -u 0 -it nexus /bin/bash
- edit the nexus.vmoptions file located in cd /opt/sonatype/nexus/bin/
- add or uncomment the following line -Dstorage.diskCache.diskFreeSpaceLimit=1024
- exit docker bash
- restart nextus sudo docker restart nexus
- the Nexus is now in an editable state and artifacts can be removed in an effort to claim back space
Once you have deleted number of artifacts, (start with largest first, to get going) you must run the Compact Blob store task to reduce space
- Go to the tasks list under the Admin tab (you must be logged in)
- run the Compact process, as its only set to weekly due to length of execution
- This may affect the artifactory being written to (it has performance implications)
- on success run the df -h command and verify that the disk space is > 3G
- /dev/nvme0n1p1 60G 53G 7.5G 88% /
development/artifactory.1675681541.txt.gz · Last modified: 2023/02/06 11:05 by 10.91.110.100
