Upgrading YouTrack in Bitnami
Hey everyone,
this is probably more related to Bitnami then to YouTrack, but I thought that someone here might have experience. We have a Bitnami installation with YouTrack 2017.2 and would like to upgrade to 2017.3. According to the Bitnami documentation you have shut down the service and use the new JAR without giving much details how to do this. They link to the documentation of YouTrack 6.0 which also does not contain many details. I checked the .bat files in the Bitnami folders and they lead me to the youtrack.jar on the file system, however, I am a bit hesitant to try updating with so little information. There are many paths in install folder containing the version number and I am afraid that this won't work after the update. Does anyone have more experience or details on how to change the JAR file?
I plan to test everything in a test environment first, but I thought asking does not hurt, especially, because this is the first time I am updating YouTrack.
Thanks in advance,
Thomas
Please sign in to leave a comment.
Please also the the newest documentation, it has more details on upgrade: https://www.jetbrains.com/help/youtrack/standalone/Upgrade-YouTrack-JAR.html.
Sorry, but changing this:
To this:
Run the JAR file with the same user account you use for the previous version.
Does not help me :). How do I start the JAR file from the command line? Can I just replace the existing one?
How to start JAR file from the command line: https://www.jetbrains.com/help/youtrack/standalone/Install-YouTrack-JAR-Installation.html .
Unfortunately, I'm not aware how to change the JAR file in Bitnami, sorry.
Ah thank you! Do I need to configure all the variables that I configured in the installation or will YouTrack realize that this is an upgrade?
YouTrack will suggest you two options: to Set up a new instance or Upgrade, so there is no need in additional parameters.
I tried this command in a local installation in my Bitnami folder:
java -Xmx1g -XX:MaxMetaspaceSize=250M -Djava.awt.headless=true -jar youtrack.jar http://localhost:80
After accepting the license, I had a new clean version of youtrack 2017.3 (without any data, projects, users etc.) installed, but the version connected to Bitnami cannot start anymore. Any ideas?