Upgrade Nexus in Quick Start Environment
This document outlines the process for upgrading Nexus running inside our Quick Start Environment. The script provided assumes your server has access to the internet to download the Nexus package from the community repository. If your server is restricted then internalize the package to your internal repository and update the source in the script appropriately.
The instructions on this page use parameters available to the nexus-repository package to conserve SSL configuration. If you have arrived here, and do not have a Nexus instance configured with SSL, leave off the package parameters.
This command will backup the SSL configuration to the root of your User Profile in a NexusBackup folder.
- Internalize the nexus-repository package and push to your internal repo
- choco upgrade the nexus-repository package (Example command provided below, which preserves SSL Configuration)
Example Upgrade Command:
The following command assumes your nexus instance is available at nexus.example.com. Use your actual FQDN instead
choco upgrade nexus-repository -y --package-parameters="'/Port:8443 /Fqdn:""nexus.example.com"" /BackupSslConfig'"
If you are upgrading from Nexus V 3.22.0.02 or older to a newer version, you may need to make the following change to the jetty-https.xml file. Change