cancel
Showing results for 
Search instead for 
Did you mean: 

Error in nuxeo service installed with Arken API

Jaesung_Yoo
Champ in-the-making
Champ in-the-making

Hi, I am practicing as the following article. https://www.nuxeo.com/blog/drive-the-cattle-with-rancher-and-arken/

The following command will add the stack normally.

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
  "name": "nxio-000001",
  "domain": "arken.test.devio",
  "config": {
    "rancherInfo": {
      "templateId": "community:nuxeo:0"
    },
    "passivation": {
      "delayInSeconds": 43200
    }
  }
}' 'http://172.30.1.48:8888/api/v1/services'

However, the nuxeo image will not run normaly. Below is the contents of the error log.

Include template: /opt/nuxeo/server/templates/sql Include template: /opt/nuxeo/server/templates/postgresql Include template: /opt/nuxeo/server/templates/docker org.nuxeo.connect.update.PackageException: Package(s) nuxeo-web-mobile not available on platform version server-9.2 (relax is not allowed) /docker-entrypoint.sh: line 12: [ -n: command not found /docker-entrypoint.sh: ignoring /docker-entrypoint-initnuxeo.d/* mkdir: cannot create directory ‘/data’: Permission denied /opt/nuxeo/server/bin/nuxeoctl: line 207: /data/nuxeo/log//nuxeoctl.log: No such file or directory /opt/nuxeo/server/bin/nuxeoctl: line 219: /data/nuxeo/log//nuxeoctl.log: No such file or directory log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /data/nuxeo/log/console.log (No such file or directory) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.(FileOutputStream.java:213) at java.io.FileOutputStream.(FileOutputStream.java:133) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526) at org.apache.log4j.LogManager.(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283) at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:108) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040) at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645) at org.nuxeo.launcher.NuxeoLauncher.(NuxeoLauncher.java:331) log4j:ERROR Either File or DatePattern options are not set for appender [FILE]. Detected Tomcat server. Nuxeo home: /opt/nuxeo/server Nuxeo configuration: /etc/nuxeo/nuxeo.conf Include template: /opt/nuxeo/server/templates/common-base Include template: /opt/nuxeo/server/templates/common Include template: /opt/nuxeo/server/templates/sql Include template: /opt/nuxeo/server/templates/postgresql Include template: /opt/nuxeo/server/templates/docker org.nuxeo.connect.update.PackageException: Package(s) nuxeo-web-mobile not available on platform version server-9.2 (relax is not allowed) /docker-entrypoint.sh: ignoring /docker-entrypoint-initnuxeo.d/* /docker-entrypoint.sh: line 12: [ -n: command not found mkdir: cannot create directory ‘/data’: Permission denied /opt/nuxeo/server/bin/nuxeoctl: line 207: /data/nuxeo/log//nuxeoctl.log: No such file or directory /opt/nuxeo/server/bin/nuxeoctl: line 219: /data/nuxeo/log//nuxeoctl.log: No such file or directory log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /data/nuxeo/log/console.log (No such file or directory)

0 REPLIES 0