Nuxeo 5.5 Admin Center Issue

Just upgraded 5.4.2 to 5.5-RC1 and the theme looks fine on the Document Management pages, but in the admin center the header links and overall theme is broken. All of the links are white and cannot be seen except for the link for my currently logged in user's name. Is this a known issue?

0 votes

3 answers

834 views

ANSWER

Several issues are mixed up here, do you still have the problem now that Studio has been upgraded?
01/03/2012



It seems like in the admin center you're still using the old theme, referencing presets that are not there anymore. In 5.5 default themes do not declare CSS information anymore, so we removed the corresponding presets. This reference might be kept by a custom theme, if you used the theme editor. Can you try removing (after backup) the directory at server_home/nxserver/data/themes, restart the server and check again?

0 votes



I checked and the themes directory does not exist in my nxserver/data dir. Only things in the data dir are: installAfterRestart-CMF.log, installAfterRestart-SC.log, installAfterRestart-DAM.log, and installAfterRestart-DM.log. I did a quick search for all theme and themes directories in my $TOMCAT_HOME, not sure if I should delete any of these though. Here are the results of the finds: http://pastebin.com/JSmQjEtH
12/17/2011

$NUXEO_HOME/nxserver/data is the default data directory, but you likely customized it in your $NUXEO_CONF.
12/19/2011


I just did about an hour ago, and still am experiencing the same problem. Breaks on Firefox and Chrome. Looks like it might have something to do with the table that is the header, and the line:

.nxStyle1556971572SectionFrame {
background: “topbar (Galaxy Admin backgrounds)“;
}

which is crossed out by the browser.

0 votes



I will try later tonight (if i can) to upgrade a 5.4.2 instance with the release version and see what happens. Have you customized the theme at all? Did you have any of the 5.4.2 hot fixes applied?
12/15/2011

Yes, I had HF-04 applied. The only theme customization I did was through a plugin jar in the $TOMCAT/nxserver/plugins directory that I deployed, which I did not migrate over. All I did was connect it to my db and data dirs.
12/15/2011

Also, I just used Studio to implement a new theme, the only items I changed were the logo and the login page (remove header, footer, news, add bg logo). After doing the hot update, my application unexpectedly crashes, and I can't navigate to any pages. Here's the error (I can post the full one if needed):
12/15/2011

(continuation char limit reached)

stackTrace : javax.servlet.ServletException: java.io.IOException: Error while rendering [THEME lime_design_lime_design, PAGE default, ENGINE default, TEMPLATE jsf-facelets, PERSPECTIVE default, MODE *]
...
...
Caused by: java.io.IOException: Error while rendering [THEME lime_design_lime_design, PAGE default, ENGINE default, TEMPLATE jsf-facelets, PERSPECTIVE default, MODE *]
    at org.nuxeo.theme.protocol.nxtheme.Connection.getInputStream(Connection.java:94)
...
12/15/2011

Please use something like http://friendpaste.com/ to post the stack traces. Did you check if the upgrade was fine, before applying again the theme/studio customization?
12/16/2011

I did an upgrade of 5.4.2 to 5.5, but I did get a single (already reported) error. That is, Nuxeo 5.5 apparently requires Postgresql 8.4+ (is this documented somewhere?) because it uses the unnest function (which is on available in 8.4+).

When I started the server with postgresql 8.3 there was an error in the log and the admin panel looked strange and eventually kept throwing error pages.

So I went through the process on backing up databases, uninstalling 8.3, installing 8.4 and then re-creating and restoring databases.

And then everything worked happily.

12/16/2011

Hi, The above stack trace seems to be linked to hot reload: please try again after restarting the server. Also note that Studio is currently not completely up to date for the 5.5 release (we've added some features for themes, and it impacts Studio configuration). A new version more suitable for 5.5 will be put online in the coming days.
12/16/2011

I should note that I did the upgrade on a Windows 7 workstation. And I created an upgrade document as I went (which I will post later today on my blog at concena.com). Cheers, Bruce.
12/16/2011

@bruce: I'm running postgresql v9.0.5, so that wouldn't be my issue. I did backup the db, but I will try destroying and restoring them and post back here. My upgrade was on Ubuntu 10.04 LTS, just fyi. @Anahide: I figured that was the problem, I'll try manual install and reload and post back here. Thanks for the responses.
12/16/2011

I updated to postgresql 9.1, recreated db's, and restored with still no change. I tried the manual install of the theme and that fixed the crashing issue, but the presets in Studio revert the look back to the 5.4.2 theme with some anomalies. Best way to fix the new theme is to change what's needed in nuxeo-platform-webapp-5.4.2.jar and redeploy as a custom plugin. Still doesn't fix Admin Center layout issues though.
12/17/2011


Don't know if this is an issue, but you may want to retry the upgrade with the actual 5.5 release available today. Download. Release Overview.

0 votes