Here are the steps I did to get my upgrade working
1. Make sure our current 5.23 deploy is using:
1permissions.user.check.algorithm=5
(we were using alg. 1, and I changed it to 5 for the upgrade, I think that was causing problems. We changed it to alg. 5 and restarted 5.23, and then did the upgrade and things went smoother).
2. Uninstall all themes, plugins and custom portlets including ROOT from our 5.23 deploy
(note that the manager app is not installed as part of the bundle. You can copy the manager webapp dir from a full tomcat6 package from the apache site. See
Tomcat Manager How-To for configuration info.
3. Backup your lportal db.
4. Use the latest TC bundle, and do not upgrade your existing 5.23 TC bundle (this diverges from the 5 easy steps which seemed to steer me towards upgrading, not replacing)
5. Remove all 7Cogs info in the $NEW_LIFERAY_DIR/tomcat6/webapps dir.
6. Copy your current portal-ext.properties file to the new $NEW_LIFERAY_DIR
7. Add the following to your portal-ext.properties file:
1image.hook.impl=com.liferay.portal.image.DatabaseHook
8. Start tomcat an have it update your database
Note if you have problems try installing the scripts manually, and or deleting data from the dlfileversion table. See this thread for more details:
Upgrade 5.23 to 6.05Note that if the upgrade fails, it is recommended that you restore you DB and start fresh.
9. Login to the site and go to the Control Panel, Server Admin, Data Migration, and update your permission alg. Search for
Upgrading Your Permissions Algorithm on this page.
Important, backup your database and your entire Liferay install before upgrading.Note that my permissions upgrade failed when choosing the Generate Custom Roles checkbox. Leaving that unchecked allowed the upgrade to finish.
10. Stop server and change your portal-ext.properties to use alg. 6
1permissions.user.check.algorithm=6
11. Copy your custom portlets back into the webapps dir.
12. Restart server.
We did not use the Ext environment, just standard portlets so most of our portlets ran without issue. Note that you will have to re-add your global libs to the $LIFERAY_NEW\tomcat\lib\ext dir.
Other notes, your Blog aggregator will be empty, but new blog entries will show up.
Please sign in to flag this as inappropriate.