BaseURL Problem: Cannot Change It

Previously, I had a working YouTrack 4 installation. Then I installed YouTrack 5. Now, I cannot make them work properly neither of them.

I start YouTrack 5 with the following command:

    startup.bat -Djetbrains.youtrack.baseUrl="http://localhost:7008/"
prettyPrint();

I set Connector port to 7008 in server.xml:

    <Connector port="7008" protocol="HTTP/1.1" 
connectionTimeout="20000" 
redirectPort="8443" />
prettyPrint();

Then I try to go to
localhost:7008
prettyPrint(); in my browser, but the browser is redirected to
78.188.205.202:7007
prettyPrint(); .

This was the baseUrl of the previous YouTrack but I have already uninstalled it.

Is it possible to reset the database alltogether or change the baseUrl in the database?
3 comments
Comment actions Permalink
I removed everything in <username>\teamsysdata to reset the database and then restarted YouTrack. Now it works fine.
0
Comment actions Permalink
Hello Mert,

You've met the issue http://youtrack.jetbrains.com/issue/JT-21648 , that's why you were not able to apply the baseUrl parameter. It's fixed and will be included in nearest update.
To prevent removing the database next time and excluding the way with the Java parameter, you can refer to the link
localhost:7008/login
prettyPrint();
It will redirect you to the target database. After log in, change Base URL under Administration-> Settings-> Save.

Thank you.
0
Comment actions Permalink
Mert,

I've noticed that you've marked http://forum.jetbrains.com/thread/YouTrack-1159 thread as you  had the same problem. Please note that, these a different problems. You would like to change the base URL while Eugene experiencing the problem with applying new URL for his instance.
Please, take a look at the differences between these two kinds of URL http://forum.jetbrains.com/message/YouTrack-1159-8

Thank you.
0

Please sign in to leave a comment.