This question is in reference to Atlassian Documentation: Migrating to an external database
We are using a database for some time now. However, our database team migrated the database to another server now, and we need to update the connection string in crucible. Where can I do that without having a migration taking place?
(We are using an oracle datbase, if that matters...)
Hi Tanja,
Considering you'll be changing to an existing database already containing data, I'd recommend adjusting the connection string directly in the FISHEYE_INST/config.xml
file, due to the bug https://jira.atlassian.com/browse/FE-5389 - because of this bug, if you attempt to change the database URL from the UI, it will actually override the new database with the data contained in the existing one.
Also, to make sure your DB will be in sync with the filesystem, please make sure the application is stopped and both DBs are in sync (since you mentioned this is just a migration, I suppose the DBs contain the same data, so I'm just suggesting to make sure they're in sync before adjusting the connection string).
Still, please consider taking a backup before applying the change.
Regards,
Gustavo Refosco
Hi Gustavo,
there are two files named config.xml in a Fisheye installation: one in the INSTALLATION directory and another in HOME directory. To change the database URL, you must to modify the file placed in HOME, not the placed in the INSTALLATION directory as you indicated.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.