cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo cluster with Nuxeo drive

pnux_
Confirmed Champ
Confirmed Champ

Hello,

We have Nuxeo Drive (4.4.3) installed on our workstations. We have 2 Nuxeo servers wich are clustered with HaProxy in front.

We have an external application that will create a document in Nuxeo and add a file to it.

With our application, when we drop a file in Nuxeo, the application automatically executes the url allowing to edit a file (nxdrive://edit ...). This should open libreOffice on our computer.

The problem is that the file does not open every time.

Sometimes it happens that the file is added from the Nuxeo 2 while the editing (nxdrive: // edit ...) of the file is done by the Nuxeo 1. With the synchronization time between the Nuxeo 1 and 2, the document is present on the 2 Nuxeo but the attached file is not yet present on the Nuxeo 1, so we get a message in the Nuxeo Drive's log: nxdrive.direct_edit No blob associated with xpath 'file: content' for file '/ default-domain / workspaces / xxxx'

After a few seconds, the file is present on the 2 Nuxeos, so we can open it correctly.

When the file is added to the Nuxeo 1 and the editing (nxdrive: // edit ...) goes through the Nuxeo 1, we don't have this problem.

Our plans :

  • 3 retries every X seconds or
  • modify our code to force the session ID during calls
1 ACCEPTED ANSWER

Ankush_Bandil
Confirmed Champ
Confirmed Champ

Hi pnux, I got the same issue and this is how I fixed it. Add below properties in your nuxeo.conf file.

repository.clustering.enabled=true
repository.clustering.delay=1000
repository.clustering.id=170
repository.clustering.invalidation=pubsub

nuxeo.pubsub.provider=stream

Along with that you have to configure Kafka as well.

View answer in original post

2 REPLIES 2

Ankush_Bandil
Confirmed Champ
Confirmed Champ

Hi [pnux](https

Ankush_Bandil
Confirmed Champ
Confirmed Champ

Hi pnux, I got the same issue and this is how I fixed it. Add below properties in your nuxeo.conf file.

repository.clustering.enabled=true
repository.clustering.delay=1000
repository.clustering.id=170
repository.clustering.invalidation=pubsub

nuxeo.pubsub.provider=stream

Along with that you have to configure Kafka as well.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.