cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to download document after migration

Mohamed_Belmokh
Star Contributor
Star Contributor

Hello, I am in the process of testing a migration from Nuxeo 2017 to Nuxeo 2023. I have recently set up a new server and want to start with data migration. To do this, I made a backup of the Nuxeo 2017 database and restored it to a new database. At the same time, I also copied the nuxeo-data directory. Then I launched Nuxeo 2023 and set up the connection to the new database, making sure to point the nuxeo-data folder to its proper location. I took care to delete the Elasticsearch index so that it would be recreated by nuxeo on startup. When I connect to Nuxeo, I can see the list of documents with all their properties: name, creation date, creator etc... however when I want to download a document, it does not work. I get the following error in the console.

Point to note : The problem seems to only affect documents created before migration because if I create a new document I have no problem downloading it.

I don't understand what the problem is and how to fix it.

2024-04-12T10:45:54,513 ERROR [http-nio-0.0.0.0-8080-exec-1] [org.nuxeo.ecm.core.blob.ManagedBlob] Failed to access file: c4deb252306932ad33ffc590dbdec6fd
2024-04-12T10:46:14,560 ERROR [http-nio-0.0.0.0-8080-exec-5] [org.nuxeo.ecm.core.blob.ManagedBlob] Failed to access file: c4deb252306932ad33ffc590dbdec6fd

I don't understand what the problem is and how to fix it.
2024-04-12T10:46:14,560 ERROR [http-nio-0.0.0.0-8080-exec-5] [org.nuxeo.ecm.core.blob.ManagedBlob] Failed to access file: c4deb252306932ad33ffc590dbdec6fd
1 ACCEPTED ANSWER

Mohamed_Belmokh
Star Contributor
Star Contributor

I solved the problem by changing the tree depth in the /nuxeo-data/data/binaries/config.xml file from 2 to 3.

View answer in original post

1 REPLY 1

Mohamed_Belmokh
Star Contributor
Star Contributor

I solved the problem by changing the tree depth in the /nuxeo-data/data/binaries/config.xml file from 2 to 3.