Skip to content

Fails to install current nexus (3.76 and newer) #440

@bgp-sz

Description

@bgp-sz

The setup fails in one of the groovy scripts:

googlecompute.nexus: TASK [ansible-thoteam.nexus3-oss : Calling Groovy script setup_privileges_from_list] *** googlecompute.nexus: fatal: [default]: FAILED! => {"changed": false, "connection": "close", "content_length": "270", "content_type": "application/json", "date": "Wed, 12 Feb 2025 15:27:17 GMT", "elapsed": 1, "failed_when_result": true, "json": {"name": "setup_privileges_from_list", "result": "javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: org.sonatype.nexus.security.internal.SecurityApiImpl.getSecuritySystem() is applicable for argument types: () values: []"}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "server": "Nexus/3.77.0-08 (COMMUNITY)", "status": 400, "url": "http://localhost:8081/service/rest/v1/script/setup_privileges_from_list/run", "x_content_type_options": "nosniff"}

This happens while trying to install 3.77.0-08, but has started to happen since 3.76.x - The last version working was 3.75.1-01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions