What is the correct way to make Nuxeo work with MongoDB and Elasticsearch?

Hello everyone, I just configured Nuxeo (LTS 2019) to work with Elasticsearch (6.5.3) and MongoDB (3.6.8), Nuxeo works fine with these two servers now, but every time Nuxeo starts, I found these logs in the server.log file :

======================================================================
2021-03-12T21:32:43,983 WARN  [main] [org.nuxeo.ecm.directory.DirectoryRegistry] Directory template-directory redefined with different factory
2021-03-12T21:32:56,933 ERROR [Quartz_Scheduler] [org.quartz.core.QuartzSchedulerThread] quartzSchedulerThreadLoop: RuntimeException null
java.lang.NullPointerException: null
    at com.novemberain.quartz.mongodb.dao.JobDao.requestsRecovery(JobDao.java:104) ~[quartz-mongodb-2.0.0-NX3.jar:?]
    at com.novemberain.quartz.mongodb.cluster.TriggerRecoverer.doRecovery(TriggerRecoverer.java:65) ~[quartz-mongodb-2.0.0-NX3.jar:?]
    at com.novemberain.quartz.mongodb.TriggerRunner.acquireNextTriggers(TriggerRunner.java:127) ~[quartz-mongodb-2.0.0-NX3.jar:?]
    at com.novemberain.quartz.mongodb.TriggerRunner.acquireNext(TriggerRunner.java:66) ~[quartz-mongodb-2.0.0-NX3.jar:?]
    at com.novemberain.quartz.mongodb.MongoDBJobStore.acquireNextTriggers(MongoDBJobStore.java:398) ~[quartz-mongodb-2.0.0-NX3.jar:?]
    at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:287) [quartz-2.3.0.jar:?]
2021-03-12T21:33:03,545 INFO  [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started
======================================================================

And when, I do “reindex elasticsearch” via Nuxeo Dev Tools, I end up with the following logs in the “server.log” file:

2021-03-12T21:35:27,909 WARN  [http-nio-0.0.0.0-8080-exec-2] [org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl] Initializing index: nuxeo, type: doc with dropIfExists flag, deleting an existing index
2021-03-12T21:35:28,662 WARN  [Nuxeo-Work-elasticSearchIndexing-4:45056446652613.1902754401] [org.nuxeo.elasticsearch.work.ScrollingIndexingWorker] Re-indexing job: /elasticSearchIndexing:45056446652613.1902754401 has submited 108 documents in 1 bucket workers
2021-03-12T21:35:28,686 WARN  [Nuxeo-Work-elasticSearchIndexing-2:45056588645226.1776105949] [org.nuxeo.elasticsearch.work.BucketIndexingWorker] Re-indexing job: /elasticSearchIndexing:45056446652613.1902754401 completed.
2021-03-12T21:35:28,952 WARN  [Nuxeo-Work-elasticSearchIndexing-3:45056546205249.1778442182] [org.nuxeo.ecm.core.blob.binary.LocalBinaryManager] cannot fetch content at /opt/nuxeo-server/nxserver/data/binaries/data/39/58/3958bda93441bdfe9b4e0a2f16869eaf (file does not exist), check your configuration
2021-03-12T21:35:28,985 WARN  [Nuxeo-Work-elasticSearchIndexing-3:45056546205249.1778442182] [org.nuxeo.ecm.core.blob.binary.LocalBinaryManager] cannot fetch content at /opt/nuxeo-server/nxserver/data/binaries/data/40/e0/40e0c306dd4e3b6493dcb293051a7482 (file does not exist), check your configuration
2021-03-12T21:35:29,002 WARN  [Nuxeo-Work-elasticSearchIndexing-3:45056546205249.1778442182] [org.nuxeo.ecm.core.blob.binary.LocalBinaryManager] cannot fetch content at /opt/nuxeo-server/nxserver/data/binaries/data/42/f2/42f2833c14da5177c0c52523200819a8 (file does not exist), check your configuration
2021-03-12T21:35:29,010 WARN  [Nuxeo-Work-elasticSearchIndexing-3:45056546205249.1778442182] [org.nuxeo.ecm.core.blob.binary.LocalBinaryManager] cannot fetch content at /opt/nuxeo-server/nxserver/data/binaries/data/97/dd/97dd6ae79e4e6f3cb868b7cef4d4f8bb (file does not exist), check your configuration
2021-03-12T21:35:29,021 WARN 
….

Please does anyone have any idea what's going on?

0 votes

0 answers

80 views

ANSWER