cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot add hotfix on a newly installed nuxeo 6.0 (Nuxeo doesn't restart)

apx25_
Champ on-the-rise
Champ on-the-rise

Encountered problem

I can not start nuxeo 6.0 after installing hotfixes. The problem occurs on a newly installed 6.0 Nuxeo platform. The operation is correct before patch installation. After uninstalling the patch, starting the server becomes possible and the operation is correct again ...

More details :

After initial installation and server start

Connection and some tests (Administrator account) ==> OK

[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl showconf
Detected Tomcat server.
Nuxeo home:          /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Nuxeo configuration: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
***** Nuxeo instance configuration *****
NUXEO_CONF: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
NUXEO_HOME: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Instance CLID: ab4bb3c1-bc3e-........
** Distribution
- name: cap
- server: tomcat
- version: 6.0
- date: 201412051100
- packaging: zip
** Packages:
- nuxeo-template-rendering (version: 6.4.0 - id: nuxeo-template-rendering-6.4.0 - state: downloaded)
- nuxeo-diff (version: 1.5.0 - id: nuxeo-diff-1.5.0 - state: downloaded)
- nuxeo-drive (version: 1.4.1 - id: nuxeo-drive-1.4.1 - state: downloaded)
- nuxeo-dam (version: 6.0.0 - id: nuxeo-dam-6.0.0 - state: started)
- nuxeo-web-mobile (version: 1.6.0 - id: nuxeo-web-mobile-1.6.0 - state: downloaded)
- nuxeo-spreadsheet (version: 1.0.0 - id: nuxeo-spreadsheet-1.0.0 - state: downloaded)
- nuxeo-drive (version: 1.4.4 - id: nuxeo-drive-1.4.4 - state: started)
** Templates:
Database template: postgresql
Package template: drive
** Settings from nuxeo.conf:
nuxeo.directory.type=multi
server.status.key=********
JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
nuxeo.templates=postgresql,drive
nuxeo.bind.address=0.0.0.0
nuxeo.pid.dir=/var/log/nuxeo60
nuxeo.log.dir=/var/log/nuxeo60
nuxeo.wizard.done=true
nuxeo.loopback.url=http://127.0.0.1:8080/nuxeo
nuxeo.data.dir=/binaires/data
nuxeo.db.name=nuxeopreprod_2
org.nuxeo.dev=false
nuxeo.force.generation=true
.......

Hotfix installation :

[nuxeopp@nux-60-preprod conf]$ $NUXEO_HOME/bin/nuxeoctl mp-install nuxeo-6.0-HF01-1.0.0

... and Nuxeo can't start :

[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl start &
[3] 13291
[nuxeopp@nux-60-preprod ~]$ Detected Tomcat server.
Nuxeo home:          /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Nuxeo configuration: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
Configuration files generation (nuxeo.force.generation=true)...
Configuration files generated.
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
Server started with process ID 13369.
.............................................................................................................................................................................................................................................................................
Starting process is taking too long - giving up.

Some commands failed:


server.log :

2015-10-09 16:47:51,590 ERROR [http-bio-0.0.0.0-8080-exec-52] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo].[Nuxeo Status Servlet]] "Servlet.service()" pour la servlet Nuxeo Status Servlet a généré une exception
java.lang.NullPointerException
        at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

Removing the Hotfix :

[nuxeopp@nux-60-preprod conf]$ $NUXEO_HOME/bin/nuxeoctl mp-remove nuxeo-6.0-HF01-1.0.0

... and Nuxeo starts again.

I encounter the same problem using the admin GUI or with the following commands:

[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl mp-hotfix
...
[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl mp-purge
...

Postgresql database is newly created and empty before the Nuxeo installation.

There are no messages indicating a problem with this database, both during the Nuxeo install or when installing hotfixes

I can't see what is wrong on this server. (?)

Thanks for your help.

Patrice

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.