When do the wizard selections in Nuxeo CAP get expanded?

I have noticed that the files contained in the $NUXEO_HOME/setupWizardDownloads do not get expanded correctly to my running image of v5.5.

The symptom is missing mail folders in the running v5.5 image.

If I look inside the file 324ec3b7ec77a01cd299d0cb852060a1, which is nuxeo-dm-5.5.jar, in the above directory I see the files needed for mail folders, however when I look inside the $NUXEO_HOME/nxserver/bundles (after running the start-up wizard and starting nuxeo) folder I do not see these files. Renaming the above file to force a download of a “new” nuxeo-dm-5.5.jar has no effect, the digest number wasn't changed in the $NUXEO_HOME/packages.xml file.

https://jira.nuxeo.com/browse/NXP-8164 has been submitted for this problem on 12/12/2011.

Should I be seeing an error in the log?

Do these Warnings/Errors (see below) in the server.log file give a clue?

2011-12-23 10:30:02,864 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:30:35,475 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:30:35,623 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:30:52,445 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:56:36,118 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:56:46,678 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:56:46,893 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:57:06,330 ERROR [org.nuxeo.launcher.config.ConfigurationGenerator] Template 'collaboration' not found with relative or absolute path (/zaxisapps/beta/nuxeo-cap-5.5-to
mcat/templates/collaboration). Check your nuxeo.templates parameter, and nuxeo.template.includes for included files.
2011-12-23 10:58:05,565 WARN  [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] Entering compatibility mode - Please update the deployment-fragment.xml in nuxeo-pl
atform-login-digest-5.5.jar to use new dependency management
2011-12-23 10:58:05,719 WARN  [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] Entering compatibility mode - Please update the deployment-fragment.xml in nuxeo-pl
atform-wi-backend-5.5.jar to use new dependency management
2011-12-23 10:58:05,772 WARN  [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] Entering compatibility mode - Please update the deployment-fragment.xml in nuxeo-we
bdav-5.5.jar to use new dependency management
2011-12-23 10:58:05,782 WARN  [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] Entering compatibility mode - Please update the deployment-fragment.xml in zaxis-do
cument-managemen.jar to use new dependency management
0 votes

1 answers

1925 views

ANSWER



The wizard selections are deployed at restart. There must be corresponding information in console.log file.
The WARN messages about compatibility mode are not relevant.
The ERROR messages about missing “collaboration” template give a clue on what should be there, but is not…

Was it a new VM of Nuxeo 5.5 or an upgrade from an earlier version using APT upgrade? What did you check in the wizard?
Also, could you paste the result of “nuxeoctl mp-list” command in order to know what is effectively deployed and/or installed in your Nuxeo? Then, you will be able to fix the issue using nuxeoctl or the Admin Center.

0 votes



I'm using CENTOS Linux, no APT upgrade. I do have a 5.4.2 version of Nuxeo running which was stopped and the appropriate environment variables (NUXEO_HOME) set to point to the v5.5 folder. The v5.5 was started via nuxeoctl wizard command and the DM and Social Collaboration boxes were checked, also the PostgreSQL database was pointed to the database used on version 5.4.3.
12/28/2011

The following was displayed in the Download portion of the nuxeoctl wizard:

Advanced Document Management (DM)

(nuxeo-dm-5.5.zip)   (already in local)
Standard Content Browser
(nuxeo-content-browser-5.5.zip)   (already in local)
Social Collaboration (SC)
(nuxeo-sc-5.5.0-HF00.zip)   (already in local)
12/28/2011

Using nuxeoctl mp-list, as suggested, I notice several hot fixes from version 5.4.2 are downloaded and some of them are in a "started" state co-mingled with e the v5.5 nuxeo-dm as local packages see snippet in next comment.
12/28/2011

……

started DM-5.4.2-HF07 (id: DM-5.4.2-HF07-1.1.0)

started nuxeo-dm (id: nuxeo-dm-5.5.0-I20111202_0016)

started DM-5.4.2-HF04 (id: DM-5.4.2-HF04-1.0.0)

started DM-5.4.2-HF02 (id: DM-5.4.2-HF02-1.0.0)

downloaded nuxeo-cmf (id: nuxeo-cmf-5.5.0) ……….

12/28/2011

I uninstalled "gently" all the 5.4.2 "HF" files and now the nuxeoctl mp-list shows:

……. No package waiting for install.

Local packages:

started zaxis-document-managemen (id: zaxis-document-managemen-0.0.0-SNAPSHOT)

started nuxeo-content-browser (id: nuxeo-content-browser-1.0.0)

started nuxeo-social-collaboration (id: nuxeo-social-collaboration-5.5.0- I20111207_0016)

started nuxeo-dm (id: nuxeo-dm-5.5.0-I20111202_0016)

The email folders are not available.

12/28/2011

It seems you used a date-based release (5.5.0-I20111202_0016), maybe there's an issue in the version comparison explaining that nuxeo-dm-5.5.0 was not installed (I'm looking at it and will create a Jira if confirmed).<br><br> What you can do right now is:

  • backup ${nuxeo.data.dir}/packages directory
  • run "nuxeoctl mp-reset" to reset all packages to DOWNLOADED state
  • remove all 5.5.0-I2011* using "nuxeoctl mp-remove"
  • reinstall the wanted packages/modules using "nuxeoctl mp-install" (the command accepts both paths to packages or package IDs)
12/28/2011

Note we are currently working at improving those new features, thanks a lot for your feedback.
12/28/2011

FWIW to install v5.5 I downloaded the nuxeo-cap-5.5-tomcat-offline.zip file.

Unzipped the file to a empty folder. Changed $NUXEO_HOME to point to the directory now containing unzipped nuxeo-cap-5.5-tomcat-offline.zip. Ran $NUXEO_HOME/bin/nuxeoctl wizard selecting dm and social collaboration as well as verifying the PostgreSQL settings pointed to the appropriate database. Then waited for the start, logged in, and there are still no mail folders available.

Question: Where are the versions of nuxeo-cap-5.5-tomcat.zip that contain "non-dated" versions of dm and the other .jar files?

12/28/2011

You got it if downloaded from http://www.nuxeo.com/downloads/. The date-based jars must come from another install and have been stored in ${nuxeo.data.dir}/packages/store/. As you use an existing data directory (which is the right procedure for an upgrade), there's a confusion about what is effectively installed in your server.<br> If you check in nxserver/bundles/, you won't see any date-based jar, do you?<br> "nuxeoctl mp-reset" aims at manually fixing that issue before we will have improved the process.
12/28/2011

Very good Julien!

I followed the procedure above and now have a clean v5.5 running with mail folders and I've added a "custom" bundle I've created and it seems to work.

I will try a clean install after I check a few of the features in v5.5.

Thank You,

Karl

12/28/2011