How to create a test instance on the production server

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

      <config control-bind="127.0.0.1:8059

      To:

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

      <http bind=":8060"/>

      To:

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

      <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:

      <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.

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.