Nexus wont start after 'disk full' shutdown

116 views
Skip to first unread message

Tim O'Grady

unread,
Sep 16, 2024, 2:05:53 AM9/16/24
to Nexus Users
running nexus-3.67.1-01 and ran out of disk space.
I fixed my disk space issue and now the Nexus wont restart unless I comment out
-Djava.endorsed.dirs=lib/endorsed
#-Djava.endorsed.dirs=lib/endorsed
From nohup.out
"-Djava.endorsed.dirs=lib/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit."


When I restart with 'no endorsed' jars all my repos are present but empty.

All was okay before I ran out of disk space.
Any suggestions how I may fix this issue would be appreciated.

Peter Lynch

unread,
Sep 16, 2024, 3:29:35 PM9/16/24
to Tim O'Grady, Nexus Users
It feels like you are describing two problems

Running 3.67.1 with java.endorsed.dirs=lib/endorsed argument requires java 11
Commenting that line out to get the application to start means you are using java version 8 to run the application.
We ship two different binaries depending on the Java version you intend to use.
 
If all your repos are present, but empty, it means the database has configuration data at least.

Now you need to define "empty".

Do builds fail to download anything?
Is the browse view Empty?
Do search views or searching return no results?

There are tasks to rebuild browse and search.

if you can't download any content directly, it suggests there could be problems accessing blobstore content. In that case, check the nexus.log for ERROR or WARN messages when requesting content.


--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/9a7dc144-b939-43e7-8510-5b26a4a98ce8n%40glists.sonatype.com.


--

Peter Lynch

Manager Product Technical Support

Sigstrlogo2x1657561912.png

Read the guide that defines rapidly changing open source.

Tim O'Grady

unread,
Sep 18, 2024, 7:38:08 PM9/18/24
to Nexus Users, Tim O'Grady
Hi Peter

Thanks for your help with this.
Turns out I installed libreoffice-calc to look at my disk allocation spreadsheet, this installed java-11 which broke my Nexus.
I removed java-11 and a quick 14 hour 'reconcile component database from blob store' and I'm back up and running.

Many thanks

Tim
Reply all
Reply to author
Forward
0 new messages