Foren

Problem installing patch portal-150-6210 liferay 6.2 EE [RESOLVED]

Manuel Molla, geändert vor 6 Jahren.

Problem installing patch portal-150-6210 liferay 6.2 EE [RESOLVED]

New Member Beiträge: 5 Beitrittsdatum: 25.01.12 Neueste Beiträge
Hi,
We have installed the portal-150-6210 patch on a 6.2 EE liferay and are experiencing serious performance issues. We do not know what the cause may be.
The steps we take are:
1. Stop the tomcat
2. Update tool patching-tool
3. Copy the new fix pack (liferay-fix-pack-portal-150-6210.zip) in folder patching-tool
4. Run: ./patching-tool.sh info
5. Run: ./patching-tool.sh install
6. Run: ./patching-tool.sh update-plugins
7. Deploy hooks with the new patch changes
8. Put the property database.indexes.update.on.startup = true in portal-ext.properties
9. Delete all temp and work folders of the tomcat-7.0.42
10. Start the server

It may be that we skipped step 8 (Put the property database.indexes.update.on.startup = true in portal-ext.properties)
The following day, we put this property to true and we restarted again. The log came the following:
..........
2017-06-16T20: 07: 40.570 + 0200 INFO [localhost-startStop-1] [StartupAction: 103] The following patches are installed: portal-150-6210
2017-06-16T20: 07: 41.296 + 0200 INFO [localhost-startStop-1] [BaseDB: 486] Database supports case sensitive queries
Dropping stale indexes [2016-06-16T20: 07: 42.066 + 0200 INFO [localhost-startStop-1] [BaseDB: 667]
2017-06-16T20: 07: 42.083 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_1073AB9F on MBMESSAGE
2017-06-16T20: 07: 42.344 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_12112599 on POLLSVOTE
2017-06-16T20: 07: 42.391 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_1271F25F on SOCIALACTIVITY
2017-06-16T20: 07: 42.422 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_128516C8 on ASSETLINK
2017-06-16T20: 07: 42.459 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_12851A89 on ASSETLINK
2017-06-16T20: 07: 42.495 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_12EE4898 on CALEVENT
2017-06-16T20: 07: 42.542 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_13C5CD3A on LOCK_
2017-06-16T20: 07: 42.576 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_158B526F on JOURNALARTICLEIMAGE
2017-06-16T20: 07: 42.614 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_16184D57 on RATINGSENTRY
2017-06-16T20: 07: 42.645 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_16D87CA7 on REGION
2017-06-16T20: 07: 42.675 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_16E99B0A on WIKIPAGE
2017-06-16T20: 07: 42.740 + 0200 INFO [localhost-startStop-1] [BaseDB: 733] drop index IX_18D4BAE5 on SOCIALACTIVITYLIMIT
..........


Any suggestion?

How would you reverse this patch?
If we apply the new patch on the web could be solved?

We get this error now:
2017-06-16T01: 58: 44.185 + 0200 ERROR [ajp-bio-8009-exec-2265] [AdvancedPermissionChecker: 640] com.liferay.portal.NoSuchResourceActionException: #PERMISSIONS
Com.liferay.portal.NoSuchResourceActionException: #PERMISSIONS
At com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.getResourceAction (ResourceActionLocalServiceImpl.java:214)
At sun.reflect.GeneratedMethodAccessor120.invoke (Unknown Source)
At sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
At java.lang.reflect.Method.invoke (Method.java:606)
At com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed (ServiceBeanMethodInvocation.java:115)
At com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke (ServiceBeanAopProxy.java:175)
At com.sun.proxy $ Proxy86.getResourceAction (Unknown Source)
At com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission (ResourcePermissionLocalServiceImpl.java:742)
At com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission (ResourcePermissionLocalServiceImpl.java:648)
At sun.reflect.GeneratedMethodAccessor485.invoke (Unknown Source)
At sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
At java.lang.reflect.Method.invoke (Method.java:606)
At com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed (ServiceBeanMethodInvocation.java:115)
At com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute (DefaultTransactionExecutor.java:65)
At com.liferay.portal.spring.transaction.TransactionInterceptor.invoke (TransactionInterceptor.java:51)
At com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed (ServiceBeanMethodInvocation.java:111)
At com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke (ServiceBeanAopProxy.java:175)
At com.sun.proxy $ Proxy90.hasResourcePermission (Unknown Source) 
thumbnail
Christoph Rabel, geändert vor 6 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE

Liferay Legend Beiträge: 1554 Beitrittsdatum: 24.09.09 Neueste Beiträge
You should open a ticket with support for this. They can probably help you better than anybody here in the forum.
Manuel Molla, geändert vor 6 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE

New Member Beiträge: 5 Beitrittsdatum: 25.01.12 Neueste Beiträge
Christoph Rabel:
You should open a ticket with support for this. They can probably help you better than anybody here in the forum.


Yes, but I don't have Liferay support
Thanks.
thumbnail
Christoph Rabel, geändert vor 6 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE

Liferay Legend Beiträge: 1554 Beitrittsdatum: 24.09.09 Neueste Beiträge
Ok, then you probably have a backup, yes?
I would try to roll back and patch again. Maybe even try a different patch level.
It's really impossible to tell, what went wrong or what is wrong now.
thumbnail
Christoph Rabel, geändert vor 6 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE (Antwort)

Liferay Legend Beiträge: 1554 Beitrittsdatum: 24.09.09 Neueste Beiträge
Another idea: Have you tried to revert the patch?

Stop tomcat.
Now create a backup.
Revert the patch. Delete the patch 150 from patches folder. Install the previous patches.
Start tomcat
Manuel Molla, geändert vor 6 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE

New Member Beiträge: 5 Beitrittsdatum: 25.01.12 Neueste Beiträge
Christoph Rabel:
Another idea: Have you tried to revert the patch?

Stop tomcat.
Now create a backup.
Revert the patch. Delete the patch 150 from patches folder. Install the previous patches.
Start tomcat


We have not detected the problem, but we think it's our code and not the patch

However, we have decided to revert the patch and it has been the fastest solution

Thank you
Venky B, geändert vor 4 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE

New Member Beiträge: 6 Beitrittsdatum: 30.10.14 Neueste Beiträge
I want to download new SP for Liferay 6.2. Please can any one help me to get that link (liferay-fix-pack-portal-150-6210.zip)
thumbnail
Olaf Kock, geändert vor 4 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE [RESOLVED]

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Venky B:

I want to download new SP for Liferay 6.2. Please can any one help me to get that link (liferay-fix-pack-portal-150-6210.zip)
If you're a current 6.2 EE customer, you'll find it in helpcenter together with more current fixpacks.
Note that Fixpack 150 - by no stretch of imagination - can't claim the label "new" any more. It's ~2y old.
Venky B, geändert vor 4 Jahren.

RE: Problem installing patch portal-150-6210 liferay 6.2 EE [RESOLVED]

New Member Beiträge: 6 Beitrittsdatum: 30.10.14 Neueste Beiträge
Hi Team,

I have upgraded my Liferay portal from SP17 to SP20 in a multitenant environment.

After upgraded I am able to access Main Portal URL but tenant URL's are giving below error on the browser:

Example:

https://<tenant>/c/portal/login?redirect=%2F&p_l_id=121709


An unexpected system error occurred.

com.liferay.portal.NoSuchContactException: No Contact exists with the primary key 2360818


Patches applied:

1. liferay-fix-pack-portal-154-6210
2. liferay-fix-pack-portal-169-6210


Server log:


at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=21961, name=Guest}
at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_N(GroupPersistenceImpl.java:3253)
at sun.reflect.GeneratedMethodAccessor1251.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(ShardPersistenceAdvice.java:104)