Trouble Upgrading

I have a Nexus OSS install version 3.22.1-02 and I have attemted to upgrade to the latest version (currently 2.28.0-01) and i have run the install and now I’m seeing that I have 2 installs of Nexus… both the old version and the new version running on the same server. The new install has none of my data

1 Like

Edit $installdir/bin/nexus.vmoptions in the new version, and ensure the karaf.data variable is pointing to the same directory it was pointing to in the old version.

https://help.sonatype.com/display/NXRM3/Upgrading

ok, For instance (currently) the nexus-3.28.0-01.zip is unzipped inside the folder C:\ProgramData\nexus. The nexus.vmoptions inside that unzipped nexus-3.28.0-01 folder for the Dkaraf.data line looks like - -Dkaraf.data=…/sonatype-work/nexus3, so should I change it to the full path of the nexus3 dir? for instance Dkaraf.data=C:\ProgramData\sonatype-work\nexus3, is that what I should put on that line? Thanks!

Anyone available to help with this?

1 Like

for instance Dkaraf.data=C:\ProgramData\sonatype-work\nexus3, is that what I should put on that line?

Use forward slashes: -Dkaraf.data=c:/programdata/sonatype-work/nexus3

Rich