Import Db-Backups

Hi list,

i had to switch server and to reinstall youtrack. So i backed up my database and hoped to reimport in new instance.
Unfortunately on my old server youtrack was accessed via apache2 under a subdomain e.g. issues.myserver.de.
This has changed now, so i have to access youtrack now direct via port 8080 under my main domain (e.g. myserver.de:8080/youtrack).
I copied my backup in specified folder on server. But as soon as i type url in browser it gets redirected to my old (baseurl). Can this happen because of any data in backups?

I don't have any redirects implemented.
There is no vhost-entry as before. I don't have any changes in server.xml.

Any hints? Please

Regards,
Tilman
5 comments
Comment actions Permalink
Ok, it seems it happens because of old base URL stored in database.

Go to new Youtrack  'login' screen, myserver.de:8080/youtrack/login, be sure URl isn't redirect and log in as root.

Now you should be loggined at myserver.de:8080/youtrack/ and be redirected to old base URL (issues.myserver.de)

Type myserver.de:8080/youtrack/settings manually in address line and change base URL to new one on opened setting screen.
0
Comment actions Permalink
Unfortunately I can't get it work.
Now i get an error saying:
jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes:
  1: Can't create user due to license restrictions: users limit exceeded.

I installed youtrack via war on webserver.
Then I copied unpacked backup of my old youtrack-db (blob, etc) directly into teamsysdata-folder.

Is this not the suggested way?

Regards,
Tilman
0
Comment actions Permalink
This error says that you are trying to create/import user while you have reached license users limit.

What step do you get this error? On Youtrack start?

Your description looks correct - you just need unpack backup to home dir/teamsysdata and start server.

You can also change database location to custom, http://confluence.jetbrains.net/display/YTD3/Changing+Database+Location
0
Comment actions Permalink
This error appears while browser tries to open url (myserver.de:8080/youtrack/login).
0
Comment actions Permalink
Please provide the screenshot and youtrack.log.

Just to be sure - do you get error on attempt to login(native, OpenID, LDAP?) or just on /login page loading?

Also, did you reached users limit while youtrack was working? Or you have reserve for new users?
0

Please sign in to leave a comment.