Liferay 2026 Q1.1 LTS - Site Initializer issue

When I create a site initializer and deploy it in the liferay I got this exception .

2026-04-02 09:47:53.272 ERROR [Framework Event Dispatcher: Equinox Container: 6ae32cc7-d6cd-433c-a633-9e7b86ebed85][Framework:47] FrameworkEvent ERROR
java.lang.RuntimeException: com.liferay.portal.kernel.exception.DuplicateGroupException
	at com.liferay.site.initializer.extender.internal.SiteInitializerClientExtension.addingBundle(SiteInitializerClientExtension.java:97) ~[?:?]
	at com.liferay.site.initializer.extender.internal.SiteInitializerClientExtension.addingBundle(SiteInitializerClientExtension.java:73) ~[?:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475) ~[org.eclipse.osgi.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1) ~[org.eclipse.osgi.jar:?]
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[org.eclipse.osgi.jar:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[org.eclipse.osgi.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:890) [org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.Module.start(Module.java:467) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer.start(ModuleContainer.java:777) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:768) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:538) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:484) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:1028) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1409) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [org.eclipse.osgi.jar:?]
Caused by: com.liferay.portal.kernel.exception.DuplicateGroupException
	at com.liferay.portal.service.impl.GroupLocalServiceImpl.validateGroupKey(GroupLocalServiceImpl.java:5100) ~[portal-impl.jar:?]
	at com.liferay.portal.service.impl.GroupLocalServiceImpl.updateGroup(GroupLocalServiceImpl.java:3855) ~[portal-impl.jar:?]
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41) ~[portal-impl.jar:?]
	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:68) ~[portal-impl.jar:?]
	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48) ~[portal-impl.jar:?]

client-extensions.yml

website-initializer:
  name: Website Initializer
  oAuthApplicationHeadlessServer: website-initializer-oahs
  siteExternalReferenceCode: L_GUEST
  siteName: Liferay DXP
  type: siteInitializer
website-initializer-oahs:
  .serviceAddress: localhost:8080
  .serviceScheme: http
  name: Website Initializer OAuth Application Headless Server
  scopes:
    - Liferay.Headless.Site.everything
  type: oAuthApplicationHeadlessServer

while it’s working on 2025 Q1.9-lts .

2 Answers

2

Hi @Ahmad_Qasem,

One possibility is that it might be a known issue with 2026.q1.1-lts - you might be interested that we have just released 2026.q1.2-lts.

My suggestion would be to try with the new release.

Also, you don’t mention here whether you’re a Subscriber or not - but that might be the case given that you mention it was working with 2025.q1.9-lts (which is only available to subscribers).

If you are Subscriber you can always raise a ticket with our Support team on this sort of issue.

Cheers,

Ben

Hi @turnstok Thanks for your information , but still same issue in 2026.q1.2-lts .

Hi,

I might be a bit late to the party, but since I just figured out the (probably) exact same issue for one of our Client Extensions for the site L_GUEST, I’ll share this here.

The same DuplicateGroupException started appearing for us in 2026.q1.0-lts during validation of the groupKey. The issue was that Liferay handles the value of siteName in client-extension.yaml as groupKey, while the actual groupKey for L_GUEST is fixed at “Guest”. After changing the YAML config to siteName: Guest, our Site Initializer could be deployed again. That was not yet an issue in our previous CE 7.4 GA132 version.

So in your case, I would suggest trying it like this:

website-initializer:
  name: Website Initializer
  oAuthApplicationHeadlessServer: website-initializer-oahs
  siteExternalReferenceCode: L_GUEST
  siteName: Guest
  type: siteInitializer
website-initializer-oahs:
  .serviceAddress: localhost:8080
  .serviceScheme: http
  name: Website Initializer OAuth Application Headless Server
  scopes:
    - Liferay.Headless.Site.everything
  type: oAuthApplicationHeadlessServer