First, make a backup of the database (jiradb) and import in the same server (or in different) with name of scheme “jira7db”. With this method you can rollback the process in two minutes and continue with the JIRA 6 version if the process fails.

1. Download the binary distribution: atlassian-jira-software-7.0.3-jira-7.0.3-x64.bin
2. execute ./atlassian-jira-software-7.0.3-jira-7.0.3-x64.bin
3. OK (o), then Intro
4. 1 (option Express Install)
5. (Optional if the port 8080 is used) Change default ports (HTTP: 8080), press option 2, then put port 8080 and 8005 for control
6. INSTALL (i), then Intro
7. Go to /atlassian/jira/bin and execute ./shutdown.sh
8. Set the correct permissions & owner of the folder /atlassian/..
9. Copy the MySQL or ORACLE JAR driver in /atlassian/jira/lib/
10. /atlassian/jira/bin/ ./setenv.sh to load the JAVA variables
11. /atlassian/jira/bin/ ./startup.sh to start JIRA7
12. Open in Navigator http:/server/:8080/ to setup the JIRA7
13. I will setup myself –> Next
14. Select “Built In” option, then next, next, … to Finish. The “Data” folder must be in /var/atlassian/application-data/jira
15. /atlassian/jira/bin/ ./shutdown.sh Shutdown JIRA
16. /var/atlassian/application-data# mv jira jira_preload7
17. /jira# cp jira_home -R /var/atlassian/application-data/ to copy all files and folders from the older installation of JIRA 6
18. /var/atlassian/application-data# mv jira_home jira
19. enter in /var/atlassian/application-data/jira folder
20. Edit dbconfig.xml (vim dbconfig.xml) and put the MySQL values: host: server , port: port, database: jira7db, user: user, pass: pass
21. If you have EazyBI, edit eazybi.toml (only to set new source database to EazyBI, not required)
22. Set the correct permissions to the folder: /var/atlassian/application-data# chmod XXX -R jira
23. Change the JVM values /atlassian/jira/bin# vim setenv.sh
Possible JVM_SUPPORT_RECOMMENDED_ARGS=” -XX:NewSize=2732m -XX:MaxNewSize=2732m -XX:MetaspaceSize=1024m -XX:MaxMetaspaceSize=3612m -XX:ReservedCodeCacheSize=512m -XX:+UseCodeCacheFlushing -Djira.jelly.on=true -Dfile.encoding=utf-8 “, etc
24. Insert the JNDIs if you use… /atlassian/jira/conf# vim context.xml
<Resource name=”jdbc/jira_extensions” auth=”Container” type=”javax.sql.DataSource” username=”user” password=”pass” driverClassName=”com.mysql.jdbc.Driver”
url=”jdbc:mysql://server:port/jiradb?autoReconnect=true”
validationQuery=”select 1″
/>
25. put the proxyName in SSL mode /atlassian/jira/conf# vim server.xml
<Connector port=”8009″ protocol=”AJP/1.3″ redirectPort=”8443″ URIEncoding=”UTF-8″ scheme=”https” proxyName=”jira.server.com” proxyPort=”443″ />
26. /atlassian/jira/bin/ ./setenv.sh to load the JAVA variables
27. /atlassian/jira/bin/ ./startup.sh to start JIRA7
32. Upgrade add-ons
33. Go to Version & Licenses
– Upgrade JIRA Software to the newest version
34. Update the Groovy services/listeners/postfunctions obsolete scripts
35. Reindex

That’s all! I wish you a nice and fun migration! good luck!

 

Posted by:.

One thought on “INSTRUCTIONS TO MIGRATE FROM JIRA6 (WAR DISTRIBUTION, NOW OBSOLETE) TO JIRA7 NEW BINARY DISTRIBUTION

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s