Skip to Content
0
Former Member
Dec 19, 2018 at 12:13 PM

Error master tenant upgrading 6.4 to 1808 when updating system

1134 Views

Hello, I followed the steps of the documentation to update from version 6.4 to 1808, one by version. But I can not update the system (HAC> Update) due to this error, the update log is blocked and it does not continue until I manually stop the Hybris process. Therefore, the update does not finish correctly and the system is corrupted .

 ERROR [impex result worker [cj:00002WXW-ImpEx-Import]] [Registry] cannot activate tenant <<master>> since its database connection is currently lost
 ERROR [ImpExWorker<5/8>] [FlexibleSearch] line 11 at main script: Flexible search error occured...
 ERROR [ImpExWorker<5/8>] [FlexibleSearch] line 12 at main script: Flexible search error occured...
 ERROR [impex result worker [cj:00002WXW-ImpEx-Import]] [PoolableThread] Problems executing impex result worker [cj:00002WXW-ImpEx-Import] : could not switch tenant to <<master>> 
 java.lang.IllegalStateException: could not switch tenant to <<master>>
     at de.hybris.platform.core.Registry.activateTenant(Registry.java:721)
     at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:566)
     at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:626)
     at de.hybris.platform.core.Registry.activateMasterTenantAndFailIfAlreadySet(Registry.java:614)
     at de.hybris.platform.util.threadpool.ThreadPool.setTenant(ThreadPool.java:79)
     at de.hybris.platform.util.threadpool.PoolableThread.internalRun(PoolableThread.java:206)
     at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:134)
 
 ERROR [ImpExWorker<2/8>] [Registry] line 7 at main script: cannot activate tenant <<master>> since its database connection is currently lost
 ERROR [ImpExWorker<2/8>] [FlexibleSearch] line 7 at main script: Flexible search error occured...
 INFO  [ImpExWorker<2/8>] [DefaultImportProcessor] Failed to process item update due to ModelSavingException. Retrying in the next turn.
 WARN  [ImpExWorker<3/8>] [Registry] line 9 at main script: Activating tenant master after connection had been broken. In a clustered environment this node may be out of sync with the rest of the cluster in case of complete network outage!
 WARN  [ImpExWorker<5/8>] [JaloSession] There are some active local session contexts left (4) for tenant master, this might indicate there are not properly freed localsession context instances.
 INFO  [ImpExWorker<1/8>] [ImpExWorker] Returning worker impex worker 1/8 [cj:00002WXW-ImpEx-Import] to the pool
 


The environment starts correctly with the database (SQLServer) and this is a copy of the production environment (in production there are two servers in cluster for hyrbis more one for SQLServer) I do not know what more information to give to solve this.

I have tried set Registry current tenant to master and nothing

Thank you very much and greetings.