We recently purchased starter licenses for a number of Atlassian products. It is my understanding that doing Dragon Slayer quest is best/proper way to install all those products. We use Oracle 11gR2 server as a database server. To simplify installation process I asked our dba to create a single 'atlassiandb' user that I was planning to use for all these products. Everything went well until 'Dragons Stage 3' Step 2/Step 3.
I got to the point where Confluence wanted to connect to Jira. When I supplied my Jira admin login it complained that username/password was wrong. Confused by the situation, I tried to login to Jira only to be told the same thing. At that point I started looking through the Dragons Stage 3 Step 2 instructions and I noticed that skipped a bullet where I needed to edit confluence/conf/server.xml file. I updated that file and restarted both Jira and Confluence. However, I still can not login to Jira. I tried to perform Can't access your account? function, but got cursed out by a very long Oops - an error has occurred message(if need to, i can provide its full output).
Did I completely clubber my install and I must start from scratch or can I salvage this?
So aparently this was partially my own fault and partially lack of proper documentaiton from Atlassian.
If you use Oracle as a database backend, you MUST use different database username for each application's connction.
Otherwise, since these products(Jira, Confluence, etc) use identical table names, records will be overwritten by each consecutive install.
From my understanding(I'm not a dba) Oracle does not have the same "database name" concept as MySQL or PostgreSQL. In Oracle each username gets assigned each own 'tablespace'.
So, for example, jiradb user will have its own CWD_USER table and confluencedb user will have its own version.
Please correct me if this information is inaccurate.
After some dig, I've found this KB:
The problem is related to Confluence and the solution is limit your Confluence permissions to access only it's own schema.
Andre, I guess this automatically happens if you create a new Oracle db user/schema(I'm not sure what the correct term is).
My original issue was becuase I intended to use the same db user for all products, and as such I don't see of a way to limit each application to their own schema if they all use the same login.
I think you might want to raise a support case about this at our support site : https://support.atlassian.com/secure/Dashboard.jspa
Please attach a screenshot of the Oops error, as well as your Support ZIP : https://confluence.atlassian.com/display/JIRA/Getting+Help#GettingHelp-CreatingaSupportZip
Hi all! Lauren here from the Enterprise Cloud marketing team. I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs