7.2.1 GA1 to 7.3 GA1 Upgrade Error - CTStoreFactory

BRODY HIGGS JR, modified 5 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts
I receive the following error when attempting the database upgrade from 7.2.1 GA1 to 7.3 GA1.  It is attempting to retry multiple times, but does not go to next step.  Is it possible to bypass this error and continue the database upgrade?  Thank you.

Command:
.\db_upgrade.bat –s -j "-Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.timezone=GMT -Xmx10240m"

Error:
2020-03-09 17:57:55.012 ERROR [main][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.store.CTStoreFactory" is unavailable in 60000 milliseconds while setting field "_ctStoreFactory" for class "com.liferay.portal.change.tracking.store.CTStoreFactoryUtil", will retry...
2020-03-09 18:09:58.451 ERROR [main][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.store.CTStoreFactory" is unavailable in 60000 milliseconds while setting field "_ctStoreFactory" for class "com.liferay.portal.change.tracking.store.CTStoreFactoryUtil", will retry...
Darryl Kpizingui, modified 5 Years ago. Junior Member Posts: 82 Join Date: 1/10/13 Recent Posts
Hi Brody,

Was you able to find a solution. I am facing the same issue with Liferay 7.3 GA 2.

Thanks,
Darryl.
thumbnail
Alberto Chaparro Terleira, modified 5 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hi Darryl,
We already had a ticket for this but we closed it because we couldn't reproduce it:https://issues.liferay.com/browse/LPS-107223

Can you provide more details to be able to reproduce it, the upgrade properties, environment, etc.


Thanks.
Darryl Kpizingui, modified 5 Years ago. Junior Member Posts: 82 Join Date: 1/10/13 Recent Posts
Hi Alberto,

We are doing the migration on a Debian machine, using the liferay Bundle.
I do not have the issue when I do the upgrade from my dev machine, but on the server I have the issue. The work around, we are using is to first try the upgrade, the core updage is OK. It fails for the mudules. We start the portal and finish the upgrade in Gogo shell.

I will try to get more details about the issue so I can provide you with.

Cheers,
Darryl.
thumbnail
Alberto Chaparro Terleira, modified 5 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hey Darryl,
Thank you for sharing your findings. I think that's a good approach, but my recommendation is that you don't start up the server to run the upgrade for the modules. You can open the gogo shell just after the upgrade with the following with the command -s  More info here:

https://learn.liferay.com/dxp-7.x/installation-and-upgrades/upgrading-liferay-dxp/upgrade-basics/using-the-database-upgrade-tool.html
I hope it helps.
thumbnail
Miguel Ángel Júlvez, modified 5 Years ago. Junior Member Posts: 64 Join Date: 3/29/11 Recent Posts
Hi Alberto,

It's happening in 7.3 GA3 too. I've updated the ticket.

​​​​​​​Thanks
thumbnail
Krzysztof Gołębiowski, modified 5 Years ago. Liferay Master Posts: 549 Join Date: 6/25/11 Recent Posts
Hi everyone,

I stumbled upon that bug and contacted Liferay in the ticket https://issues.liferay.com/browse/LPS-114810. We had a short conversation and they fixed it very quickly.

Obviously it's not published yet (it's not even in master as the PR is still pending) but I rebuilt the portal with the change done by Preston and it fixed the issue which allowed migration to finish.

KG
Emanuele Righetto, modified 5 Years ago. New Member Posts: 11 Join Date: 10/5/10 Recent Posts
Hi,
I'm experiencing the same issue, after the upgrade from 7.1.3 (CE) to 7.3.2 (CE), but only with cluster-link enabed.
Following my configuration:
cluster.link.enabled=true
cluster.executor.debug.enabled=true
cluster.link.autodetect.address=some-database-url:5432
cluster.link.channel.properties.control=/opt/liferay/tomcat/webapps/ROOT/WEB-INF/classes/jgroups/tcp.xml
cluster.link.channel.properties.transport.0=/opt/liferay/tomcat/webapps/ROOT/WEB-INF/classes/jgroups/tcp.xml
cluster.link.bind.addr["cluster-link-control"]=some-internal-ip
cluster.link.bind.addr["cluster-link-udp"]=some-internal-ip
ehcache.cluster.link.replication.enabled=true
ehcache.cluster.link.replication=true

Attached you can find my tcp.xml configuration. Note that the tcp.xml from 7.1.3 was a little different, with some more properties, but at first start I've got an error saying that some properties were not recognized, like https://help.liferay.com/hc/en-us/articles/360032452092-JGroups-IllegalArgumentException-After-Installing-Fix-Pack-1-on-Liferay-DXP-7-2 
I don't have Enterprise subscription so i can't read the solution from that thread, so i simply removed the unrecognized properties.

Attachments:

Jamie Sammons, modified 2 Years ago. Regular Member Posts: 131 Join Date: 7/28/17 Recent Posts

I'm getting the same error on staring liferay 7.4 on webshphere 9.0.

https://liferay.dev/ask/questions/development/error-starting-liferay-7-4-on-websphere-9-0

thumbnail
Alberto Chaparro, modified 2 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts

Hi Vishnu,

It should be fixed already in the latest version of 7.4. If not, can you provide the stacktrace, maybe it is happening in another place.

Thanks.

Vishnu S Kumar, modified 2 Years ago. Regular Member Posts: 131 Join Date: 7/28/17 Recent Posts

Here are the logs; This error shows at the begining , and the server won't start.

 


2022-12-06 20:50:33.642 WARN  [server.startup : 2][DialectDetector:82] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demonstration purposes. The database settings can be changed in portal-ext.properties.
2022-12-06 20:50:33.642 INFO  [server.startup : 2][DialectDetector:153] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.3
2022-12-06 20:50:36.386 INFO  [server.startup : 2][ModuleFrameworkImpl:1285] Starting initial bundles
2022-12-06 20:57:42.134 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 20:57:42.137 WARN  [WebContainer : 1][ServiceProxyFactory:42] No system checkers available
2022-12-06 20:58:42.138 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 20:59:42.142 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 21:00:42.144 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 21:01:42.146 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 21:02:42.148 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 21:03:42.151 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...
2022-12-06 21:04:42.153 ERROR [WebContainer : 1][ServiceProxyFactory:278] Service "com.liferay.portal.change.tracking.sql.CTSQLTransformer" is unavailable in 60000 milliseconds while setting field "_ctSQLTransformer" for class "com.liferay.portal.internal.change.tracking.hibernate.CTSQLInterceptor", will retry...