An error occurred performing JIRA upgrade

An error occurred performing JIRA upgrade

The data before the upgrade has been exported to /var/atlassian/application-data/jira/export/jira_autoexport_20150703_123524.zip
2015-07-03 12:36:28error
Exception thrown during upgrade: Failed to upgrade workflow: classic default workflow
java.lang.RuntimeException: Failed to upgrade workflow: classic default workflow
	at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build701.doUpgrade(UpgradeTask_Build701.java:86)
	at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeTaskSuccess(UpgradeManagerImpl.java:814)
	at com.atlassian.jira.upgrade.UpgradeManagerImpl.runUpgradeTasks(UpgradeManagerImpl.java:681)
	at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:540)
	at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:475)
	at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:410)
	at com.atlassian.jira.upgrade.UpgradeLauncher.checkIfUpgradeNeeded(UpgradeLauncher.java:107)
	at com.atlassian.jira.upgrade.UpgradeLauncher.start(UpgradeLauncher.java:55)
	at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:49)
	at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:140)
	at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:345)
	at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:215)
	at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:124)
	at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:33)
	at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:86)
	at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34)
	at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:81)
	at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:72)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while updating: [GenericEntity:Workflow][creator,null][name,classic default workflow][islocked,null][id,10000][descriptor,


  The classic JIRA default workflow
  
    
      0
      common.forms.create
      
        
          Create Issue
          com.atlassian.jira.workflow.validator.PermissionValidator
        
      
      
        
          
            
              com.atlassian.jira.workflow.function.issue.IssueCreateFunction
            
            
              1
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
  
  
    
      60
      closeissue.close
      closeissue.desc
      closeissue.title
      
        
          
            Resolve Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
          
            Close Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
        
      
      
        
          
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              5
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
    
      80
      issue.operations.reopen.issue
      issue.operations.reopen.description
      issue.operations.reopen.issue
      
        
          
            Resolve Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
        
      
      
        
          
            
              resolution
              
              com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
            
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              7
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
    
      20
      startprogress.title
      
        
          
            com.atlassian.jira.workflow.condition.AllowOnlyAssignee
          
        
      
      
        
          
            
              resolution
              
              com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
            
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              11
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
    
      40
      resolveissue.resolve
      resolveissue.desc.line1
      resolveissue.title
      
        
          
            Resolve Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
        
      
      
        
          
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              4
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
  
  
    
      1
      



      
    
    
      3
      


        
          20
          stopprogress.title
          
            
              
                com.atlassian.jira.workflow.condition.AllowOnlyAssignee
              
            
          
          
            
              
                
                  resolution
                  
                  com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
                
                
                  com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
                
                
                  com.atlassian.jira.workflow.function.misc.CreateCommentFunction
                
                
                  com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
                
                
                  com.atlassian.jira.workflow.function.issue.IssueReindexFunction
                
                
                  12
                  com.atlassian.jira.workflow.function.event.FireIssueEventFunction
                
              
            
          
        
      
    
    
      5
      

        
          60
          closeissue.close
          Closing an issue indicates there is no more work to be done on it, and it has been verified as complete.
          closeissue.desc
          closeissue.title
          
            
              
                Close Issue
                com.atlassian.jira.workflow.condition.PermissionCondition
              
            
          
          
            
              
                
                  com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
                
                
                  com.atlassian.jira.workflow.function.misc.CreateCommentFunction
                
                
                  com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
                
                
                  com.atlassian.jira.workflow.function.issue.IssueReindexFunction
                
                
                  5
                  com.atlassian.jira.workflow.function.event.FireIssueEventFunction
                
              
            
          
        
      
    
    
      4
      



      
    
    
      false
      6
      

      
    
  

] (SQL Exception while executing the following:UPDATE dbo.jiraworkflows SET workflowname=?, creatorname=?, DESCRIPTOR=?, ISLOCKED=? WHERE ID=? (I/O Error: Connection reset))
	at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.store(DefaultOfBizDelegator.java:377)
	at com.atlassian.jira.ofbiz.WrappingOfBizDelegator.store(WrappingOfBizDelegator.java:212)
	at com.atlassian.jira.workflow.OfBizWorkflowDescriptorStore.saveWorkflow(OfBizWorkflowDescriptorStore.java:99)
	at com.atlassian.jira.workflow.CachingWorkflowDescriptorStore.saveWorkflow(CachingWorkflowDescriptorStore.java:109)
	at com.atlassian.jira.workflow.JiraWorkflowFactory.saveWorkflow(JiraWorkflowFactory.java:64)
	at com.opensymphony.workflow.config.DefaultConfiguration.saveWorkflow(DefaultConfiguration.java:221)
	at com.atlassian.jira.workflow.OSWorkflowManager.saveWorkflowWithoutAudit(OSWorkflowManager.java:515)
	at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build701.doUpgrade(UpgradeTask_Build701.java:81)
	... 26 more
Caused by: org.ofbiz.core.entity.GenericEntityException: while updating: [GenericEntity:Workflow][creator,null][name,classic default workflow][islocked,null][id,10000][descriptor,


  The classic JIRA default workflow
  
    
      0
      common.forms.create
      
        
          Create Issue
          com.atlassian.jira.workflow.validator.PermissionValidator
        
      
      
        
          
            
              com.atlassian.jira.workflow.function.issue.IssueCreateFunction
            
            
              1
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
  
  
    
      60
      closeissue.close
      closeissue.desc
      closeissue.title
      
        
          
            Resolve Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
          
            Close Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
        
      
      
        
          
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              5
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
    
      80
      issue.operations.reopen.issue
      issue.operations.reopen.description
      issue.operations.reopen.issue
      
        
          
            Resolve Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
        
      
      
        
          
            
              resolution
              
              com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
            
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              7
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
    
      20
      startprogress.title
      
        
          
            com.atlassian.jira.workflow.condition.AllowOnlyAssignee
          
        
      
      
        
          
            
              resolution
              
              com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
            
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              11
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
    
      40
      resolveissue.resolve
      resolveissue.desc.line1
      resolveissue.title
      
        
          
            Resolve Issue
            com.atlassian.jira.workflow.condition.PermissionCondition
          
        
      
      
        
          
            
              com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
            
            
              com.atlassian.jira.workflow.function.misc.CreateCommentFunction
            
            
              com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
            
            
              com.atlassian.jira.workflow.function.issue.IssueReindexFunction
            
            
              4
              com.atlassian.jira.workflow.function.event.FireIssueEventFunction
            
          
        
      
    
  
  
    
      1
      



      
    
    
      3
      


        
          20
          stopprogress.title
          
            
              
                com.atlassian.jira.workflow.condition.AllowOnlyAssignee
              
            
          
          
            
              
                
                  resolution
                  
                  com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
                
                
                  com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
                
                
                  com.atlassian.jira.workflow.function.misc.CreateCommentFunction
                
                
                  com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
                
                
                  com.atlassian.jira.workflow.function.issue.IssueReindexFunction
                
                
                  12
                  com.atlassian.jira.workflow.function.event.FireIssueEventFunction
                
              
            
          
        
      
    
    
      5
      

        
          60
          closeissue.close
          Closing an issue indicates there is no more work to be done on it, and it has been verified as complete.
          closeissue.desc
          closeissue.title
          
            
              
                Close Issue
                com.atlassian.jira.workflow.condition.PermissionCondition
              
            
          
          
            
              
                
                  com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction
                
                
                  com.atlassian.jira.workflow.function.misc.CreateCommentFunction
                
                
                  com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction
                
                
                  com.atlassian.jira.workflow.function.issue.IssueReindexFunction
                
                
                  5
                  com.atlassian.jira.workflow.function.event.FireIssueEventFunction
                
              
            
          
        
      
    
    
      4
      



      
    
    
      false
      6
      

      
    
  

] (SQL Exception while executing the following:UPDATE dbo.jiraworkflows SET workflowname=?, creatorname=?, DESCRIPTOR=?, ISLOCKED=? WHERE ID=? (I/O Error: Connection reset))
	at org.ofbiz.core.entity.GenericDAO.singleUpdate(GenericDAO.java:373)
	at org.ofbiz.core.entity.GenericDAO.customUpdate(GenericDAO.java:293)
	at org.ofbiz.core.entity.GenericDAO.update(GenericDAO.java:271)
	at org.ofbiz.core.entity.GenericDAO.update(GenericDAO.java:240)
	at org.ofbiz.core.entity.GenericHelperDAO.store(GenericHelperDAO.java:232)
	at org.ofbiz.core.entity.GenericDelegator.store(GenericDelegator.java:1732)
	at org.ofbiz.core.entity.GenericDelegator.store(GenericDelegator.java:1713)
	at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.store(DefaultOfBizDelegator.java:373)
	... 33 more
Caused by: org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while executing the following:UPDATE dbo.jiraworkflows SET workflowname=?, creatorname=?, DESCRIPTOR=?, ISLOCKED=? WHERE ID=? (I/O Error: Connection reset)
	at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:686)
	at org.ofbiz.core.entity.GenericDAO.singleUpdate(GenericDAO.java:367)
	... 40 more
Caused by: java.sql.SQLException: I/O Error: Connection reset
	at net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1093)
	at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:563)
	at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:727)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
	at org.ofbiz.core.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:676)
	... 41 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:209)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.DataInputStream.readFully(DataInputStream.java:195)
	at java.io.DataInputStream.readFully(DataInputStream.java:169)
	at net.sourceforge.jtds.jdbc.SharedSocket.readPacket(SharedSocket.java:850)
	at net.sourceforge.jtds.jdbc.SharedSocket.getNetPacket(SharedSocket.java:731)
	at net.sourceforge.jtds.jdbc.ResponseStream.getPacket(ResponseStream.java:477)
	at net.sourceforge.jtds.jdbc.ResponseStream.read(ResponseStream.java:114)
	at net.sourceforge.jtds.jdbc.ResponseStream.peek(ResponseStream.java:99)
	at net.sourceforge.jtds.jdbc.TdsCore.wait(TdsCore.java:4127)
	at net.sourceforge.jtds.jdbc.TdsCore.executeSQL(TdsCore.java:1086)
	... 46 more

1 answer

Hi!

From which version of JIRA and to version of JIRA are you upgrading?

i am not do any upgrade. i just install jira 6.4.6-x64.after finishing installation it's work fine and show the empty page. after logout only it's showing this error.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,451 views 15 19
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