YouTrack Server 2023.3 Help

Start and Stop a ZIP Installation

This page describes how to stop and start your YouTrack Server server.

The following situations require that you stop YouTrack:

  • You want to change the location of the database.

  • You want to modify properties or JVM options for your YouTrack Server server.

  • You want to upgrade your YouTrack Server installation.

The commands used to start and stop the application vary slightly by operating system. To make sure you see information that is relevant to your installation, select the tab that corresponds with the operating system used in your host environment.

If you installed YouTrack with a ZIP distribution, you run YouTrack from the command line. The scripts that you use to start and stop YouTrack are located in the <youtrack_home>/bin/ directory. The <youtrack_home> directory is the location where the YouTrack distribution was unpacked during installation.

To stop and start YouTrack on macOS or Linux platforms, execute the command as a non-root user.

Enter commands to stop and start the YouTrack service in a command-line interface. Each command should be preceded by the name of the shell script that contains instructions for handling these commands and a reference to its location. For example, if you are running these commands using <youtrack_home>/bin/ as the current working directory, you would enter the command in this format:

./youtrack.sh run

If you installed YouTrack with a ZIP distribution, you run YouTrack from the command line. The scripts that you use to start and stop YouTrack are located in the <youtrack_home>\bin\ directory. The <youtrack_home> directory is the location where the ZIP distribution was unpacked during installation.

Enter commands to stop and start the YouTrack service in a command-line interface. Each command should be preceded by the name of the batch file that contains instructions for handling these commands and a reference to its location. For example, if you are running these commands using <youtrack_home>\bin\ as the current working directory, you would enter the command in this format:

.\youtrack.bat run

Use the following commands to manage the status of your YouTrack installation:

Command

Description

run

Starts the YouTrack service. With this command, the console is blocked until the service is stopped with the stop command.

start

Starts the YouTrack service. With this command, the console is only blocked during the startup process.

stop

Stops the YouTrack service.

restart

Restarts the YouTrack service.

help

Displays a list of all commands that can be executed in the command-line interface.

Last modified: 29 February 2024