Migration data from windows to linux leads to URL of windows machine...

Hi,
perhaps you can help me with the following issue, I don't understand:
I was testing for some weeks the youtrack application on my local windows notebook. It's a great tracking-software by the way :-)
Next I wanted to install it on a linux server. A clean Install and run was no problem on debian 7. But the last step, migrating the data from windows to linux gave me some headache... The steps were:

1) Create Backup on Windows Machine (tar.gz)
2) Copy Backup to folder teamsysdata on linux machine
3) Stop Service on linux
4) delete database-files on teamsysdata
5) extract backup
6) assign permissions with chown -R youtrack:youtrack teamsysdata
7) start youtrack server
8) when calling url (track.myserver..) on linux machine i am redirected to the login-window of my window-machine (http://localhost:...)

Am I overlooking something here or is it a bug?

I am using youtrack 5.2.2 (on both machines)

Regards,
Michael
0
3 comments
Hello Michael,

Thank you for your feedback!
Database stores former baseURL.
Please, start YouTrack with
jetbrains.youtrack.baseUrl

Java parameter. With this, you set baseURL directly.

Let me know if need any further assistance.
0
Avatar
Permanently deleted user
Hi Andrey,

thank you for your quick answer and the solution: that did the trick!
(for the people who have the same problem, I added the follwing line in the wrapper.conf and restarted the service)

wrapper.java.additional.17=-Djetbrains.youtrack.baseUrl=http://my-server...


Regards,
Michael
0
Michael,

Great!
Thanks for sharing this useful tip.
0

Please sign in to leave a comment.