Batch upload: why is reindexing required if we supplied an index parameter?

Skip to first unread message

Paul Collins

Sep 12, 2022, 8:09:02 PM9/12/22
to AtoM Users
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:

As 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.

Dan Gillean

Sep 13, 2022, 8:14:05 AM9/13/22
to ICA-AtoM Users
Hi Paul, 

You are correct - if the --index option works as expected, then you should not have to re-index via any other task afterwards. 

However, thanks to a previous forum thread where someone else reported this issue last year, we found a bug with this particular task option and have documented it here: 
As you will see, this issue has been fixed in the upcoming 2.7 release. The changes are fairly minor, as seen in the related pull request

Sorry for the confusion!


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
he / him

You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages