Hi,
I need to migrate Jira 4.2 Enterprise version to a new server. I also want to upgrade to latest jira version. What i have done is, in short (from the guide upgrade manually):
Server A = Old server with jira 4.2
Server B = New server which is empty but will eventually have latest jira
1. On B, followed the guide Installing Jira WAR (latest version) https://confluence.atlassian.com/display/JIRA/Installing+JIRA+WAR
2. On A, copied the jira home /use/local/jira to B
2. On A, copied the database to B and restored it to mysql
This did work out first, but after a restart nothing works anymore. So i removed everything and followed the above steps a second time, and now i get this error:
The following plugins are required by JIRA, but have not been started: Embedded Gadgets Plugin (com.atlassian.gadgets.embedded), Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard), Gadget Directory Plugin (com.atlassian.gadgets.directory), Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
This is mostly due to the lack of CPU resources for the VM, how many VMs are there in the host? And what is the CPU reservation for this VM? And what else is running in that VM?
Please check the minimum recommendations for running JIRA at https://confluence.atlassian.com/display/JIRA/JIRA+Requirements#JIRARequirements-JIRAServerHardwareRecommendations
I see you are using Mysql 5.0 which is not supported, isn't that a problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is still alot of errors after a third retry. This time i installed the preferred tomcat version 6.0.32, i also increased the memory and removed .bundled_plugins and .osgi-plugins.
From the catalina.out:
2012-09-06 14:04:10,088 main WARN [core.entity.jdbc.DatabaseUtil] Field "disabled" of entity "CustomFieldOption" is missing its corresponding column "disabled"
The following plugins are required by JIRA, but have not been started:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, can you please describe your setup? What version of Java and Tomcat have you deployed your WAR to? Also is this on a VM or physical server? How much memory have you allocated?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, memory might be the issue. Later versions of JIRA do use more memory, especially if you've got plugins like greenhopper. The upgrade process itself also consumes more memory as you need a full re-index.
Also I'd advice using Tomcat 6.0.32 as per https://confluence.atlassian.com/display/JIRA/Supported+Platforms.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok here is some more info:
Server A (VM):
java = 1.6.0.24
mysql = 5.0
tomcat = 6.0.29
Server B (VM):
java = 1.6.0.24
mysql = 5.5
tomcat = 6.0.35
And this is from setenv.sh on both A and B:
export CATALINA_OPTS="$CATALINA_OPTS -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Xms128m -Xmx512m -XX:MaxPermSize=256m"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. I will try to increase the memory but wouldn't the logs specifically report memory problems? I also read on some other threads that you cant just copy the jira home directory to new server including all plugins because some plugins are not compatible with new jira version. So how can i solve that? I can only see one plugin in /usr/local/jira/plugins/installed-plugins folder so where are the others?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it is not smart enough to report memory problems :). It is best to check the plugin requirements first before an upgrade. However, if the plugins themselves do have errors on startup this should show in the logs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is still alot of errors after a third retry. This time i installed the preferred tomcat version 6.0.32, i also increased the memory and removed .bundled_plugins and .osgi-plugins.
From the catalina.out:
2012-09-06 14:04:10,088 main WARN [core.entity.jdbc.DatabaseUtil] Field "disabled" of entity "CustomFieldOption" is missing its corresponding column "disabled"
The following plugins are required by JIRA, but have not been started:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One other thing, when i try to shutdown jira via tomcat shutdown.sh i get some errors:
Sep 6, 2012 2:42:40 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection timed out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.