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

6 comments
Comment actions Permalink
Official comment

Please also the the newest documentation, it has more details on upgrade: https://www.jetbrains.com/help/youtrack/standalone/Upgrade-YouTrack-JAR.html.

Comment actions Permalink

Sorry, but changing this:

  • Download the latest YouTrack build from the official YouTrack site.
  • Create a backup of your current database.
  • Stop the currently running server.
  • Run the new JAR file from the command line, or deploy the new JAR and start the server (if you run not directly, but from a script, etc.)

To this:

  1. Download the JAR distribution from the JetBrains website.
  2. Stop the YouTrack server.
  3. Run the new JAR file from the command line, or deploy the new JAR and start the server (if, for example, you run a script).

    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?

 

0
Comment actions Permalink

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.

0
Comment actions Permalink

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?

0
Comment actions Permalink

YouTrack will suggest you two options: to Set up a new instance or Upgrade, so there is no need in additional parameters.

0
Comment actions Permalink

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?

0

Please sign in to leave a comment.