Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Aditya Doke
    Any known fix for this ?
    Joe Tom
    IIUC, it means NXRM hasn't received information in that many milliseconds and thus has timed out. So anything between NXRM and the client could be the issue (firewall, proxy, antivirus, etc).
    Lior Kesos
    Is there anything special you need to do to run nexu on docker in an airgapped enviuronment ?
    4 replies
    I see it trying to connect to an external maven repo
    and security does not like outgoing links in our disconnected installation
    Suchita Deshmukh
    I have deployed nexus3 on openshift4.5 now i need to integrate nexuse with promethous operator 0.37 but i m not getting proper matrix of nexus application its showing nexus app as 'Down' eventhough its UP.
    Hi, I have a git repo with 5 submodules, then jenkins builds everything and pushes to a dockerized nexus. In Nexus this repo never updates 1 submodule, 4 always update... I watch the submodule files in Jenkins workspace and they are updated, so it's Nexus side the issue. What should I see? Is it a cache problem?
    Hello there, we are running into this issue https://issues.sonatype.org/browse/NEXUS-14026 when hitting assets endpoint this way: /service/rest/v1/assets?repository=<reponame>
    This happens randomly but still several times a day, on Nexus 3.19.1 instances.
    Any known workaround or ETA for NEXUS-14026 ?
    Chris Carpenter
    Has anyone seen Nexus put a random port on static assets like css, js, images etc? Upgrading from 3.19 to 3.30 and every page load all the static assets have a random 40,000 port on all assets. Context path is / running behind a reverse proxy. If you manually remove the port the assets are served correctly. The port changes on every refresh.
    <link rel="icon" type="image/png" href="https://hosname:49756/static/rapture/resources/favicon-32x32.png?_v=3.30.0-01&_e=OSS" sizes="32x32">
    <link rel="mask-icon" href="https://hosname:49756/static/rapture/resources/safari-pinned-tab.svg?_v=3.30.0-01&_e=OSS" color="#5bbad5">
    <link rel="icon" type="image/png" href="https://hosname:49756/static/rapture/resources/favicon-16x16.png?_v=3.30.0-01&_e=OSS" sizes="16x16">
    Joe Tom
    @chriscarpenter12 I have not heard of that...does it happen without the reverse proxy in the mix?
    Chris Carpenter
    That's what I was just checking and accessing it direct on 8081 is fine. Has to be a proxy issue. It's behind an F5. Odd it worked on 3.19 though
    i have a problem which is related to sonatype nexus repo
    but i dont now,if i ask some questions there,can you help me?

    Hi,pls help me

    First of all, I would like to say that Sonatype Nexus Repository Manager is really great. Thank you for creating and supporting this component. But I have a big problem right now.
    I work for a big company. Many projects are used in my environment. These include, of course, npm, maven and docker images. We have been using the Sonatype Nexus Repository Manager for a long time, and to be honest, the components are completely satisfying.
    We have created some tasks that delete images from the tag that are not used or are obsolete according to the version. However, docker images have some problems.
    I will tell you step by step what I have done. Please help me where I am wrong.
    1) I first downloaded the Nexus ( on a virtual machine to test
    2) docker pull tomcat: latest (dockerhub size is up to 02f0c6909b28-- linux / amd64 - 324.88 MB)
    3) docker tag tomcat: latest
    4) docker push
    Before I took these steps, the usable memory on my Virtual Machine was 55576MB.
    After pushing the docker, I see that there are 54921MB left. That is, I automatically used 655MB.

    I think when I pulled from the dockerhub, it changed from a compressed form to an uncompressed form and pushed it into my non-compressed form

    I created a task-admin-compact blob store and launched it.

    At the end of the task, 327 mb (same volume as the docker hub) was removed from the virtual machine, but 326 mb was not deleted.

    How can I delete old images completely (655MB) when deleting them?
    PS:I run two different task for delete images completely

    1)Docker-Delete unused manifests and images

    2)Admin - Compact Blob Store

    Nexus-Version > OSS 3.16.0-01

    I would like to add that we have created a pipeline and automatically deletes all tags from the nexus, provided that the last 3 tags are saved each time there is a new job, and at the same time we run the above tasks from time to time.

    Pls help me,because this problem really important for me.


    Joe Tom
    @elvin696 the first advice I can give you is try upgrade your instance. 3.16 is over a year old and there are probably 100s of bugs fixed since then. You may just be hitting one of those. Second advice, I can give is see https://help.sonatype.com/display/NXRM3/Cleanup+Policies#CleanupPolicies-HowDockerRepositoriesUseSpace for docker cleanup strategy. Docker is confusing because as you know each image is made up of layers so you have to make sure to delete everything, if you leave anything it can take up space.
    @elvin696 third advice I can give you is look at browse and see if there's anything there. Delete unused manifests and images is designed to work for shared layers/multiple images not just a single image. My guess is whatever you are deleting is not enough to have that task trigger. What is showing in browse probably also needs deleted.
    It's hard to tell from your description because as far as I can see you didn't say what you deleted...that's probably the key.
    In summary: the delete unused task is meant to aid items that missed manual deletion but if you cannot manually delete a single item and you can't get the task to run it won't work on a larger scale.
    @joedragons Thank you for your answer, but the answers you said unfortunately did not help me.
    I even checked the tasks to delete the dockers in the latest version, but it still didn't give a positive result.
    For example, after pulling a docker image with a size of 327mb (docker hub), it becomes 655 mb, I push the nexusa image to 655mb, and then I can completely delete the 655 mb image with tasks without deleting it from the blog store.
    Joe Tom
    @elvin696 Were you about to delete without tasks? Does browse show anything? Also, did you docker rmi the images from your local machine? Removing them from NXRM would not do this, so some of your space may be that.
    Hi Again Dear! @joedragons
    i think take video
    just keep in mind that I keep the last 3 versions when I build the pipeline normally. That's why I want to delete all the tags except the last 3 tags
    Joe Tom
    @elvin696 unless you did something not on video, you never deleted any images or manifests via the UI. So, I have no idea re2 why compact blobstore restored any space at all. My guess is that is space released by something else (maybe the docker client) but I do not know. Compact blobstore only removes items from your blobstore that are deleted. If you never deleted anything, it should never free any space.
    re3: is the same reason. Without deleting anything all your manifests and layers are used. So that task will not free up anything. If you removed all layers of the image or the manifest of the image, the task should see the remainder isn't used and delete them. NOTE: All deletes in NXRM are soft, so you have to run a compact blobstore AFTER to see freed space.
    Venkatesh Meruva
    I'm getting below error.. while upgrading the nexus...
    2021-03-18 08:12:51,972+0000 ERROR [qtp895230868-54] admin org.sonatype.nexus.script.plugin.internal.rest.ScriptResource - Exception in script execution for script named: ldapconfig javax.script.ScriptException: javax.script.ScriptException: java.lang.IllegalArgumentException: mapping.groupMemberFormat
    2 replies
    Hello, I need some assistance. I was running nexus on docker but wanted to update the docker image. I backed up the data directory and would like to use the existing data in the new docker container. Please kindly on how I can do this
    Joe Tom
    @ishackigozi if your volume is persistent, you should just be able to launch the new docker pointing to the existing data directory ala https://hub.docker.com/r/sonatype/nexus3.
    Hello @joedragons thanks for the response.
    So my existing data directory is /opt/nexus-data
    After deleting the existing container and image, will this accomplish this?
    docker run -d -p 8081:8081 --name nexus -v /opt/nexus-data:/nexus-data sonatype/nexus3
    Joe Tom
    that looks right to me following the doc. I think you can also preserve the container/image and just run another tho it's more complex and the commands arn't there.
    always recommend backup if you're unsure
    @joedragons thank you so much. That got it
    Hi guys,
    I would like to copy a plugin to /opt/sonatype/nexus/deploy/ in a docker container, but i have got a permission denied error because this dir is qwned by root and when i get inside the container i'm nexus user. How can i solve this permission denied error? Can you help me out?
    hallo everyone getting this error from central maven repo which is a proxy
    i dont understand why
    with local machine works well but with nexus not

    I have recently upgraded the nexus from to facing issue with Configuration class.
    Error log:

    result": "org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:\nScript4.groovy: 11: You cannot create an instance from the abstract interface 'org.sonatype.nexus.repository.config.Configuration'.\n @ line 11, column 19.\n Configuration c = new Configuration(\n
    need help on this

    Hi Everybody GM,
    I am getting the below error while creating the maven proxy. Please assistant how to resolve.
    groovy.lang.MissingPropertyException: No such property: name for class: java.util.LinkedHashMap$Entry\nPossible solutions: value
    hallo all :) does anyone get this error from maven central proxy in nexus
    i am not able to fix this one since its proxy
    Joe Tom
    read time out indicates a connectivity issue between the remote and NXRM; people may experience it but the fix is going to be specific to your configuration&network
    Alin Pana
    Hello Guys! Could you help with an issue regarding a nexus3 behind an apache2 ? when I start the nexus3 the initialization page is not displayed properly, the images(logo, etc) are not loaded, and more than that it seems to be stuck on this page. Nexus 3 is on a docker container. I have follow the instruction from the documentation