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

Unable to load external repository when running JournalServiceUpgrade

Details

    Description

      When updating from 7.0, in some cases we could see in the console this error:

      Caused by: com.liferay.portal.kernel.repository.UndeployedExternalRepositoryException: Unable to load external repository class com.liferay.portal.repository.portletrepository.PortletRepository because its plugin is not deployed
      	at com.liferay.portal.repository.RepositoryFactoryImpl.getRepositoryFactory(RepositoryFactoryImpl.java:80)
      	at com.liferay.portal.repository.RepositoryFactoryImpl.createLocalRepository(RepositoryFactoryImpl.java:43)
      	at com.liferay.portal.repository.RepositoryProviderImpl.getLocalRepository(RepositoryProviderImpl.java:264)
      	at com.liferay.portal.kernel.repository.RepositoryProviderUtil.getLocalRepository(RepositoryProviderUtil.java:106)
      	at com.liferay.portal.portletfilerepository.PortletFileRepositoryImpl.getPortletFolder(PortletFileRepositoryImpl.java:626)
      	at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.getPortletFolder(PortletFileRepositoryUtil.java:305)
      	at com.liferay.journal.internal.upgrade.util.JournalArticleImageUpgradeUtil.getFolderId(JournalArticleImageUpgradeUtil.java:100)
      	at com.liferay.journal.internal.upgrade.v1_1_0.UpgradeImageTypeContent.copyJournalArticleImagesToJournalRepository(UpgradeImageTypeContent.java:82)
      	at com.liferay.journal.internal.upgrade.v1_1_0.UpgradeImageTypeContent.doUpgrade(UpgradeImageTypeContent.java:114)
      	at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:96)
      	... 128 more
      

      Attachments

        Issue Links

          Activity

            People

              yvonne.han Yvonne Han
              roberto.diaz Roberto Díaz
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 41 weeks, 1 day ago

                Packages

                  Version Package
                  7.1.10 DXP FP7
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X
                  Master