Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4465

Defining user/groups in Studio with a pure MongoDB deployment make the deployment fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Builders

      Description

      On a 9.10 server, when defining user/groups in Studio and deploying the server with a pure MongoDB configuration (directories in MongoDB), the studio project fail to deploy with the following error:

      ======================================================================
      = Starting Nuxeo Framework
      ======================================================================
        * Server home = /opt/nuxeo/server
        * Runtime home = /opt/nuxeo/server/nxserver
        * Data Directory = /var/lib/nuxeo/data
        * Log Directory = /var/log/nuxeo
        * Configuration Directory = /opt/nuxeo/server/nxserver/config
        * Temp Directory = /opt/nuxeo/server/tmp
      ======================================================================
      2018-01-04 13:51:03,800 WARN  [DirectoryRegistry] Directory template-directory redefined with different factory
      ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
      2018-01-04 13:51:14,263 ERROR [OSGiRuntimeService] Nuxeo Platform Started
      ======================================================================
      = Component Loading Status: Pending: 1 / Missing: 0 / Unstarted: 0 / Total: 481
        * service:studio.extensions.hdam requires [service:org.nuxeo.ecm.directory.sql.storage]
      ======================================================================
      

      Configuration:

      ***** Nuxeo instance configuration *****
      NUXEO_CONF: /etc/nuxeo/nuxeo.conf
      NUXEO_HOME: /opt/nuxeo/server
      Instance CLID: 110d633a-ecb5-44ae-86fb-eb0a53f3b649.1676198871.V1VqBCgCsr/hyCferP190HfYcvdsot0TWXbHbeOZwT80y25avLJPLsEi7D0WWhIigtOneCFh24O734tdRvuqp4/7bM/yZ1hXtmgCzf1iWOMF9tJrErRMW+c1QqF3lvVksdXUr2BiyXOcKpYOAEjQnrATR18WG6QTyUZWR8GD394Nfd33faU2fgMai2cC5KrbbbxJSBcz+achP2XWeMmwoTsRfmS6481XYOgJbl1AK5LJVlrLDA9ulNQCkhnluNEenZZb7ZP5Vyn9LmUcU/5VVqwn5hSHE+NbcgxML3O/aEjHuxy8rvTX+i60vWo7IY25I4iEDe7X/B3i3jDIolyh3g==--309c8a57-df31-4a1f-8ada-21117d8096b9
      ** Distribution
      - name: server
      - server: tomcat
      - version: 9.10
      - date: 201712201724
      - packaging: docker
      ** Packages:
      - nuxeo-dam (version: 6.3.3 - id: nuxeo-dam-6.3.3 - state: downloaded)
      - nuxeo-drive (version: 1.7.3 - id: nuxeo-drive-1.7.3 - state: downloaded)
      - nuxeo-liveconnect (version: 1.2.3 - id: nuxeo-liveconnect-1.2.3 - state: downloaded)
      - nuxeo-showcase-content (version: 1.2.3 - id: nuxeo-showcase-content-1.2.3 - state: downloaded)
      - nuxeo-spreadsheet (version: 1.3.3 - id: nuxeo-spreadsheet-1.3.3 - state: downloaded)
      - nuxeo-template-rendering (version: 6.7.3 - id: nuxeo-template-rendering-6.7.3 - state: downloaded)
      - nuxeo-template-rendering-samples (version: 6.7.3 - id: nuxeo-template-rendering-samples-6.7.3 - state: downloaded)
      - nuxeo-vision (version: 1.2.3 - id: nuxeo-vision-1.2.3 - state: downloaded)
      - nuxeo-web-ui (version: 2.2.0 - id: nuxeo-web-ui-2.2.0 - state: started)
      - hormel-foods-marketplace (version: 1.0.0-SNAPSHOT - id: hormel-foods-marketplace-1.0.0-SNAPSHOT - state: started)
      ** Templates:
      Database template: mongodb
      Base template: default
      Base template: docker
      Base template: default
      Base template: mongodb-audit
      ** Settings from nuxeo.conf:
      JAVA_OPTS= -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Xloggc:"/var/log/nuxeo/gc.log" -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.util.logging.config.file=/opt/nuxeo/server/conf/logging.properties
      audit.elasticsearch.enabled=true
      elasticsearch.addressList=hormel-elasticsearch:9200
      elasticsearch.client=RestClient
      elasticsearch.clusterName=nuxeo
      elasticsearch.httpEnabled=true
      elasticsearch.httpReadOnly.baseUrl=http://hormel-elasticsearch:9200
      elasticsearch.indexName=hormel-dev
      elasticsearch.indexNumberOfReplicas=0
      nuxeo.data.dir=/var/lib/nuxeo/data
      nuxeo.db.host=localhost
      nuxeo.db.name=nuxeo
      nuxeo.db.password=********
      nuxeo.db.user=nuxeo
      nuxeo.force.generation=true
      nuxeo.log.dir=/var/log/nuxeo
      nuxeo.mongodb.dbname=hormel-dev
      nuxeo.mongodb.server=mongodb://hormel-mongo-0.hormel-mongo:27017
      nuxeo.pid.dir=/var/run/nuxeo
      nuxeo.redis.enabled=false
      nuxeo.templates=default,docker,default,mongodb,mongodb-audit
      nuxeo.wizard.done=true
      server.status.key=********
      ****************************************
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dmetzler Damien Metzler
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: