Change the database directory

I change the database directory to D:\ProgramData\JetBrains\YouTrack.

And I agree steps according youtrack doc: https://www.jetbrains.com/help/youtrack/standalone/Changing-Database-Location.html#Changing-Database-Location-for-MSI-and-ZIP

youtrack stop

youtrack configure --data-dir="D:\ProgramData\JetBrains\YouTrack"

youtrack start

Wowever, the database directory isn't find.

--

launcher.log

 

[2018-09-19 15:13:57,708]  TRACE -                           root - [stop] ================================================================ (start)
[2018-09-19 15:13:57,739]  DEBUG - ains.launcher.ep.commands.Stop - [stop] Using Java: <YouTrack Home>\internal\java\windows-amd64\jre (version "1.7.0_71")
[2018-09-19 15:13:57,739]  DEBUG - ains.launcher.ep.commands.Stop - [stop] YouTrack home directory: D:\YouTrack
[2018-09-19 15:13:57,739]  DEBUG - ains.launcher.ep.commands.Stop - [stop] Command line: [stop]
[2018-09-19 15:13:57,739]  DEBUG - ains.launcher.ep.commands.Stop - [stop] JetLauncher version: 0.5.111
[2018-09-19 15:13:57,755]  DEBUG - .BaseLauncherConfig$BaseParser - [stop] Using launcher configuration file: jar:file:/<YouTrack Home>/launcher/lib/launcher.jar!/launcher.java.config
[2018-09-19 15:13:58,583]  DEBUG - ins.launcher.util.LauncherUtil - Deleting C:\ProgramData\JetBrains\YouTrack\logs\youtrack.pid
[2018-09-19 15:13:58,583]  DEBUG - ins.launcher.util.LauncherUtil - Deleting C:\ProgramData\JetBrains\YouTrack\logs\youtrack.port
[2018-09-19 15:13:58,583]   INFO - ains.launcher.run.AgentProcess - YouTrack process finished
[2018-09-19 15:13:58,583]  DEBUG - rains.launcher.run.AgentRunner - YouTrack has exited with code: 30
[2018-09-19 15:13:58,583]  DEBUG - rains.launcher.run.AgentRunner - Exit flag is set, launcher is exiting
[2018-09-19 15:13:58,583]  DEBUG - ins.launcher.util.LauncherUtil - Deleting C:\ProgramData\JetBrains\YouTrack\logs\youtrack.exit.flag
[2018-09-19 15:13:58,583]   INFO - rains.launcher.run.AgentRunner - Launcher is exiting
[2018-09-19 15:13:58,583]  TRACE -                           root - ================================================================ (finish)
[2018-09-19 15:13:58,817]   INFO - ains.launcher.ep.commands.Stop - [stop] YouTrack has shut down.
[2018-09-19 15:13:58,817]  TRACE -                           root - [stop] ================================================================ (finish)
[2018-09-19 15:14:23,971]  TRACE -                           root - [configure] ================================================================ (start)
[2018-09-19 15:14:24,018]  DEBUG - launcher.ep.commands.Configure - [configure] Using Java: <YouTrack Home>\internal\java\windows-amd64\jre (version "1.7.0_71")
[2018-09-19 15:14:24,018]  DEBUG - launcher.ep.commands.Configure - [configure] YouTrack home directory: D:\YouTrack
[2018-09-19 15:14:24,018]  DEBUG - launcher.ep.commands.Configure - [configure] Command line: [configure, --data-dir=D:\ProgramData\JetBrains\YouTrack]
[2018-09-19 15:14:24,018]  DEBUG - launcher.ep.commands.Configure - [configure] JetLauncher version: 0.5.111
[2018-09-19 15:14:24,018]  DEBUG - .BaseLauncherConfig$BaseParser - [configure] Using launcher configuration file: jar:file:/<YouTrack Home>/launcher/lib/launcher.jar!/launcher.java.config
[2018-09-19 15:14:24,081]  DEBUG - .BaseLauncherConfig$BaseParser - [configure] Using launcher configuration file: jar:file:/<YouTrack Home>/launcher/lib/launcher.jar!/launcher.java.config
[2018-09-19 15:14:24,128]  DEBUG - tbrains.launcher.run.JavaAgent - [configure] Launching YouTrack configuration process with command: [D:\YouTrack\internal\java\windows-amd64\jre\bin\java.exe, -Djl.service=YouTrack, -Djl.home=D:\YouTrack, -ea, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=C:\ProgramData\JetBrains\YouTrack\logs, -Dfile.encoding=UTF-8, -XX:MaxPermSize=250m, -Xmx1024m, -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000, -Dorg.eclipse.jetty.server.Request.maxFormKeys=10000, -jar, launcher\lib\app-wrapper\app-wrapper.jar, AppConfigurator, com.jetbrains.bundle.BundleMain, --data-dir=D:\ProgramData\JetBrains\YouTrack] (at path: "D:\YouTrack", system properties: {launcher.app.home=D:\YouTrack, java.awt.headless=true, launcher.app.logs.dir=C:\ProgramData\JetBrains\YouTrack\logs})
[2018-09-19 15:14:24,800]   INFO - launcher.ep.commands.Configure - [configure] * Configuring JetBrains YouTrack 6.0
[2018-09-19 15:14:24,800]   INFO - launcher.ep.commands.Configure - [configure] * Setting property 'data-dir' to 'D:\ProgramData\JetBrains\YouTrack' from arguments
[2018-09-19 15:14:24,831]   INFO - launcher.ep.commands.Configure - [configure] * JetBrains YouTrack 6.0  runtime environment was successfully configured from arguments
[2018-09-19 15:14:24,846]   INFO - launcher.ep.commands.Configure - [configure] * Loading logging configuration from D:\YouTrack\lib\log4j.xml
[2018-09-19 15:14:24,846]   INFO - launcher.ep.commands.Configure - [configure] * Redirecting JetBrains YouTrack 6.0 logging to C:\ProgramData\JetBrains\YouTrack\logs\bundleProcess
[2018-09-19 15:14:25,096]   INFO - launcher.ep.commands.Configure - [configure] * Configuring Configuration Wizard
[2018-09-19 15:14:25,128]  DEBUG - launcher.ep.commands.Configure - [configure] Configuration process finished with exit code 0
[2018-09-19 15:14:25,128]  TRACE -                           root - [configure] ================================================================ (finish)
[2018-09-19 15:14:53,548]  TRACE -                           root - ================================================================ (start)
[2018-09-19 15:14:53,626]  DEBUG - rains.launcher.ep.commands.Run - Using Java: <YouTrack Home>\internal\java\windows-amd64\jre (version "1.7.0_71")
[2018-09-19 15:14:53,626]  DEBUG - rains.launcher.ep.commands.Run - YouTrack home directory: D:\YouTrack
[2018-09-19 15:14:53,626]  DEBUG - rains.launcher.ep.commands.Run - Command line: [do, start]
[2018-09-19 15:14:53,626]  DEBUG - rains.launcher.ep.commands.Run - JetLauncher version: 0.5.111
[2018-09-19 15:14:53,642]  DEBUG - .BaseLauncherConfig$BaseParser - Using launcher configuration file: jar:file:/<YouTrack Home>/launcher/lib/launcher.jar!/launcher.java.config
[2018-09-19 15:14:53,689]   INFO - rains.launcher.ep.commands.Run - Starting YouTrack...
[2018-09-19 15:14:53,705]  DEBUG - ains.launcher.lock.LockManager - Lock file: C:\ProgramData\JetBrains\YouTrack\logs\application.lock
[2018-09-19 15:14:53,705]  DEBUG - ains.launcher.lock.LockManager - Using no lock
[2018-09-19 15:14:56,720]  DEBUG - ins.launcher.util.LauncherUtil - Deleting D:\YouTrack\update
[2018-09-19 15:14:56,720]  DEBUG - rains.launcher.run.AgentRunner - Update folder deleted
[2018-09-19 15:14:56,720]  DEBUG - ains.launcher.run.AgentProcess - Wed Sep 19 15:14:56 BRT 2018 ==> Start launch
[2018-09-19 15:14:56,736]  DEBUG - ins.launcher.util.LauncherUtil - Deleting C:\ProgramData\JetBrains\YouTrack\logs\youtrack.pid
[2018-09-19 15:14:56,736]  DEBUG - ins.launcher.util.LauncherUtil - Deleting C:\ProgramData\JetBrains\YouTrack\logs\youtrack.port
[2018-09-19 15:14:56,736]  DEBUG - ins.launcher.util.LauncherUtil - Deleting C:\ProgramData\JetBrains\YouTrack\logs\youtrack.exit.flag
[2018-09-19 15:14:56,752]  DEBUG - tbrains.launcher.run.JavaAgent - Launching YouTrack process with command: [D:\YouTrack\internal\java\windows-amd64\jre\bin\java.exe, -Djl.service=YouTrack, -Djl.home=D:\YouTrack, -ea, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=C:\ProgramData\JetBrains\YouTrack\logs, -Dfile.encoding=UTF-8, -XX:MaxPermSize=250m, -Xmx1024m, -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000, -Dorg.eclipse.jetty.server.Request.maxFormKeys=10000, -jar, launcher\lib\app-wrapper\app-wrapper.jar, AppStarter, com.jetbrains.bundle.BundleMain] (at path: "D:\YouTrack", system properties: {launcher.app.home=D:\YouTrack, java.awt.headless=true, launcher.app.logs.dir=C:\ProgramData\JetBrains\YouTrack\logs})

1 comment
Comment actions Permalink
Official comment

Hello,

Please create a support ticket (upper right corner) and attach full log files, if the issue is still relevant,

Please sign in to leave a comment.