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?
Having done some googling on the errors I got this time it looks like our system has insufficient memory available so I am going to set up another more powerful system.
Hi HIlary
I have experienced it before. It hangs sometimes. Database table creation should be complete in 5-10 min.
Can you try to access JIRA using http://localhost ?
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul
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.
regards
Hilary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul
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: alexander.soklakov@oracle.com-20131021093118-gtm1bh1vb450xipt )
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 141.0.34.138 /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 141.0.34.138 /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 141.0.34.138 /secure/SetupDatabase.jspa [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system
regards
Hilary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hilary
I would recommend you to follow this link - on how to connect mysql with jira. Follow each step as mentioned in the document.
https://confluence.atlassian.com/display/JIRA/Connecting+JIRA+to+MySQL
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
rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raihul
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 141.0.34.138 /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 141.0.34.138 /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.
regards
Hilary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.