Hitoshi Ozawa:
have updated the permission algorithm for the upgrade to Liferay 6.0. And after upgrade process I have commented it like :
#permissions.user.check.algorithm=5
If you haven't updated your permission, you need to set this property! Uncomment it.
permissions.user.check.algorithm=5
.
Please check this link http://www.liferay.com/community/forums/-/message_boards/message/5349480 I have followed the steps mentioned here. Check the following steps:
1. Liferay and DB backup
2. extract liferay to destination folder
3. start liferay on its defaults (it looks like you have to do it before upgrade)
4. liferay shutdown
5. configure Liferay
#portal-ext.properties
jdbc.default.jndi.name=jdbc/LiferayPool
dl.file.max.size=15728640
dl.file.extensions=.bmp,.css,.doc,.dot,.gif,.gz,.htm,.html,.jpg,.js,.lar,.odb,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.ppt,.rtf,.swf,.sxc,.sxi,.sxw,.tar,.tiff,.tgz,.txt,.vsd,.xls,.xml,.zip,.flv
permissions.user.check.algorithm=5
#modify files:
/data/jackrabbit/repository.xml (my jackrabbit uses mysql)
/tomcat-6.0.26/conf/context.xml (cluster)
/tomcat-6.0.26/conf/server.xml (cluster)
/tomcat-6.0.26/conf/Catalina/localhost/ROOT.xml (mysql data source config)
6. remove all sevencogs apps (upgrade always fails because of it)
7. start liferay, watch catalina.out for errors
8. shutdown
9. remove permissions.user.check.algorithm=5
10. add image.hook.impl=com.liferay.portal.image.DatabaseHook
11. startup liferay
Here after upgrade we have to shutdown and then remove "permissions.user.check.algorithm=5". If I am not removing this line then it will start some upgrade process again on next start-up.