Update the Service Secret for YouTrack
If your YouTrack service was deleted from an external Hub installation by mistake, you may need to restore the service manually. The full set of instructions for this process is described in the Hub documentation.
To restore the service manually, you need to add a new service for YouTrack in Hub and generate a new service secret. You then need to take the ID that is assigned to the new service and the newly-generated service secret and update these values in the configuration files for YouTrack.
To update the service ID and secret for your YouTrack service:
Locate and open the
For a ZIP distribution, the file is located in the
<YouTrack installation directory>/confdirectory.
For an MSI distribution the file is located in the
You can locate the path to the
conffolder in the
<YouTrack installation directory>\internal\conf\installation.xmlfile. The path is written to the property
default-appdata-root. For example:<default-appdata-root>C:\ProgramData\JetBrains\YouTrack</default-appdata-root>
Update the values for the
youtrack.service.secretproperties. For example:
At this point, your YouTrack service should start successfully. To ensure that everything is working as it was prior to when the YouTrack service was deleted, continue to follow the instructions in the Hub documentation.