Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hitesh Dangi
User Permission algorithm migration to 6 from 5
February 21, 2012 5:01 AM
Answer

Hitesh Dangi

Rank: New Member

Posts: 11

Join Date: December 13, 2010

Recent Posts

Hello All,

We have migrated the user permission algorithm to 6 from 5 by following the following steps, however we are not able to access the portal after doing the same.

Has anyone migrated before and faced any issues? We are executing the below steps on production database.

Step 1. Check the portal-ext.property file and make sure that there is a permissions.user.check.algorithm set to 5.

Step 2. Go to Control Panel->Server Administration->Data Migration Tab-> Go to Convert Legacy Permission Algorithm-> Check the Generate Custom Role checkbox-> Execute

Step 3. Wait until the process completed successfully, Once it is finished we can see the following log messages:

05:53:06,644 INFO [Table:432] Finished backup of ResourcePermissionView to /liferayt/liferay-portal-6.0-ee-sp1/tomcat-6.0.29/temp/temp-db-ResourcePermissionView-1327384386636 in 8 ms
05:53:06,644 DEBUG [MaintenanceUtil:64] Updating ResourcePermission table
05:53:58,973 DEBUG [MaintenanceUtil:64] Cleaning up legacy tables
05:54:48,071 DEBUG [MaintenanceUtil:64] Converted to bitwise permission
05:54:48,071 DEBUG [MaintenanceUtil:64] Please set permissions.user.check.algorithm in your portal-ext.properties to 6 and restart server
05:54:48,071 INFO [ConvertProcess:47] Finished conversion for com.liferay.portal.convert.ConvertPermissionAlgorithm in 293888 ms

Step 4. Stop the server, change the permissions.user.check.algorithm value to 6 (in portal-ext.properties) and restart the server.
Shiho Pingali
RE: User Permission algorithm migration to 6 from 5
July 6, 2012 10:17 AM
Answer

Shiho Pingali

Rank: New Member

Posts: 12

Join Date: December 20, 2011

Recent Posts

Did you resolve your issue? If so, could you please post what you found out (what was causing it and how you fixed it)? We are upgrading from 5 to 6 and would like to be aware of any impact it might have. Thanks.
Hitoshi Ozawa
RE: User Permission algorithm migration to 6 from 5
July 7, 2012 9:50 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

The instruction doesn't mention this, but you're suppose to disable LDAP when doing this.