Hello Everyone,
in the past year i was using Bitbucket mostly without jira and confluence. but as everything, stuff grows over the past and my team is in need of jira and confluence now.
So i was setting up Jira finally 100%, was updating it to the newest Version and also decided to finally install confluence. Why not using it if i pay for it ^^
I did the same steps as for jira, downloaded the server package, installed it over sudo ./package_name.bin with the same user as bitbucket and jira.
It installed fine, and i was also able to enter the installation page.
i was able to go till the point where i have to setup the database.
i was creating a database for confluence with utf8_bin
i adjusted the jdbc string to also
jdbc:mysql://127.0.0.1:3306/<my_dbname>?sessionVariables=tx_isolation='READ-COMMITTED'
was adding the username and password who also handles my bitbucket and jira just fine.
on pushing Testing Connection, it was everything okay and so i tapped next.
But then problems begann to spread.
first i got a 503 Gateway error from my nginx after some loading time.
when i reloaded the page, the stylesheet was gone, everything looked wird and it told me that the database already exists and if i wanna overwrite all the infos
(this was the first point where i was like 'wft', because i had to create the db before, otherwise he would not have let me pass on the db linking process)
i tapped on overwrite as i do not care, the db is empty, so why not.
but then i got a big error showing me
Unable to register MBean [com.atlassian.confluence.jmx.TaskQueueWrapper@7e3f04e2] with key 'Confluence:name=MailTaskQueue'; nested exception is javax.management.InstanceAlreadyExistsException: Confluence:name=MailTaskQueue
so i restarted confluence over
sudo /etc/init.d/confluence stop
sudo /etc/init.d/confluence start
and then i reload the page.
and got this
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
caused by: java.lang.IllegalStateException: Spring Application context has not been set
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
I am honestly super confused as i just followed the guide on the atlassian page. and for jira and bitbucket they worked super fine. but now confluence is bringing me headache.
i hope someone can help me.
Kind regards