IQ Server Directory and Files

IQ Server Directory and Files

The IQ Server file architecture uses and stores files in a few directories:

This directory is not used to store the IQ Server license or other persistent data.

Note

The system user account that the server runs under must have sufficient access rights to both the work and temporary directory for the server to function properly.

Installation directory

Extracting the archive file has the following files.

Filename Description
{version} In the format: {prefix}.{release}.{minor}-{build} (e.g 1.150.0-01)
The prefix is always 1 with the release is the current GA version. The minor and build are sometimes uses when there were issues with the initial release version.
nexus-iq-server-{version}.jar Primary server executable
nexus-iq-cli-{version}.jar The command line scanner that can be used in your build environments. Use the same version as the installed server
config.yml The initial configuration for the server. Used on startup, however, many are moved to the database after initialization. See Config YAML for details.
eula.html The end user license agreement.
demo.sh, demo.bat Use for testing configuration, not recommended for production.
README.txt Basic configuration. Use the official docs when possible.

Log files

A log directory is created in the installation directory. Change this path by updating the following parameters in config YAML.

currentLogFilename: ./log/clm-server.log
archivedLogFilenamePattern: ./log/clm-server-%d.log.gz

See Logging Configuration for details.

Sonatype-work directory

IQ Server creates a directory to store its data and configuration during the initial startup on the path relative to the location of the invoking java command. The directory is configured in config YAML.

sonatypeWork: ./sonatype-work/iq-server

On startup, the server will check this path for the instance of IQ Server. The server will create the directory and initial files when they do not already exist. Set the property to a different location to separate the installation and data directories.

Deleting or moving the sonatype-work directory is an accepted way to 'start over' with your deployment.

System temporary directory

IQ Server uses the system temporary directory during its operation. This folder varies by operating system. If a specific directory needs to be used, the IQ Server can be started with a command line flag as such:

-Djava.io.tmpdir=/path/to/tmpdir

Search results

No results found.