ECMS Application templates

It is about some Groovy template files (.gtmpl) stored in the JCR. These templates are used by the Content List Portlet and Category Navigation Portlet to diplay content lists in a pagination mode. There are four template types available, including:

  • Content List templates.

  • Parameterized Content List templates.

  • Category Navigation templates.

  • Paginator templates.

In Platform 3.0.1, those templates are stored in the same location in the JCR. But in Platform 3.0.3, their locations are separated to be clearer for the end user.

See the Templates Structure Upgrade Notice in the document located in DeliveryFolder/upgrade-notes/PLF302CLVTemplatesStructureUpgradeNotice.pdf.

In this mode, you are supposed to keep your existing JCR data. Follow these steps:

  1. Stop the Platform server.

  2. Backup your Database and files before proceeding to the upgrade.

  3. Replace the old eXo Platform binaries with the new ones.

  4. Plug your custom configuration files and your custom datasources configuration into the new server.

  5. Deploy crash web application is not deployed.

  6. Start the new Platform Server.

  7. Connect to Platform CRaSH console by using the Telnet or SSH console to update gadgets predefined in Platform:

       telnet localhost 5000
       connect -c portal -u root -p gtn portal-system
       rm /production/app:gadgets/app:eventslist
       rm /production/mop:workspace/mop:customizations/mop:Todo
       rm /production/app:gadgets/app:Todo
       select * from mop:workspaceclone where mop:contentid='Todo' | set mop:contentid "To-do"
       rm /production/mop:workspace/mop:customizations/mop:RSSFetch
       rm /production/app:gadgets/app:RSSFetch
       select * from mop:workspaceclone where mop:contentid='RSSFetch' | set mop:contentid "SocialRssReader"
       rm /production/app:gadgets/app:IDE
       rm /production/app:gadgets/app:pollslist
       rm /production/app:gadgets/app:Activities
       rm /production/app:gadgets/app:ViewerFriends
       rm /production/app:gadgets/app:taskslist
       commit
  8. Restart the Platform Server to complete the upgrade.

  9. The modifications defined in DeliveryFolder/upgrade-notes/PLF302CLVTemplatesStructureUpgradeNotice.pdf are automatically applied (See the section Can you safely upgrade?):

Assuming you use a Platform 3.0.1 version, you can safely upgrade with no impact on your existing website. All impacted data will be migrated automatically at startup.