-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Duplicate
-
Affects Version/s: 10.10
-
Fix Version/s: None
-
Component/s: Redis
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.
- duplicates
-
NXP-27080 Templates shouldn't include the "default" template
- Resolved