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 on moros.err http://artifactory2.err:4041/ data is mounted using the following command docker run -d -p 8081:8081 --name nexus -v /home/scotty/nexus-data:/nexus-data sonatype/nexus3
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/artefactory keys/artefactory.pem
- An example of how you would ssh to this server is as follows: ssh -i artefactory.pem ubuntu@ec2-23-23-106-9.compute-1.amazonaws.com
- Artifactory2 is run as a Nexus docker container and can be stopped using sudo docker stop nexus
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
development/artifactory.1675461226.txt.gz · Last modified: 2023/02/03 21:53 by 10.91.110.100