I have installed Jira and set up a MySQL database with ODBC connector. I have got the installation wizard running in the browser and set up language and database details. I clicked 'next' about an hour and a half ago and the little wheel is still spinning saying it will take a minute to set up the database. If I open the database I can see it has created 132 tables, the last of which is worklog, these are nearly all empty.
I gather I can only run this program the once and yet it doesn't seem like it is still doing anything, none of the mysql processes are doing anything. Do I close the browser and try again, is there something else it still needs to do on the database set up before it proceeds to the next stage of the configuration?
Can you check the logs on atlassian-jira.log. that should give you the cause of the error.
I feel it has to do something with the database parameters you have given in your dbconfig.xml?
Can you connect to our database using the database tools using the same parameters.
Might be a good idea to roll back your dbconfig changes and try loading up jira with the default hsql database, at least by that you will know what is causing the issues.
Thank you for answering. I have this installed on a remote server. If I do wget http://localhost then I just get the default apache setup page. I have it on port 8080 so wget http://localhost:8080 connects and then I get Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://localhost:8080/secure/SetupDatabase!default.jspa [following]
--2013-11-19 17:31:53-- http://localhost:8080/secure/SetupDatabase!default.jspa
Reusing existing connection to localhost:8080.
HTTP request sent, awaiting response...
Which has just sat there for several minutes now. Opening it in a new browser just seems to have it hanging and not loading at all.
catalina.out shows, lots of creating table comments etc and then:
Database configuration OK
___ Database Configuration _________________
Loading entityengine.xml from : file:/opt/atlassian/jira/atlassian-jira/WEB-INF/classes/entityengine.xml
Entity model field type name : mysql
Entity model schema name :
Database Version : MySQL - 5.5.34-0ubuntu0.12.04.1
Database Driver : MySQL Connector Java - mysql-connector-java-5.1.27 ( Revision: firstname.lastname@example.org )
Database URL : jdbc:mysql://localhost:3306/jiradb?useUnicode=true&characterEncoding=UTF8&sessionVariables=storage_engine=InnoDB
Database JDBC config : mysql jdbc:mysql://localhost:3306/jiradb?useUnicode=true&characterEncoding=UTF8&sessionVariables=storage_engine=InnoDB
2013-11-19 15:25:24,277 http-bio-8080-exec-22 INFO anonymous 925x59x1 nvy2q0 126.96.36.199 /secure/SetupDatabase.jspa [atlassian.jira.startup.ClusteringChecklistLauncher] JIRA clustering startup checks completed successfully.
2013-11-19 15:25:24,305 http-bio-8080-exec-22 INFO anonymous 925x59x1 nvy2q0 188.8.131.52 /secure/SetupDatabase.jspa [atlassian.jira.startup.JiraStartupLogger]
___ Starting the JIRA Plugin System _________________
2013-11-19 15:25:24,305 http-bio-8080-exec-22 INFO anonymous 925x59x1 nvy2q0 184.108.40.206 /secure/SetupDatabase.jspa [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system
I would recommend you to follow this link - on how to connect mysql with jira. Follow each step as mentioned in the document.
2. If still does not work then rollback the dbconfig changes and try loading up your jira using the hsql database (default configurations which comes in-built)
Let me know how it goes
I have rolled back as suggested and this time selected the internal database in the onscreen wizard. Again it timed out. Looking at the logs it looks like it is having trouble with plugins. The last few lines are:
2013-11-25 15:16:38,266 http-bio-8080-exec-25 INFO anonymous 914x56x2 yupyjd 220.127.116.11 /secure/SetupDatabase.jspa [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.jira.plugins.workflow.sharing.jira-workflow-sharing-plugin, com.atlassian.gadgets.opensocial, com.atlassian.mywork.mywork-common-plugin, com.atlassian.upm.atlassian-universal-plugin-manager-plugin, com.atlassian.jirafisheyeplugin, com.atlassian.plugins.atlassian-nav-links-plugin, com.atlassian.jira.plugin.ext.bamboo, com.atlassian.plugins.atlassian-project-creation-plugin, com.atlassian.jira.rest, com.atlassian.streams, com.atlassian.streams.actions, com.atlassian.streams.streams-thirdparty-plugin, com.atlassian.applinks.applinks-plugin, com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin, com.atlassian.streams.streams-jira-plugin], 13 seconds remaining
2013-11-25 15:16:39,024 Timer-3 WARN anonymous 914x56x2 yupyjd 18.104.22.168 /secure/SetupDatabase.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.streams.inline-actions-plugin, config=osgibundle:/META-INF/spring/*.xml)]
I also note that the jira service is no longer running.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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