Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-137744

Scheduler does not upgrade during upgrade execution

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Labels:
      None
    • Fix Priority:
      4

      Description

      Steps to Reproduce:

      1. Import that attached database dump from 6.2.10.21
      2. Upgrade to master using the upgrade client
      3. Start portal with property "module.framework.properties.initial.system.check.enabled=true"

      Expected Result:
      Database is fully upgraded and master starts without dependency issues

      Actual Result:
      Scheduler is not upgraded so many modules have errors

      WARN  [main][SystemCheckOSGiCommands:137] Declarative Service Unsatisfied Component Checker check result: 
      Bundle {id: 98, name: com.liferay.portal.reports.engine.console.web, version: 5.0.10}
      	Declarative Service {id: 5327, name: com.liferay.portal.reports.engine.console.web.internal.admin.portlet.action.UnscheduleReportRequestMVCActionCommand, unsatisfied references: 
      		{name: _entryService, target: null}
      	}
      	Declarative Service {id: 5332, name: com.liferay.portal.reports.engine.console.web.internal.permission.EntryPermissionChecker, unsatisfied references: 
      		{name: ModelResourcePermission, target: (model.class.name=com.liferay.portal.reports.engine.console.model.Entry)}
      	}
      	Declarative Service {id: 5321, name: com.liferay.portal.reports.engine.console.web.internal.admin.portlet.action.DeliverReportMVCActionCommand, unsatisfied references: 
      		{name: _entryService, target: null}
      	}
      	Declarative Service {id: 5316, name: com.liferay.portal.reports.engine.console.web.internal.admin.portlet.action.AddSchedulerMVCActionCommand, unsatisfied references: 
      		{name: _entryService, target: null}
      	}
      	Declarative Service {id: 5324, name: com.liferay.portal.reports.engine.console.web.internal.admin.portlet.action.GenerateReportMVCActionCommand, unsatisfied references: 
      		{name: _entryService, target: null}
      	}
      	Declarative Service {id: 5320, name: com.liferay.portal.reports.engine.console.web.internal.admin.portlet.action.DeleteReportMVCActionCommand, unsatisfied references: 
      		{name: _entryService, target: null}
      	}
      	Declarative Service {id: 5317, name: com.liferay.portal.reports.engine.console.web.internal.admin.portlet.action.ArchiveRequestMVCActionCommand, unsatisfied references: 
      		{name: _entryService, target: null}
      	}
      Bundle {id: 110, name: com.liferay.portal.workflow.web, version: 4.0.11}
      	Declarative Service {id: 5389, name: com.liferay.portal.workflow.web.internal.portlet.action.SaveWorkflowDefinitionMVCActionCommand, unsatisfied references: 
      		{name: unproxiedWorkflowDefinitionManager, target: (proxy.bean=false)}
      	}
      	Declarative Service {id: 5387, name: com.liferay.portal.workflow.web.internal.portlet.action.DuplicateWorkflowDefinitionMVCActionCommand, unsatisfied references: 
      		{name: unproxiedWorkflowDefinitionManager, target: (proxy.bean=false)}
      	}
      	Declarative Service {id: 5388, name: com.liferay.portal.workflow.web.internal.portlet.action.RevertWorkflowDefinitionMVCActionCommand, unsatisfied references: 
      		{name: unproxiedWorkflowDefinitionManager, target: (proxy.bean=false)}
      	}
      	Declarative Service {id: 5386, name: com.liferay.portal.workflow.web.internal.portlet.action.DeployWorkflowDefinitionMVCActionCommand, unsatisfied references: 
      		{name: unproxiedWorkflowDefinitionManager, target: (proxy.bean=false)}
      	}
      
      WARN  [main][MainServlet:444] Required upgrades in modules are pending. Run the upgrade process or type upgrade:checkAll in the Gogo shell to get more information.
      

      Checking the gogo shell reveals:

      g! upgrade:checkAll
      There are upgrade processes available for com.liferay.portal.scheduler.quartz from 0.0.1 to 1.0.0:
              0.0.1 to 1.0.0 (REQUIRED): com.liferay.portal.scheduler.quartz.internal.upgrade.v1_0_0.QuartzUpgradeProcess
      

      Workaround: Execute the scheduler upgrade manually:

      g! upgrade:execute com.liferay.portal.scheduler.quartz
      INFO - Upgrading com.liferay.portal.scheduler.quartz.internal.upgrade.v1_0_0.QuartzUpgradeProcess
      INFO - Starting com.liferay.portal.scheduler.quartz.internal.upgrade.v1_0_0.QuartzUpgradeProcess#updateJobDetails
      INFO - Completed com.liferay.portal.scheduler.quartz.internal.upgrade.v1_0_0.QuartzUpgradeProcess#updateJobDetails in 1 ms
      INFO - Completed upgrade process com.liferay.portal.scheduler.quartz.internal.upgrade.v1_0_0.QuartzUpgradeProcess in 2 ms
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.ware Victor Ware
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Victor Ware
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                15 weeks, 3 days ago

                  Packages

                  Version Package
                  Master