Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27081

Redis template should not include default template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Redis

      Description

      Current the Redis template includes the default one as can be seen here:
      https://github.com/nuxeo/nuxeo/blob/10.10/nuxeo-distribution/nuxeo-nxr-server/src/main/resources/templates/redis/nuxeo.defaults#L2
      and here:
      https://github.com/nuxeo/nuxeo/blob/master/nuxeo-distribution/nuxeo-nxr-server/src/main/resources/templates/redis/nuxeo.defaults

      This prevents any use of pgsql and turns on the embedded H2:

      nuxeo@nuxeo:~/bin$ ./nuxeoctl start
      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/postgresql
      Include template: /opt/nuxeo/server/templates/docker
      Include template: /opt/nuxeo/server/templates/default
      Include template: /opt/nuxeo/server/templates/redis
      Configuration files generation (nuxeo.force.generation=true)...
      Configuration files generated.
      Server started with process ID 1314.
      

      Expected behavior: the redis template should not have a dependency on default and since other DBs like postgresql already include it there is no real need to do so.

      Workaround: remove the inclusion from the template and restart the server.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.