Cleaning up /nexus-data/tmp - Sonatype Nexus Repository - Sonatype Community
Cleaning up /nexus-data/tmp
post by jsevans on Apr 11, 2024
Jason Evans
Hi all, I’m currently running Nexus as a docker container. The directory, inside the container, /data/tmp is using a large amount of data that appears to be just text files and I would like to clear them out or at least compress them. According to the documentation:
do not manipulate any files put into the temp directory, especially when repository manager is running
I would like to know, if I stop the container and remove/compress the text files older than 90 days, what kind of issues, if any, can I expect?
post by rseddon on Apr 11, 2024
Rich Seddon
It is safe to clear out that directory when Nexus Repo is not running. I’ll have the documentation updated.