Upgrade from 5.x -> 6


Hi,

I did an upgrade from YT5.x to 6 and all went well. Chose the upgrade path and everything converted nicely and I was able to login to the new version.

However, if I restart the YT service or the machine the YT service will not start. I find it weird it launches correctly after the installation has finished but can't manage a restart.


Some context..

From the service.log I get the following error:
Failed to start the application: Failed to start JetBrains YouTrack 6.0: Not allowed exit code -1 from process: bin/youtrack configure


I logon to the service as: .\JetBrainsYouTrack user.


I have attached some logs for your aid.


Thanks!
0
5 comments
This is on a Win2008 R2 SP1 64bit Standard Server
It has .NET 4.5.1 Installed
0
Avatar
Sebastian Zakłada
Same here. It's a show stopper.

C:\YouTrack\bin>youtrack.bat start
Using Java: C:\YouTrack\internal\java\windows-amd64\jre (version "1.7.0_60")
Starting YouTrack...
* Configuring Service-Container[bundleProcess]
* Configuring Hub
hub: Using Java: C:\YouTrack\internal\java\windows-amd64\jre (version "1.7.0_60"
)
hub: 0 [[APP-WRAPPER] Proxy 1] INFO com.jetbrains.hub.service.HubJettyService  -
 Loading properties from C:\ProgramData\JetBrains\YouTrack\temp\bundleProcess\co
nfigure-args-2190375994730815181.properties
* Configuring YouTrack
youtrack: YouTrack is started, stop it and try again
youtrack: Using Java: C:\YouTrack\internal\java\windows-amd64\jre (version "1.7.
0_60")
[YouTrack Error] [APP-WRAPPER] Failed to start the application: Failed to start
JetBrains YouTrack 6.0: Not allowed exit code -1 from process: bin/youtrack conf
igure
[YouTrack Error] [APP-WRAPPER] com.jetbrains.launcher.StartupException: Failed t
o start JetBrains YouTrack 6.0: Not allowed exit code -1 from process: bin/youtr
ack configure
[YouTrack Error]        at com.jetbrains.bundle.BundleMain.start(BundleMain.java
:154)
[YouTrack Error]        at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:
78)
[YouTrack Error]        at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:
76)
[YouTrack Error]        at java.util.concurrent.FutureTask.run(FutureTask.java:2
62)
[YouTrack Error]        at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr
eadPoolExecutor.java:1145)
[YouTrack Error]        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th
readPoolExecutor.java:615)
[YouTrack Error]        at java.lang.Thread.run(Thread.java:745)
[YouTrack Error] Caused by: com.jetbrains.service.util.StatusException: Not allo
wed exit code -1 from process: bin/youtrack configure
[YouTrack Error]        at com.jetbrains.bundle.services.impl.CliService.execute
ServiceCommand(CliService.java:121)
[YouTrack Error]        at com.jetbrains.bundle.services.impl.CliService.configu
re(CliService.java:107)
[YouTrack Error]        at com.jetbrains.bundle.services.impl.BundledCliService.
configure(BundledCliService.java:23)
[YouTrack Error]        at com.jetbrains.bundle.Services.configure(Services.java
:514)
[YouTrack Error]        at com.jetbrains.bundle.BundleMain.start(BundleMain.java
:180)
[YouTrack Error]        at com.jetbrains.bundle.BundleMain.start(BundleMain.java
:148)
YouTrack process finished
[YouTrack Error]        ... 6 moreLauncher is exiting

YouTrack failed to start.

C:\YouTrack\bin>
0
I have temporarly solved the problem by editing last line of \YouTrack\apps\youtrack\bin\youtrack.bat file

from:
  exit /b !ERRORLEVEL!

to:
  rem exit /b !ERRORLEVEL!
  exit /b

Until problem is resolved I hope it helps.
0
Thanks @ertan for the workaround =)
0
Avatar
Sebastian Zakłada
For everyone looking forward to a more permanent fix - here is an issue in YT's YT ;) worth looking at - https://youtrack.jetbrains.com/issue/JT-27302
0

Please sign in to leave a comment.