Hi Team,
I have installed jira on ubuntu and I am unable to find dbconfig file. I have installed jira twice but this file is got getting created.
Can someone help me with this
Thanks,
Arvind
A newly installed Jira will not have this file until you have completed the set up of it.
I have to question why you're looking for this file when you are part way through an installation - there's no possible reason to be messing with it until you've finished the install.
What are you trying to achieve here? Not "I want to change a file", but the actual reason that has lead you to look for the file? Is it a backup recovery, creating a test system, an upgrade, a database migration or something else?
Hi Nic,
The installation process has been completed and Jira has been started but when I check log it says The database is not yet configured. Enqueuing Post database-configuration launchers on post-database-activated queue.
So I was trying to find out dbconfig file and I need to configure the database too, so this file is required
Thanks,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it's saying "the database is not yet configured", then you have not finished the installation process. You need to complete the installation process (i.e. run it, visit it in a browser and do the things like set up a default admin user and configure the database)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Thank you for the response but to configure database dbconfig file should be created.
Thanks,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Arvind Pal what Nic says is, you need to run DB setup wizard (https://confluence.atlassian.com/adminjiraserver073/running-the-setup-wizard-861253061.html) so this file is created (https://confluence.atlassian.com/jirakb/startup-check-creating-and-editing-the-dbconfig-xml-file-881656915.html).
After you use setup wizard you can switch Jira off and adjust necessary parameters in dbconfig file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It will be, when you do the rest of the installation process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough -Adaptavist- @Martin Bayer _MoroSystems_ s_r_o__
Thank you for the reponse. Sure I will try the advised steps.
Regards,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough -Adaptavist- @Martin Bayer _MoroSystems_ s_r_o__ ,
While configuring the database, I am getting an error
You have specified a database that is not empty, please specify an empty database. If you want to upgrade an existing installation, please follow these instructions instead.
Thanks,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Arvind Pal new Jira instance expects empty database. It looks like the DB scheme for Jira is not empty. can you check it and drop tables or create new scheme and use it, it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to start with a clean (meaning empty) database. You can't point a half-setup installation at an existing data set, it cannot know what to do with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin Bayer _MoroSystems_ s_r_o__ @Nic Brough -Adaptavist-@Nic Brough -Adaptavist-
Running this script ./config.sh has created dbconfig and I have mentioned all the details which resolved the issue
Thank you for the help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Arvind Pal did you try to start Jira first? I think it is created when Jira is started first time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Yes, I have started jira but even though it is not getting created.
Thanks,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Could you provide the result of command:
ps aux | grep java
?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gonchik,
This is what I am getting..
ps aux | grep java
jira1 7256 0.3 17.1 2798216 350876 pts/0 Sl 06:17 1:00 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:-OmitStackTraceInFastThrow -Datlassian.plugins.startup.options= -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Xloggc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCCause -Dignore.endorsed.dirs= -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
root 7630 0.0 0.0 11740 928 pts/0 S+ 10:51 0:00 grep --color=auto java
Thanks,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Could you check a problem on that directory? /opt/atlassian/jira/temp
As I understood, you complete a installation wizard, then restart instance. And in UI again the installation wizard.
And no file in /var/application-data/jira/dbconfig.xml, is that right ?
If so, as double check, could you clean /var/application-data/jira/database directory.
And start installation wizard again ?
Maybe something stucked ?
And I hope user jira1 is owner of your jira home directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please check dbconfig file in home directory.
Should be comething like this - /var/application-data/jira/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adeshk,
Thank you for the reply. I have checked in /var ,/opt and unable to find dbconfig file. Even locate command is unable to find it which means that this file didn't create.
Thanks,
Arvind
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.