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

Upgrade Fails Without Error When Store Set to AFS, no CFG file

Details

    Description

      During an upgrade from 6.2 to 7.2, the DB Upgrade Tool was run against a 6.2 Database. The upgrade tool itself ran to completion, without any errors, but starting the bundle in 7.2 resulted in having no portlets deployed.

      Further investigation led to the discovery that the DDMServiceUpgrade was not registered as a result of the cfg file not being created in osgi/configs.

      In discussions with alberto.chaparro, we believe the best path forward might be to just throw an error in the event that this happens again, so that it can more easily be addressed.

      portal-ext.properties:

      dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore

      needed to be created: 

      com.liferay.portal.store.file.system.configuration.AdvancedFileSystemStoreConfiguration.cfg

      Steps to reproduce it:

      1. Startup an old Liferay version with the advanced file system store configuration
      2. Shutdown
      3. Execute upgrade tool to upgrade to master with the dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore in portal-upgrade-ext.properties but remove the AdvancedFileSystemStoreConfiguration.cfg file

      Expected results:
      An exception saying "Store XXX is not available" is thrown

      Current results:
      No error is shown

       

      Attachments

        Issue Links

          Activity

            People

              lucas.falcao Lucas Falcao
              kevin.cruz Kevin Cruz
              Felipe Lins Felipe Lins
              Jorge Avalos Jorge Avalos
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10 weeks, 1 day ago

                Packages

                  Version Package
                  7.4.3.18 CE GA18
                  7.4.3.27 CE GA27
                  7.4.3.44 CE GA44
                  7.4.3.45 CE GA45
                  Master