-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 2021.41
-
Fix Version/s: None
-
Component/s: WOPI
-
Tags:
-
Backlog priority:750
-
Story Points:3
Video conversions fail to save if you have both `nuxeo-wopi` installed + MongoDB.
I will provide a Docker Compose-based reproduction case. To reproduce:
- Download the zip
- Unzip and open a terminal in the folder
- `docker compose up` and wait for Nuxeo Server to start
- Log in (Nuxeo default creds)
- Create a workspace (default structure template)
- Upload a video
- Note: you may quickly see `org.nuxeo.ecm.core.api.ConcurrentUpdateException` in the logs; I'm not sure this is related...
- Watch the `videoConversion` queue to make sure all conversions are complete
Result: Some automatic Video conversions are not present. OOTB there are two automatic conversions (see extension point `automaticVideoConversions`), `MP4 480p` and `WebM 480p`. With `nuxeo-wopi` installed only one of them succeeds. If you have more conversions, still only one will succeed, e.g. if you install `nuxeo-ai-aws` and enable transcribe, there is an additional automatic conversion added (WAV 16K). I.e. there should be 3 automatic conversions in this case, but only 1 succeeds.
If you remove `nuxeo-wopi`, conversions work fine.
There are `org.nuxeo.ecm.core.api.ConcurrentUpdateException` errors in the log but I can't confirm if they are specifically related to this issue. E.g. I tested with H2 instead of MongoDB, I still see `org.nuxeo.ecm.core.api.ConcurrentUpdateException`, but the conversions work ok.
Workarounds:
- Remove nuxeo-wopi
- Override video conversions so that you only have one
- depends on
-
NXP-32034 Make DirtyBlobListener handle only blobs editable through WOPI
- Resolved