YouTrack changed internally from one version to another and I think it is not possible to just replace the
.jar file. Instead, you will need to follow a backup and restore process. Here are the steps I followed to do that:
I launched two AWS Debian images and installed two different versions of YouTrack as root user:
- 2017.2.32582-6: mentioned in the YouTrack forum.
- 2018.4.49168-0: latest release at this moment at bitnami.com. Did nothing (neither passed the configuration wizard), only install it.
I generated a new test Project and two issues on the old YouTrack version (one of them including an image, to test data migration). Did a database backup of the old YouTrack by clicking in the “Administration” > “Database Backup” menu. Downloaded this database backup from
/opt/bitnami/apps/youtrack/youtrack_home/teamsysdata-backup and updated it to the new YouTrack server to the same location (I previously created that folder and set
youtrack user as the owner and group).
After that, I visited the URL of the latest YouTrack instance and passed the configuration wizard selecting “Upgrade” after passing the token step. There, I selected the
.tar.gz database backup file I previously uploaded.
After that, I configured the “Base URL” parameter with the new instance public IP address and accepted the YouTrack trial license. Then, the application started the configuration process and I could log in using the login credentials I was using on the old version instance.
I also checked that the test project, test issues and image I used in the old version were properly migrated to the new one.
Hope it helps,