Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Aaron East
Upgrade from 6.06 to 6.1 no errors but fails to render
January 27, 2012 3:19 PM
Answer

Aaron East

Rank: New Member

Posts: 3

Join Date: August 9, 2010

Recent Posts

I am using the UX theme in 6.06 as the default but I am seeing this in the errors after deploying the theme and trying to get to the login screen.


16:00:23,807 ERROR [ThemeLocalServiceImpl:173] No theme found for default theme id UX_WAR_uxtheme. Returning a random theme.
16:00:23,810 WARN [ThemeLocalServiceImpl:149] No theme found for specified theme id . Returning the default theme.
16:00:23,812 ERROR [ThemeLocalServiceImpl:173] No theme found for default theme id UX_WAR_uxtheme. Returning a random theme.
16:00:23,836 ERROR [ThemeUtil:360] _SERVLET_CONTEXT_/wap/themes/mobile/templates/portal_pop_up.vm does not exist

The UX_WAR_uxtheme does exist I have it in the webapps directory but the request is failing on the last line there.

Nothing on the browser renders, it is just a blank screen
Tony Rad
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
January 27, 2012 8:22 PM
Answer

Tony Rad

Rank: Junior Member

Posts: 29

Join Date: February 25, 2011

Recent Posts

Have you redeployed the UX theme in the new appserver portal? (is there the WAR under webapps?)
If yes, can you verify to have changed from to 6.1.0 the compatibility version of the theme:

1
2<look-and-feel>
3        <compatibility>
4       [b]<version>6.1.0+</version>[/b]
5        </compatibility>

in the file docroot/WEB-INF/liferay-look-and-feel.xml of the UX plugin ? (otherwise liferay will not deploy the theme also if it is deployed in your app server.

Regards
Andrew Carne
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 1, 2012 3:25 PM
Answer

Andrew Carne

Rank: New Member

Posts: 4

Join Date: February 1, 2012

Recent Posts

I can verify having this issue as well. I have checked and the themes that I am using have the compatibility section updated to 6.1.0+.

I've tried redeploying themes, including the default sevencogs theme, but cannot get any to load. This is very frustrating and I'm not at a bit of a dead end. Any suggestions would be greatly appreciated. I've tried restoring and performing the upgrade process several times (including updating the theme before upgrading) with no success.
David H Nebinger
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 1, 2012 4:24 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11046

Join Date: September 1, 2006

Recent Posts

After re-deploying the theme, you may have to go to the look and feel for the page and re-assign it back to the ux theme...
Andrew Carne
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 1, 2012 4:27 PM
Answer

Andrew Carne

Rank: New Member

Posts: 4

Join Date: February 1, 2012

Recent Posts

If the original poster's problem is the same one I'm encountering (which based on the description and error messages it seems to be), then it is impossible to get to the look and feel page. Literally nothing displays. Trying to reach the server through the web gives a completely blank page. No HTML. No content. Nothing.
David H Nebinger
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 1, 2012 5:11 PM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11046

Join Date: September 1, 2006

Recent Posts

Well it seems to be picking a mobile theme (when it's doing the random selection) and then fails due to a missing velocity template.

Drop in either a newer UX theme or manually edit the compatibility to the 6.1.0+ and restart tomcat.

Hopefully this resolves your missing theme issue and the selection of the broken mobile theme.
Natasa Bulatovic
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 3, 2012 4:41 AM
Answer

Natasa Bulatovic

Rank: Junior Member

Posts: 28

Join Date: June 7, 2011

Recent Posts

Same problem, deploying new theme does not solve it as well.
I only have it for another theme, and get the following error messages in the log..

11:39:57,791 WARN [ThemeLocalServiceImpl:149] No theme found for specified theme id so_WAR_sotheme. Returning the default theme.
11:39:57,793 ERROR [ThemeLocalServiceImpl:173] No theme found for default theme id so_WAR_sotheme. Returning a random theme.
11:39:57,849 WARN [ThemeLocalServiceImpl:149] No theme found for specified theme id so_WAR_sotheme. Returning the default theme.
11:39:57,851 ERROR [ThemeLocalServiceImpl:173] No theme found for default theme id so_WAR_sotheme. Returning a random theme.
11:39:57,856 WARN [ThemeLocalServiceImpl:149] No theme found for specified theme id so_WAR_sotheme. Returning the default theme.
11:39:57,857 ERROR [ThemeLocalServiceImpl:173] No theme found for default theme id so_WAR_sotheme. Returning a random theme.
11:39:57,858 WARN [ThemeLocalServiceImpl:149] No theme found for specified theme id so_WAR_sotheme. Returning the default theme.
11:39:57,858 ERROR [ThemeLocalServiceImpl:173] No theme found for default theme id so_WAR_sotheme. Returning a random theme.
11:40:00,628 ERROR [ThemeUtil:360] _SERVLET_CONTEXT_/wap/themes/mobile/templates/portal_pop_up.vm does not exist

Blank page appears
Andrew Carne
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 3, 2012 2:21 PM
Answer

Andrew Carne

Rank: New Member

Posts: 4

Join Date: February 1, 2012

Recent Posts

I managed to get mine past this particular issue. Possible solutions:
  • Don't copy the lucerne folder in the data directory
  • Run the 6.1 installation without a database/data folder to allow the setup wizard to complete first. Then stop it, dump in the old database, and data directory.


Hard for me to pinpoint exactly what did it, as I was just wildly trying things, but eventually it started working.
M J
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 18, 2012 8:53 PM
Answer

M J

Rank: New Member

Posts: 5

Join Date: February 18, 2012

Recent Posts

Hi all,

This is a frustrating problem. I managed to solve it by doing the following:

a) Backup database
b) Restore database as new separate database (i.e. lportal2)
c) run the following SQL against the active database (in my case, lportal):

update lportal.layoutset set themeId = 'classic';

d) At this point, startup liferay again and re-deploy your theme. Once it's deployed, go back and run the following script:

update lportal.layoutset l, lportal2.layoutset l2 set l.themeId = l2.themeId where l.layoutSetId = l2.layoutSetId;

That did it for me.

Mark
Pavel Horal
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
February 20, 2012 10:50 AM
Answer

Pavel Horal

Rank: New Member

Posts: 14

Join Date: June 16, 2011

Recent Posts

When you install 6.1.0 from the scratch, you will go through Setup wizard, which creates portal-setup-wizard.properties in your ${liferay.home}. In this file there is one special property:
1setup.wizard.enabled=false
. So if you don't have this file, be sure to have this property in the portal-ext.properties.
Willem Vermeer
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
March 30, 2012 12:15 PM
Answer

Willem Vermeer

Rank: Junior Member

Posts: 32

Join Date: March 30, 2012

Recent Posts

Thanks everybody for posting about this issue. I encountered the same problem and fixed it as follows:

Environment: ubuntu linux with MYSQL
Problem description: after the database migration of a 6.0.3 portal to 6.1.0 the portal starts but only show an empty white page. The portal contains one custom theme. The log file indicates that the custom theme cannot be found and tries to display a random theme (mobile) which contains an error.

Solution:
- run the database migration and backup the database
- start a clean 6.1.0 portal with NO database connection - liferay will use hypersonic
- run an "ant clean build-service deploy" on the custom theme to the new 6.1.0 portal
- start the portal
- go through the basic configuration process
- stop the portal
- throw away the /data/lucene directory - this is a crucial step otherwise it will try to load the test user made during basic configuration process instead of the users in our real database
- configure webapps/ROOT/WEB-INF/classes/portal-ext.properties to point to the migrated database
- start the portal
- now the custom theme is available to the portal and the home page will display

Hope this is of some use to somebody.
Willem
Hitoshi Ozawa
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
March 31, 2012 5:47 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Seems there's already a solution to the problem but just wondering if there wasn't any error during the upgrade process. There's several report of theme not being upgraded properly.

http://www.liferay.com/community/forums/-/message_boards/message/12106059
Rafael Martínez Soler
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
October 11, 2012 2:32 AM
Answer

Rafael Martínez Soler

Rank: New Member

Posts: 12

Join Date: December 9, 2009

Recent Posts

We have the same problem:

09:20:19,055 WARN [http-8080-1][ThemeLocalServiceImpl:149] No theme found for specified theme id XXX_WAR_XXXheme. Returning the default theme.
09:20:19,194 WARN [http-8080-1][ThemeLocalServiceImpl:149] No theme found for specified theme id XXX_WAR_XXXtheme. Returning the default theme.
09:20:19,206 WARN [http-8080-1][ThemeLocalServiceImpl:149] No theme found for specified theme id XXX_WAR_XXXtheme. Returning the default theme.
09:20:19,211 WARN [http-8080-1][ThemeLocalServiceImpl:149] No theme found for specified theme id XXX_WAR_XXXtheme. Returning the default theme.

and nothing on the browser......

The update process from 6.0 to 6.1 is really a bad bad process, because the custom theme is a key feature on any liferay deployment in production systems.
Rafael Martínez Soler
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
October 16, 2012 9:23 AM
Answer

Rafael Martínez Soler

Rank: New Member

Posts: 12

Join Date: December 9, 2009

Recent Posts

Well done Mark !

This solve our problem. You are a "Liferay Legend" for us...

Thank you sooooo much
maryam maryam masoudy
RE: Upgrade from 6.06 to 6.1 no errors but fails to render
December 23, 2012 2:47 AM
Answer

maryam maryam masoudy

Rank: Regular Member

Posts: 149

Join Date: October 30, 2011

Recent Posts

hi i have same problem

1
2 WARN [ThemeLocalServiceImpl:129] No theme found for specified theme id goli_WAR_goli. Returning the default theme.
309:45:40,662 WARN [ThemeLocalServiceImpl:129] No theme found for specified theme id goli_WAR_goli. Returning the default theme.
409:45:45,450 WARN [ThemeLocalServiceImpl:129] No theme found for specified theme id goli_WAR_goli. Returning the default theme


Rafael could resolve his problem but i donot understand what he did ?
who can explain more for me ?