Upgrade 5.2.3 to 6.0 failing Follow
Hi,
I'm trying to upgrade a Youtrack 5.2.3 instance to 6.0 on CentOS with java-1.7 but failing miserably. I followed the usual steps for upgrading with the new jar, modified the wrapper.conf file according to this thread, getting the following error in wrapper.log on start:
From here it just gets stuck in the same loop.
I tried starting it directly from command line, with "java -Xmx1500m -Djava.awt.headless=true -jar youtrack.jar 8080", and it starts. The problem is that it runs of course as a new instance in /root/.youtrack/, not using the existing data.
Any ideas what could be wrong with the upgrade?
Thank you.
I'm trying to upgrade a Youtrack 5.2.3 instance to 6.0 on CentOS with java-1.7 but failing miserably. I followed the usual steps for upgrading with the new jar, modified the wrapper.conf file according to this thread, getting the following error in wrapper.log on start:
STATUS | wrapper | 2014/10/31 12:22:01 | –> Wrapper Started as Daemon
STATUS | wrapper | 2014/10/31 12:22:01 | Java Service Wrapper Community Edition 64-bit 3.5.6
STATUS | wrapper | 2014/10/31 12:22:01 | Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2014/10/31 12:22:01 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2014/10/31 12:22:01 |
STATUS | wrapper | 2014/10/31 12:22:02 | Launching a JVM...
INFO | jvm 1 | 2014/10/31 12:22:02 | WrapperManager: Initializing...
INFO | jvm 1 | 2014/10/31 12:22:03 | Jetty home folder is http://forum.jetbrains.com/var/www/youtrack/.youtrack
INFO | jvm 1 | 2014/10/31 12:22:03 | log4j:WARN No appenders could be found for logger (jetbrains.youtrack.standalone.MultiAppWebServer).
INFO | jvm 1 | 2014/10/31 12:22:03 | log4j:WARN Please initialize the log4j system properly.
INFO | jvm 1 | 2014/10/31 12:22:03 | 2014-10-31 12:22:03.695:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
INFO | jvm 1 | 2014/10/31 12:22:03 | 2014-10-31 12:22:03.731:INFO:oejw.WebInfConfiguration:Extract jar:file:/var/www/youtrack/.youtrack/work/jetbrains.jetpass.server.war!/ to /var/www/youtrack/.youtrack/work/jetty-0.0.0.0-8080-jetbrains.jetpass.server.war-_hub-any-/webapp
INFO | jvm 1 | 2014/10/31 12:22:07 | log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
INFO | jvm 1 | 2014/10/31 12:22:07 | log4j:WARN Please initialize the log4j system properly.
INFO | jvm 1 | 2014/10/31 12:22:07 | Init web application log4j location: jetbrains/jetpass/server/main/log4j.xml
INFO | jvm 1 | 2014/10/31 12:22:13 | Oct 31, 2014 12:22:13 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO | jvm 1 | 2014/10/31 12:22:13 | INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 04:51 PM'
INFO | jvm 1 | 2014/10/31 12:22:14 | Oct 31, 2014 12:22:14 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO | jvm 1 | 2014/10/31 12:22:14 | INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 04:51 PM'
INFO | jvm 1 | 2014/10/31 12:22:14 | 12:22:14,533 DEBUG [DefaultServicesManagerImpl ] Adding registered service ^(https?|imaps?)://.*
INFO | jvm 1 | 2014/10/31 12:22:14 | 12:22:14,535 INFO [DefaultServicesManagerImpl ] Loaded 1 services.
INFO | jvm 1 | 2014/10/31 12:22:18 | gflogger: version 20131206
INFO | jvm 1 | 2014/10/31 12:22:20 | 2014-10-31 12:22:20.502:INFO:oejw.WebInfConfiguration:Extract jar:file:/var/www/youtrack/standalone/youtrack-6.0.12102.jar!/ to /var/www/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-6.0.12102.jar–any-/webapp
INFO | jvm 1 | 2014/10/31 12:22:27 | 2014-10-31 12:22:27.140:INFO:oejs.AbstractConnector:Started DispatchProbeSelectChannelConnector@0.0.0.0:8080
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp:
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: java.lang.NullPointerException
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at jetbrains.youtrack.standalone.YoutrackStandalone.launchBrowser(YoutrackStandalone.java:104)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at jetbrains.youtrack.standalone.YoutrackStandalone.startServer(YoutrackStandalone.java:74)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at jetbrains.youtrack.standalone.YoutrackStandalone.main(YoutrackStandalone.java:37)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
INFO | jvm 1 | 2014/10/31 12:22:27 | WrapperSimpleApp Error: at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | 2014/10/31 12:22:28 | 2014-10-31 12:22:28.969:INFO:oejsh.ContextHandler:stopped j.m.w.s.r.{,file:/var/www/youtrack/.youtrack/work/jetty-0.0.0.0-8080-youtrack-6.0.12102.jar–any-/webapp/},/var/www/youtrack/standalone/youtrack-6.0.12102.jar
INFO | jvm 1 | 2014/10/31 12:22:29 | 2014-10-31 12:22:29.155:INFO:oejsh.ContextHandler:stopped j.m.w.s.r.{/hub,file:/var/www/youtrack/.youtrack/work/jetty-0.0.0.0-8080-jetbrains.jetpass.server.war-_hub-any-/webapp/},/var/www/youtrack/.youtrack/work/jetbrains.jetpass.server.war
STATUS | wrapper | 2014/10/31 12:22:29 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
From here it just gets stuck in the same loop.
I tried starting it directly from command line, with "java -Xmx1500m -Djava.awt.headless=true -jar youtrack.jar 8080", and it starts. The problem is that it runs of course as a new instance in /root/.youtrack/, not using the existing data.
Any ideas what could be wrong with the upgrade?
Thank you.
Please sign in to leave a comment.
Just to be clear, did you download the new wrapper.conf and followed the guide ?
Thank you.
Thanks for the reply. Well, I used the existing one because the 6.0 docs specified the same version in the second step. Just modified it as per the mentioned thread. I'll give the newest version available a try and see how it goes, I see the latest is 3.5.25 whereas the docs mention 3.5.6.
Cheers!
Our java version is currently
Also I recognized that the md5checksum on the downloaded file is not the same as on the m5checksum file on your download page:
We have a 25 user licence, as additional information. Here the error output from the log file:
Sorry here the one with the correct memory settings
Usually helps with the jetty servlet container but in this case not.
Added to wrapper.conf and it started. wrapper.java.additional.9 parameter was already present in the wrapper.conf file.
Thank you @ghingis!
Would be nice to have that documented, with the current documentation the youtrack is not working at all. Even with an installation from scratch. That does not make such a good impression.