Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Error on Portal DB upgrade from 7.3 to 7.4 using db upgrade tool
We are running into an error while upgrading our portal database (in SQL Server) from 7.3 to 7.4 and here is the error we see in the db upgrde tool report/logs.
Upgrade report Details:
Portal initial build number: 7310
 Portal initial schema version:
  8.18.4
 Portal final build number: 7413
 Portal final schema
  version: 26.4.0
 Portal expected build number: 7413
 Portal
  expected schema version: 26.4.0
Type: major
Result: failure
Status: There are upgrade processes available for
  com.liferay.user.associated.data.web from 1.0.0 to 1.1.0
  
Error from Log:
2024-01-23 15:21:49.527 ERROR
  [main][UpgradeStepRegistratorTracker:178] Failed upgrade process for
  module com.liferay.user.associated.data.web
  com.liferay.portal.kernel.upgrade.UpgradeException:
  com.liferay.portal.configuration.persistence.listener.ConfigurationModelListenerException:
  The listener
  com.liferay.user.associated.data.web.internal.configuration.persistence.listener.AnonymousUserConfigurationModelListener
  was unable to save configuration
  com.liferay.user.associated.data.web.internal.configuration.AnonymousUserConfiguration:
  null
         at
  com.liferay.portal.configuration.persistence.internal.upgrade.ConfigurationUpgradeStepFactoryImpl.lambda$createUpgradeStep$0(ConfigurationUpgradeStepFactoryImpl.java:114)
  ~[?:?]
         at
  com.liferay.portal.upgrade.internal.executor.UpgradeExecutor._executeUpgradeInfos(UpgradeExecutor.java:189)
  ~[bundleFile:?]
         at
  com.liferay.portal.upgrade.internal.executor.UpgradeExecutor.executeUpgradeInfos(UpgradeExecutor.java:135)
  ~[bundleFile:?]
         at
  com.liferay.portal.upgrade.internal.executor.UpgradeExecutor.execute(UpgradeExecutor.java:107)
  ~[bundleFile:?]
         at
  com.liferay.portal.upgrade.internal.registry.UpgradeStepRegistratorTracker$UpgradeStepRegistratorServiceTrackerCustomizer.addingService(UpgradeStepRegistratorTracker.java:175)
  [bundleFile:?]
         at
  com.liferay.portal.upgrade.internal.registry.UpgradeStepRegistratorTracker$UpgradeStepRegistratorServiceTrackerCustomizer.addingService(UpgradeStepRegistratorTracker.java:117)
  [bundleFile:?]
  
Any pointers will be very helpful!
Thanks,
Hi Sandhya,
  
 Can you review your osgi/confis folder and your Configuration_
  table to see if there is something that is causing this?