Skip to main content

Questions tagged [nexus]

Sonatype Nexus is one of the world’s most widely used repository managers and it sets the standard for repository management providing development teams with the ability to proxy remote repositories and share software artifacts.

Filter by
Sorted by
Tagged with
18 votes
3 answers
35k views

Migrate Sonatype Nexus repo from one machine to another

I am trying to migrate nexus repo. How can I go about it, any pointers?
zengr's user avatar
  • 337
15 votes
4 answers
66k views

Cannot switch, ssh to specific user: su: cannot set user id: Resource temporarily unavailable?

/var/log/secure: su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_unix(su-l:session): session ...
quanta's user avatar
  • 52k
10 votes
2 answers
20k views

Maven authentication to Sonatype Nexus repository

I cant seem to work this out (or maybe its just late!) - I installed Nexus and disabled anonymous access as I intend to proxy nexus on the web. It makes sense that there should be some manner to ...
cmdematos's user avatar
  • 319
9 votes
1 answer
2k views

Is it possible to authenticate to Sonatype Nexus via ssh keys

Is it possible to authenticate to Sonatype Nexus via ssh keys or any other method that does not require user password in maven settings.xml? I know there are user generated tokens in Sonatype Nexus ...
Andrzej Rehmann's user avatar
3 votes
2 answers
6k views

How to increase the descriptors in nexus

I am trying to update nexus from 3.2.0 to nexus 3.7.1 ,getting a max file descriptors error message using docker container sonatype/nexus3:3.7.1 i tried to increase the descriptors to 65536 but it ...
Swat's user avatar
  • 475
3 votes
1 answer
3k views

Can I authenticate to Artifactory or Nexus repositories via SSH?

We're looking for a maven repo with a better browser interface, and a question has come up about whether plaintext passwords in .m2/settings.xml can be replaced with an SSH key when using either ...
jldugger's user avatar
  • 14.5k
3 votes
1 answer
12k views

Nexus returns error 502 (Bad Gateway) when publishing artifacts

I've just completed the installation of Sonatype Nexus 3.2.1-01 and I'm trying to publish some artifacts using a Jenkins job and the Nexus Artifact Uploader 2.9 plugin. The upload starts fine: 100 % ...
Tedi's user avatar
  • 161
3 votes
1 answer
2k views

How do I run a Java Service Wrapper based application on startup

I want to be able to run Sonatype Nexus as a service on the Mac. It comes with the Java Service Wrapper start scripts for the mac so I basically have a shell script that can start the server. I ...
Manfred Moser's user avatar
3 votes
1 answer
6k views

How to migrate the sonatype-nexus repository from one instance to another? [duplicate]

We have two nexus instances running on two different Linux servers. We are planning to have only single instance for all apps and hence wanted to move the repositories from a smaller nexus to another ...
saketh's user avatar
  • 31
2 votes
2 answers
4k views

Update PGP key in self hosted apt repository

We are using the Sonatype Nexus Repository Manager to host apt repositories. The GPG key of one of them has expired recently and needed to be updated. What I thought would be sufficient was to ...
Croolman's user avatar
  • 151
2 votes
1 answer
2k views

Disabling proxy repositories in Nexus

I'm setting up a new small Nexus OSS server on an Amazon EC2 instance. Nexus ships with proxies set up for the Apache, Central, and Codehaus repositories, assuming that the Nexus server will be local ...
chrylis -cautiouslyoptimistic-'s user avatar
1 vote
1 answer
2k views

Nexus Repository OSS reverse proxy

I have a Windows Server 2012-R2 Server running Nexus Repository OSS on localhost:8081. I configured a Reverse Proxy in IIS with the following rule: <?xml version="1.0" encoding="UTF-8"?> <...
blur0224's user avatar
  • 128
1 vote
1 answer
844 views

Mapping between RPM file names and metadata names generated by maven

We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions. First, I obtain a ...
Jepper's user avatar
  • 376
1 vote
2 answers
821 views

pid directory is deleted

I'm having a service (Sonatype's Nexus) which failed to init since it PID folder (/var/run/nexus) was deleted. Any idea how that folder can be deleted? The nexus service, when gracefully stopped, ...
user49204's user avatar
  • 145
1 vote
1 answer
1k views

Nexus docker repository - anonymous access to selected artefacts

Use case: allow to pull selected (e.g. tagged as *-public) Docker Images anonymously. Otherwise credentials are required. Given: latest Nexus 3.52.0, it works with a docker login and LDAP credentials ...
Aleksejs Spiridonovs's user avatar
1 vote
1 answer
4k views

Kaniko (GitLab CI, K8s) can not push to Nexus Repository Manager: UNAUTHORIZED: access to the requested resource is not authorized

my GitLab CI job build a example container image with Kaniko with the GitLab runner on K8s. All services are in my LAN behind a static IP. The build process pulls an ArchLinux image from my first ...
Kokos Bot's user avatar
1 vote
1 answer
1k views

Unable to use a Nexus Docker Registry in a Docker Swarm

I am trying to set up a Nexus repository for use by a Docker Swarm. However, I am seeing some weird behaviour and I am not sure if it is something I did or if it is a bug because it appears to be ...
Archimedes Trajano's user avatar
1 vote
1 answer
2k views

What outbound ports does Nexus Repository Manager use to download Maven artifacts from other repos?

I'm loading up Nexus on a VM with all outbound ports locked down. I need to know what outbound ports Nexus uses to do whatever it does in all scenarios. Let's assume the repositories it connects to ...
Neil's user avatar
  • 2,509
1 vote
2 answers
6k views

Why does Sonatype Nexus seem to be taking up a ton of memory and CPU time?

Running nexus on Amazon Linux on my SC2 instance. Clean install, then I built a small project against it. Not being used by anyone but me. When I first start Nexus, CPU utilization starts out at 97%...
sangfroid's user avatar
  • 193
1 vote
1 answer
2k views

Using both baseurl and mirrorlist in yum.repo

I want to cache RPM packets in my Nexus Repository. In repo file on client side I have two lines, both uncommented: baseurl=http://nexus-ip/repository/bts-nexus-almalinux-base/$releasever/BaseOS/$...
Eric S's user avatar
  • 11
1 vote
0 answers
1k views

Nexus Docker Registry as external Gitlab registry

I'm using Gitlab CE as the all-in-one docker container and Nexus as a artifact store. Because there is already an integrated Docker registry within Nexus, I'd like to use it. Within the CI/CD process ...
TRW's user avatar
  • 528
1 vote
0 answers
710 views

Nexus mirror (with maven) does not work

Im using Nexus as mirror for maven central and want to add other repositories. If I add this like this <repositories> <!-- org.spigotmc.spigot-api --> <repository> ...
Kokos Bot's user avatar
1 vote
0 answers
1k views

apt-get from private repository via https with self signed certificate failed by SSL handshake error

I'm not able to use my own apt-source via https. Using web based repo with imported cert and key-file as apt-source. Client: root and intermediate cert in /usr/local/share/ca-certificates/extra/ has ...
Peedy2495's user avatar
1 vote
0 answers
213 views

Is it possible to decapsulate ERSPAN and forward on RSPAN?

I am currently running into an issue where we are trying to send our network traffic from our physical infrastructure into a virtual Alienvualt appliance, but our switches are unable to send RSPAN ...
brittonballard's user avatar
1 vote
1 answer
1k views

Why is Nginx only serving the Index mark-up when I use it as a reverse proxy for Nexus 3 Repository Manager?

I am trying to serve a Nexus3 Repo Manager through Nginx reverse proxy, but it only serves the Index mark-up. I have set up Sonatype Nexus 3 Repository manager on an Azure RHEL (SELinux) instance. I ...
MrRed's user avatar
  • 11
1 vote
0 answers
885 views

Use Gitlab oauth service for Nexus3

I've a brand new Nexus Repository Manager version 3.6.1 and a Gitlab 10.0.3. I'ld like to use Gitlab as a oauth provider for authentification (I'm already doing that for Jenkins & SonarQube). ...
Rémy's user avatar
  • 286
1 vote
0 answers
144 views

Connecting SVIs on different VRFs\same subnet - Nexus 9k

I am trying to do is create several SVIs in the same subnet. This can be done by splitting them into different VRFs. The only way I feel I can connect these VRFs (and SVIs) together is by creating ...
CiscoNexusGuy239's user avatar
1 vote
0 answers
387 views

Nexus functionality is limited after installation

I have a CentOS based server with Sonatype Nexus 2.0.4-1 installed. The issue is that there are no standard "Artifact Search", "Advanced Search", "Browse Index", "Refresh Index" Nexus features, as ...
Dmitriy Sukharev's user avatar
1 vote
0 answers
1k views

Sonatype Nexus incompletely proxies external repository

I'm currently attempting to set up a proxy repository (as described in the Nexus guide) for the Bukkit repository, in order to build some dependent projects locally. I'm using the URL: http://repo....
Tim's user avatar
  • 1,158
0 votes
2 answers
1k views

Yum repo autorefresh setting

Following Sonatype's documentation for Nexus 2 and Yum repositories for many years, I've faithfully added: autorefresh=1 to my Yum repos. However, looking at the man page for yum.conf on RHEL 7, 6 ...
RCross's user avatar
  • 469
0 votes
3 answers
13k views

Nexus: Link to latest release of an artifact

How to create a link to get the latest release of an artifact? E.g. org.foo:bar would have 1.0 and 2.0, and the link would return the 2.0 release; and when 3.0 is released and deployed, the same link ...
Ondra Žižka's user avatar
0 votes
0 answers
68 views

Connecting Harbor with Docker repository in Nexus

We have the following use case: Nexus Repository server storing all Docker images. K8s cluster in VMWare Tanzu environment Harbor Docker registry server in VMWare Tanzu environment Goal: Deployments ...
andreasgk's user avatar
  • 101
0 votes
0 answers
255 views

Containerd can`t find the image in the private registry, so k8s can't get the image for the container

I try configure k8s cluster. I have private docker registry on the nexus server and try pull image from it. When i use docker pull all work correctly, but when i use helm for deploy my app, i have ...
discreight's user avatar
0 votes
1 answer
389 views

Nexus Repository OSS: apt hosted repo gpg signing

Nexus Repository OSS version: 3.63.0-01 We have created a hosted apt repository and we keep getting these messages on apt update: E: Failed to fetch <apt-repo-url>/dists/jammy/InRelease 401 ...
mik42's user avatar
  • 1
0 votes
1 answer
349 views

How to have nexus download the newest package from npmjs official site when package is not present in local

I have updated the npmjs package to 0.1.148, but when I update the package in macOS using this pnpm command: > pnpm update --force  WARN  using --force I sure hope you know what you are doing  ...
Dolphin's user avatar
  • 425
0 votes
0 answers
281 views

Will nexus fetch package from pypi when the version does not exists in nexus

I am using this command to install python package from the local nexus proxy: $ pip install --trusted-host 192.168.50.90 -i http://192.168.50.90:8092/repository/pypi-proxy/simple rdpywheel==0.1.27 ...
Dolphin's user avatar
  • 425
0 votes
1 answer
2k views

Nexus Repository Manager does not release storage after asset deletion

I have a Nexus (version 3.30.0) for a docker registry: Since a lot of TB data has accumulated here over time, I have built a script that analyses in a relatively complex way which images are no longer ...
Tamino Elgert's user avatar
0 votes
0 answers
1k views

Configure EKS to use Nexus Private Docker Registry (HTTP/HTTPS)

I've created an EKS cluster on AWS along with Nexus Repository on DigitalOcean using Terraform & Ansible. Also I've not created any SSL for the Nexus Repository, so it is "http." ...
serhatbalik's user avatar
0 votes
0 answers
2k views

unable to access sonatype Nexus from browser

I am unable to access Nexus via browser. I am using Ubuntu GCP instance. I have enabled the UFW and made sure that the port 8081 is added to it, also tried changing the port but it is not working, ...
cloudaspirant's user avatar
0 votes
0 answers
121 views

Sonatype Nexus doesn't update single git submodule

I have this setup: -a git repository called MyRepo. This repo has 5 submodules (A,B,C,D,E) -a Jenkins instance that auto-builds MyRepo. On post-build steps there's a simple script that executes: #!/...
glass's user avatar
  • 1
0 votes
1 answer
409 views

Does Sonatype Open Source Nexus supports Maven 3?

We are thinking about to build up a Sonatype Nexus OOS server. In all documentation, it is mentioned that it supports maven 2, but its never mentioned if it's support Maven 3. Can somebody give me a ...
Kaffi's user avatar
  • 27
0 votes
1 answer
83 views

cannot save settings under the server menu on Sonatype Nexus

I have Nexus up and running, I can setup users, roles, I've added the ldap settings, and everything seems to be working correctly. However, I can't seem to change any of the settings under the "...
end-user's user avatar
  • 155
0 votes
1 answer
1k views

Running Sonatype Nexus in Tomcat 7.0, Tomcat blocking PUT requests

I was previously running Nexus 1.8 on OSX and uploading jars for releases without any issues. The OSX box died, so I moved to a FreeBSD server. Since Nexus doesn't have binaries for FreeBSD, I decided ...
gdm's user avatar
  • 265
-1 votes
1 answer
437 views

How to generate a dummy GPG key by running a script for testing purposes?

I would like to create a GPG key for testing Nexus3 and N3DR. When I follow instructions like these, a key gets created and it could be used in the Continuous Integration (CI) as well. The question is ...
030's user avatar
  • 6,015