Fórum

User Permission algorithm migration to 6 from 5

thumbnail
Hitesh Dangi, modificado 12 Anos atrás.

User Permission algorithm migration to 6 from 5

New Member Postagens: 11 Data de Entrada: 14/12/10 Postagens Recentes
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, modificado 11 Anos atrás.

RE: User Permission algorithm migration to 6 from 5

New Member Postagens: 12 Data de Entrada: 20/12/11 Postagens Recentes
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.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: User Permission algorithm migration to 6 from 5

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
The instruction doesn't mention this, but you're suppose to disable LDAP when doing this.