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

After Staging publish operation, sometimes a "Indexing failed after importing with the following error: <error_text>. Please reindex site manually." is shown at log file but no warning or error is displayed at user interface

    Details

      Description

      After Staging publish operation, If an error is produced at StagingIndexingBackgroundTaskExecutor, a Indexing failed after importing with the following error: <error_text>. Please reindex site manually. is shown at log file but no warning or error is displayed at user interface.

      StagingIndexingBackgroundTaskExecutor reindex at Live side all published objects from staging. If this reindex is not executed, some problems can arise, for example the published objects are not displayed at Asset Publishers

      After a StagingIndexingBackgroundTaskExecutor error some manual checks are necesary:

      • A manual reindex must be executed from control panel.
      • To avoid a full reindex, you can also try triggering again StagingIndexingBackgroundTaskExecutor executing same Staging to Live publish operation or invoke reindex from a custom java code.
      • Sometimes the lock at lock_ table is not deleted. This will cause that all future staging reindex operations will fail and remain at "Queued" status. It is necessary to manually remove this lock.

      Because all this problematic situations, it is necessary to display staging reindex errors at user interface, instead displaying it only at log level.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                haoliang.wu Haoliang Wu (Inactive)
                Reporter:
                jorge.diaz Jorge Diaz
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 49 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE