Upgrading

Contents

Make sure you have snapshots, or a backup of your Explorer data available before upgrading.

When the explorer application starts, it will automatically check if migration steps are required.

Any migrations that requires user input will be initiated via UI.

From 4.x → 5.x

Explorer 5 is the release for Enonic XP 8. It requires XP 8.1 or later, and cannot be installed on XP 7. Explorer 4 remains the version to use on XP 7, and cannot be installed on XP 8.

The upgrade is therefore done as a part of upgrading your installation to XP 8:

  1. Follow the XP 7 to XP 8 upgrade guide. The Explorer data (collections, documents, document types, interfaces, synonyms, stop words, API keys and journals) is stored in regular XP repositories, and is moved together with the rest of your data.

  2. Install Explorer 5 on the XP 8 installation. Explorer 4 and 5 are the same application, so version 5 takes the place of version 4.

  3. Upgrade any other application that depends on Explorer, see Collectors and Interface selector below.

The data model is the same in Explorer 4 and 5, so there is no Explorer-specific data migration and no manual step in the Explorer admin.

APIs

The GraphQL API and the Ingest API have the same endpoints, API keys and request formats as before. Clients of the APIs do not need to change.

If the APIs are exposed through vhosts, remember to bring the mappings along to the com.enonic.xp.web.vhost.cfg file of the XP 8 installation.

License

Explorer 5 is validated against the XP 8 license. A license installed for Explorer 4 on XP 7 is not valid for Explorer 5, so make sure you have an XP 8 license at hand, and install it from the top bar of the Explorer admin.

Notifications

The e-mails sent after a collector job were previously sent from a fixed Enonic address. They are now sent from the default sender of your XP installation, which must be configured for the notifications to be sent. See Notifications.

This change was introduced in Explorer 4.7, and only affects you if you upgrade from an older version.

Explorer admin

Explorer is now launched from the new XP menu of XP 8, and the menu is also available from the top bar of the Explorer admin. Apart from this, the Explorer admin works as before.

Collectors

The built-in Webcrawler is upgraded together with Explorer, and existing collections using it keep their configuration and schedules.

Custom collectors are separate applications that must be upgraded to XP 8 and rebuilt with version 5 of the Explorer library. We have created a dedicated document with details on how to upgrade a custom collector.

Interface selector

Applications that let editors pick an Explorer interface in Content Studio, using the interfaceSelector that is bundled with the Explorer library, must be changed. In XP 8 the selector is an admin extension instead of a service, so the CustomSelector input must reference it with extension instead of service:

Explorer 4
<input name="interface" type="CustomSelector">
  <label>Interface</label>
  <config>
    <service>interfaceSelector</service>
  </config>
</input>
Explorer 5
- type: "CustomSelector"
  name: "interface"
  label: "Interface"
  extension: "interfaceSelector"

Older versions

For upgrading from Explorer 1.x to 4.x, see the Explorer 4 upgrade notes.


Contents

Contents