I tried to make a new jira server use an existing database by adding the database settings to dbconfig.xml, I didn't know there is a specific process to follow in this case.
It didn't work so I stopped jira and renamed the dbconfig.xml to dbConfig-old.xml in the old jira server to remove the link between it and the database but that didn't help
Now I am trying to get the old jira server to start again but it is like a new installed one, it doesn't recognize the database configuration file
Hi and welcome to the Atlassian Community!
If I get it right you are basically trying to revert the configuration like it was previously. One possibility why the application assumes there is no database would be that the permissions of dbconfig.xml got messed up somehow or the configuration was changed during the tests and need to be reverted.
In case everything fails I'd recommend you to carefully check if all changes and tests can be reverted, most probably by restoring from backups.
This documentation (https://confluence.atlassian.com/adminjiraserver/restoring-information-from-a-native-backup-938847709.html) should help you in case you need to take those steps. First of all I'd recommend you to double check if dbconfig.xml is at the right place, with proper permissions and with appropriate settings.
Cheers,
Daniel
Hi Daniel,
Thank you for your answer, I am afraid I only backed up dbconfig.xml.
What are the right permissions for dbconfig.xml?
kind regards,
khouloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case you are running Jira under user Jira the following suffices:
chown jira:jira dbconfig.xml
chmod 600 dbconfig.xml
In case you are using a different user you need to adapt it accordingly.
Cheers,
Daniel
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.