<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>liferay 7.4.3.41-ga4 db_upgrade.sh  Error missing com.liferay.petra.log4j</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121511250" />
  <subtitle>liferay 7.4.3.41-ga4 db_upgrade.sh  Error missing com.liferay.petra.log4j</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121511250</id>
  <updated>2026-08-02T08:48:07Z</updated>
  <dc:date>2026-08-02T08:48:07Z</dc:date>
  <entry>
    <title>RE: liferay 7.4.3.41-ga4 db_upgrade.sh  Error missing com.liferay.petra.log4j</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121515908" />
    <author>
      <name>Mark Clarke</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121515908</id>
    <updated>2022-09-16T17:41:52Z</updated>
    <published>2022-09-16T07:25:41Z</published>
    <summary type="html">&lt;p&gt;Found the problem. Some entries in the db_upgrade property files
  where pointing to the older liferay version.&lt;/p&gt;</summary>
    <dc:creator>Mark Clarke</dc:creator>
    <dc:date>2022-09-16T07:25:41Z</dc:date>
  </entry>
  <entry>
    <title>liferay 7.4.3.41-ga4 db_upgrade.sh  Error missing com.liferay.petra.log4j</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121511249" />
    <author>
      <name>Mark Clarke</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121511249</id>
    <updated>2022-09-09T20:00:06Z</updated>
    <published>2022-09-09T19:56:10Z</published>
    <summary type="html">&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;When running the db_upgrade.sh scrit for
  liferay-ce-portal-7.4.3.41-ga41 I get the following error:&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;2022-09-09 19:27:20.828 ERROR [main][DBUpgrader:79] null
com.liferay.portal.kernel.log.LogSanitizerException: java.lang.RuntimeException: org.osgi.framework.BundleException: Could not resolve module: com.liferay.osgi.log.service.extender [19]_  Unresolved requirement: Import-Package: com.liferay.petra.log4j; version=&amp;quot;1.2.0&amp;quot;_ [Sanitized]
	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:289) ~[portal-impl.jar:?]
	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:209) ~[portal-impl.jar:?]
	at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:127) [portal-impl.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:54) [com.liferay.portal.tools.db.upgrade.client.jar:?]
Caused by: com.liferay.portal.kernel.log.LogSanitizerException: org.osgi.framework.BundleException: Could not resolve module: com.liferay.osgi.log.service.extender [19]_  Unresolved requirement: Import-Package: com.liferay.petra.log4j; version=&amp;quot;1.2.0&amp;quot;_ [Sanitized]
	at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428) ~[org.eclipse.osgi.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447) ~[org.eclipse.osgi.jar:?]
	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.lambda$_setUpInitialBundles$6(ModuleFrameworkImpl.java:1530) ~[com.liferay.portal.bootstrap.jar:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
	at java.lang.Thread.run(Thread.java:829) ~[?:?]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Near as I can tell the Petra lpkg is missing?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</summary>
    <dc:creator>Mark Clarke</dc:creator>
    <dc:date>2022-09-09T19:56:10Z</dc:date>
  </entry>
</feed>
