Hi Artefactual,
We've recently been batch-uploading some documents (in this case, JPG images) to our catalogue. We did this according to your documentation here:
https://www.accesstomemory.org/en/docs/2.6/admin-manual/maintenance/cli-import-export/#digital-object-load-taskAs probably the only person in our organisation with any familiarity with a Unix command line, I tested and wrote up this process for our archivist. Our upload worked fine, but he found that the files came out missing their names ("untitled" or such). The specific command line that we used for the import was this:
sudo -u www-data php symfony digitalobject:load --index --path="/var/tmp/_mattemp/" /var/tmp/_mattemp/_filelist.csv
So, regarding the "untitled" issue, we were advised by your colleague (M.C.) that we could fix the issue by forcing a reindex, as follows:
sudo -u www-data php symfony propel:build-nested-set
sudo -u www-data php symfony digitalobject:regen-derivatives --slug='REDACTED' --index
That's fine, and we can make that part of our process if necessary, but I believe this goes against your documentation, which specifically states that the "--index" parameter on "digitalobject:load" should reindex during import, and NOT require any further indexing commands afterwards.
Could you clarify this for us, please?
Paul C.