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
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
Please sign in to leave a comment.
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.
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
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
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?