...
Code Block | ||
---|---|---|
| ||
ant db db-import-required db-import-default ant data-import -Ddir=/path/to/up3x-export/ |
Pruning Imported Data
When upgrading to uPortal 4.0 not all data files from previous versions should be imported unless you are VERY confident in what you are doing.
.channel-type
files from uPortal 3 and uPortal 2 are not supported and the .portlet-type.xml files included in uPortal 4 must
be used. If you have a custom .channel-type file please follow these instructions for creating a
.portlet-type.xml file for uPortal 4
.entity-type
Only import custom entity types from old versions, do not impoirt .entity-type files that were included in
previous versions of uportal
.channel
Since uPortal 3.2 the name elment when publishing portlets must be unique
.structure and .theme
Do not import stucture and theme files from previous versions of uPortal, follow the instructions HERE on
creating new structure and theme files by hand
.layout (and .profile)
In portal.properties set org.jasig.portal.io.forceDefaultStructure and org.jasig.portal.io.forceDefaultTheme to
true, if you're not using the default structure and theme change org.jasig.portal.io.defaultStructureName and
org.jasig.portal.io.defaultThemeName to the appropriate structure and