<?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>Messy theme deployment</title>
  <link rel="self" href="https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=73595787" />
  <subtitle>Messy theme deployment</subtitle>
  <id>https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=73595787</id>
  <updated>2026-05-30T15:07:27Z</updated>
  <dc:date>2026-05-30T15:07:27Z</dc:date>
  <entry>
    <title>RE: Messy theme deployment</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=74102473" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=74102473</id>
    <updated>2016-05-11T18:46:35Z</updated>
    <published>2016-05-11T18:46:35Z</published>
    <summary type="html">So the 10155#10195#12064 points to a structure or template (not sure which).  Something has been defined as a FM template that&amp;#39;s in the process of evaluating when it hits the line(s).&lt;br /&gt;&lt;br /&gt;The last exception points to Bkg.getData(), so there&amp;#39;s something going on here outside of Liferay, I believe.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2016-05-11T18:46:35Z</dc:date>
  </entry>
  <entry>
    <title>Theme causing freemarker error</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=74085150" />
    <author>
      <name>Yodahe Zemichael</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=74085150</id>
    <updated>2016-05-11T13:57:41Z</updated>
    <published>2016-05-11T13:57:41Z</published>
    <summary type="html">Dear David,&lt;br /&gt;Thanks for the helpful comments.&lt;br /&gt;I was finally able to rollback the db changes and solve the LayoutSet error. I have learned my lesson and never get into production portal tables in the db.&lt;br /&gt;Now, after successfully deploying the theme and applied it to a site/page, whenever I click on the &amp;#34;Add&amp;#34; button for new apps/components, the following error comes up:&lt;br /&gt;ERROR [http-bio-8080-exec-152][runtime:96] Template processing error: &amp;#34;Expression left is undefined on line 88, column 47 in 10155#10195#12064.&amp;#34;&lt;br /&gt;Expression left is undefined on line 88, column 47 in 10155#10195#12064.&lt;br /&gt;The problematic instruction:&lt;br /&gt;----------&lt;br /&gt;==&amp;gt; ${left.getData()} [on line 88, column 45 in 10155#10195#12064]&lt;br /&gt;----------&lt;br /&gt;&lt;br /&gt;Java backtrace for programmers:&lt;br /&gt;----------&lt;br /&gt;freemarker.core.InvalidReferenceException: Expression left is undefined on line 88, column 47 in 10155#10195#12064.&lt;br /&gt;&lt;br /&gt;The weird part is my theme template is not even freemarker, it is velocity and even after clearing everything I have on portal_normal.vm except for the dockbar, I still get this error when I click on the add button.&lt;br /&gt;This error, apparently, doesn&amp;#39;t stop the left vertical bar from appearing, however, it disables me from dragging or adding any component from it onto the page. The left bar is basically non responsive.&lt;br /&gt;PS: Attached stacktrace</summary>
    <dc:creator>Yodahe Zemichael</dc:creator>
    <dc:date>2016-05-11T13:57:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Messy theme deployment</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73608687" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73608687</id>
    <updated>2016-04-28T05:29:19Z</updated>
    <published>2016-04-28T05:29:19Z</published>
    <summary type="html">If you still have the 6.2 CE instance, then I guess you still have that DB available or are you saying you completely switched over to EE already?&lt;br /&gt;&lt;br /&gt;Again, you don&amp;#39;t want to touch the database.  Not at all.  No good will come from it, I&amp;#39;ve had to roll back too many times because of hosing up data.&lt;br /&gt;&lt;br /&gt;You can undeploy the theme by removing it completely from webapps folder.  Stop tomcat after undeploy and delete the contents of the temp and work dirs (to make sure it&amp;#39;s gone).&lt;br /&gt;&lt;br /&gt;Likely Liferay will retain some memory of the old theme even though it&amp;#39;s gone.  An easy &amp;#34;fix&amp;#34; would be to rename your theme - the new name wouldn&amp;#39;t conflict with whatever DB records are giving you problems.&lt;br /&gt;&lt;br /&gt;Ideally, though, if you still have the 6.2 CE instance and you haven&amp;#39;t yet switched over to EE, well I&amp;#39;d still consider dumping your EE database and redoing the upgrade again from the CE side.  If you&amp;#39;re worried about content, well you could export those as LARs so you can import them after the upgrade completes.&lt;br /&gt;&lt;br /&gt;When your DB gets into an inconsistent or unstable state, problems you see can simply be the tip of the iceberg.  I&amp;#39;d worry more about the problems that lie beneath the surface that you haven&amp;#39;t run into yet.  If you haven&amp;#39;t completed the switch, you still have time to change the direction of the ship before you strike the berg.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2016-04-28T05:29:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Messy theme deployment</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73607051" />
    <author>
      <name>Yodahe Zemichael</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73607051</id>
    <updated>2016-04-28T04:49:27Z</updated>
    <published>2016-04-28T04:49:27Z</published>
    <summary type="html">Thanks for your response. Advises taken.&lt;br /&gt;The application Server is Tomcat 7.0.42&lt;br /&gt;Our backup is a little outdated, so backing up may do more harm than good.&lt;br /&gt;We still have 6.2CE GA2&lt;br /&gt;Yes I have tried many restarts &lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;&lt;br /&gt;Server has 32GB RAM and we rarely run into OOM problems even on our dev environments after we increased the Memory Args on the LifeRay server settings.&lt;br /&gt;Is there someway to remove theme related info from the database? Or atleast the LayoutSet error...?</summary>
    <dc:creator>Yodahe Zemichael</dc:creator>
    <dc:date>2016-04-28T04:49:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Messy theme deployment</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73596270" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73596270</id>
    <updated>2016-04-28T00:10:41Z</updated>
    <published>2016-04-28T00:10:41Z</published>
    <summary type="html">Welcome.&lt;br /&gt;&lt;br /&gt;What application server are you using?  Do you have a backup of the database that you can roll back to and re-apply the update?  Which EE service pack are you using for your target environ?&lt;br /&gt;&lt;br /&gt;So I typically don&amp;#39;t use the Liferay UI for deployments.  I may be old school, but I prefer copying war file up to the remote server and then moving into the deploy folder to let Liferay pick it up.  When you&amp;#39;re in a cluster you really should be deploying this way anyway to ensure all nodes receive the update.&lt;br /&gt;&lt;br /&gt;Hopefully you have the database backup, but the important takeaway here is never, ever modify the database directly.  Although it may seem like an easy way to &amp;#34;fix&amp;#34; things, unless you have a solid understanding of the data model and the impact that changes can have, you can quickly get your environ into an unresponsive state.&lt;br /&gt;&lt;br /&gt;For the theme issue, did you try any restarts?  Tomcat has a particularly nasty issue in that after some number of hot deploys you can get into an OOM scenario that only a restart can resolve.  Personally I always recommend after every deployment, do a restart just to make sure the environ is clean.  In your local dev environ, well there I say just let it run until you hit the OOM exceptions and then do the restart.  You just don&amp;#39;t want to wait for an OOM to creep into your higher environs, so doing a restart helps avoid them.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2016-04-28T00:10:41Z</dc:date>
  </entry>
  <entry>
    <title>Messy theme deployment</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73595786" />
    <author>
      <name>Yodahe Zemichael</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73595786</id>
    <updated>2016-04-27T21:41:10Z</updated>
    <published>2016-04-27T21:41:10Z</published>
    <summary type="html">Hi guys,&lt;br /&gt;Long time lurker here.&lt;br /&gt;We had LifeRay 6.2 CE for a year in our institution and we are on the process of upgrading to EE.&lt;br /&gt;Let me describe the series of unfortunate events that led to this post.&lt;br /&gt;We have been used to exporting our portlets to &amp;#34;WAR&amp;#34; files and installing them via Control Panel because&lt;br /&gt;1. The RemoteIde portlet that we use to upload new portlets to our server was no longer functional.&lt;br /&gt;2. We cannot install new ones because MarketPlace portlet no longer works.&lt;br /&gt;So anyways that was fine for a while and still is except for theme portlets.&lt;br /&gt;What happened was during the last of many deployments of a theme under continuous modifications, we started getting the &amp;#34;No theme found the specified themeid&amp;#34; error and reverting to the default theme. Our deployed portlet is successfully copied to the Webapps dir but the error remains. At this point, I made the unfortunate decision to delete a row in the table &amp;#34;LayoutSet&amp;#34; in the db to try and manually remove traces of the old/undeployed theme. Now whenever I tried to open a page on that specific site I am slapped with &lt;br /&gt;&amp;#34;...NoSuchLayoutSetException: No LayoutSet exists with the key {groupId=...&amp;#34; exception.&lt;br /&gt;Any advice on how to get out of this predicament?&lt;br /&gt;&lt;br /&gt;PS: attached stacktrace</summary>
    <dc:creator>Yodahe Zemichael</dc:creator>
    <dc:date>2016-04-27T21:41:10Z</dc:date>
  </entry>
</feed>
