Restore jira to clean server

Hi,

I have a Clean server (Windows 2008 R2) to which I have restored the JIRA_HOME and JIRA_INSTALL directories. I have also restored the database backup to our SQL-server. After this restore I modified some files, for example setenv.bat, service.bat and dbconfig.

My guess was that when running the service.bat it would set up that service on my new server and I would be all ready to go. But that doesn't work. It complaines on my CATALINA_HOME variable. I have verified it and it is correct.

So my question is, how should I proceed to restore JIRA to this new server. Do I need to run some setup-program? If I run a Clean install I guess it would work but modifications (if there are any) won't be copied into my new server.

1 answer

1 accepted

0 vote
Joe Pitt Community Champion Apr 16, 2015

You may want to open a ticket with Atlassian. They would know what register setting are done by the wizard during install. Another option would be to delete what you've done, run the install wizard, and then copy the old code over the new directories. As long as you stick with the same release you should be OK. This is why I STRONGLY advise against modifying the code; moving or upgrades can be much more painful smile

Thanks for a Quick answer. So it was as I expected. In my case it was someone before me who did these changes and then moved on to another Company :-( I Think I will use your advise to Clean up, run the wizard but I think I might skip on copying the old code back. From our last upgrade I have the Modified Files-report which should guide me into what files have been modified. Hopefully that will be enough. Otherwise I might replace the code files.

Joe Pitt Community Champion Apr 16, 2015

I suggest you revisit why the code modifications were made and are they still truly needed. Sometimes code is modified to meet the whim of a manager or politically connected user, but it doesn't really add enough value to the normal users to justify maintaining it. If they are gone, or if you can show maintaining this just cost you an extra week of billable time they may agree to drop it. I was involved with a system years ago that had gotten out of hand an it required 6-8 months of extra work to recode and test the modifications made that were only really important to a past manager. We announced they were being dropped at the next upgrade and no one complained.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

89 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you