How to create a test instance on the production server

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Prepare

  1. Using a new user, download anew your version of Fisheye or if you have the old tarball, unpack it into a new directory.

  2. Create a new directory and reference this location using the FISHEYE_INST environment variable.

Data

  1. Copy the following two folders and one file to the new FISHEYE_INST:

    • /home/crucible/instances/inst-1/var

    • /home/crucible/instances/inst-1/cache

    • /home/crucible/instances/inst-1/config.xml

Update

  1. Edit config.xml

    1. Update the control port to one not used on your system:

      From:

      1 <config control-bind="127.0.0.1:8059

      To:

      1  <config control-bind="127.0.0.1:8069
    2. Update the application port to one not used on your system:

      From:

      1 <http bind=":8060"/>

      To:

      1  <http bind=":8070"/>
    3. If your database is external you will need to create a copy of it and reference the copy:

      From:

      1 2 3 4 5 <database type="hsql"><connection dialect="org.hibernate.dialect.HSQLDialect" driver="org.hsqldb.jdbcDriver" jdbcurl="jdbc:hsqldb:file:/media/applications/drohan/app_data/fisheye/var/data/crudb/crucible" password="" username="sa" maxPoolSize="20" minPoolSize="6" driverSource="bundled"/><parameters>hsqldb.log_size=10 nsql.enforce_strict_size=true bonecp.idleMaxAgeInMinutes=5 hsqldb.default_table_type=memory </parameters></database>

      To:

      1 <database type=...

Once the steps above have been completed you can start the new application. Make sure that you use the new user so that the folder location referenced by FISHEYE_INST is indeed the new location.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.