CSV Import, Amazon S3, Archive Repertory

Omeka 3.2

CSV upload kept failing (“stopped”). Turning on error reporting, this turned up:

2026-03-02T04:44:55-08:00 ERR (3): [CsvImport][#14] Stopped import or undo import due to error: Uncaught Error: Call to undefined method Omeka_Storage_Adapter_AmazonS3::getOptions() in /home/vfc/vtfolklifearchive.org/collections/plugins/ArchiveRepertory/ArchiveRepertoryPlugin.php:918
Stack trace:
#0 /home/vfc/vtfolklifearchive.org/collections/plugins/ArchiveRepertory/ArchiveRepertoryPlugin.php(534): ArchiveRepertoryPlugin->_getLocalStoragePath()
#1 /home/vfc/vtfolklifearchive.org/collections/plugins/ArchiveRepertory/ArchiveRepertoryPlugin.php(377): ArchiveRepertoryPlugin->getFullArchivePaths()
#2 /home/vfc/vtfolklifearchive.org/collections/plugins/ArchiveRepertory/ArchiveRepertoryPlugin.php(261): ArchiveRepertoryPlugin->getFullArchivePath(‘original’)
#3 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Plugin/Broker.php(154): ArchiveRepertoryPlugin->hookAfterSaveFile(Array)
#4 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Record/AbstractRecord.php(302): Omeka_Plugin_Broker->callHook(‘after_save_file’, Array)
#5 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Record/AbstractRecord.php(549): Omeka_Record_AbstractRecord->runCallbacks(‘afterSave’, Array)
#6 /home/vfc/vtfolklifearchive.org/collections/application/models/File.php(469): Omeka_Record_AbstractRecord->save()
#7 /home/vfc/vtfolklifearchive.org/collections/application/models/Job/FileProcessUpload.php(23): File->storeFiles()
#8 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Job/Dispatcher/Adapter/Synchronous.php(25): Job_FileProcessUpload->perform()
#9 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Job/Dispatcher/Default.php(137): Omeka_Job_Dispatcher_Adapter_Synchronous->send(‘{“className”:"J…’, Array)
#10 /home/vfc/vtfolklifearchive.org/collections/application/models/File.php(236): Omeka_Job_Dispatcher_Default->send(‘Job_FileProcess…’, Array)
#11 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Record/AbstractRecord.php(281): File->afterSave(Array)
#12 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Record/AbstractRecord.php(549): Omeka_Record_AbstractRecord->runCallbacks(‘afterSave’, Array)
#13 /home/vfc/vtfolklifearchive.org/collections/application/models/Item.php(338): Omeka_Record_AbstractRecord->save()
#14 /home/vfc/vtfolklifearchive.org/collections/application/models/Builder/Item.php(205): Item->saveFiles()
#15 /home/vfc/vtfolklifearchive.org/collections/application/libraries/globals.php(567): Builder_Item->addFiles(‘Url’, ‘https://vtfolkl…’, Array)
#16 /home/vfc/vtfolklifearchive.org/collections/plugins/CsvImport/models/CsvImport/Import.php(739): insert_files_for_item(Object(Item), ‘Url’, ‘https://vtfolkl…’, Array)
#17 /home/vfc/vtfolklifearchive.org/collections/plugins/CsvImport/models/CsvImport/Import.php(593): CsvImport_Import->_addItemFromRow(Array)
#18 /home/vfc/vtfolklifearchive.org/collections/plugins/CsvImport/models/CsvImport/Import.php(336): CsvImport_Import->_importLoop(0)
#19 /home/vfc/vtfolklifearchive.org/collections/plugins/CsvImport/models/CsvImport/ImportTask.php(39): CsvImport_Import->start()
#20 /home/vfc/vtfolklifearchive.org/collections/application/libraries/Omeka/Job/Process/Wrapper.php(29): CsvImport_ImportTask->perform()
#21 /home/vfc/vtfolklifearchive.org/collections/application/scripts/background.php(61): Omeka_Job_Process_Wrapper->run(Array)
#22 {main}
thrown in /home/vfc/vtfolklifearchive.org/collections/plugins/ArchiveRepertory/ArchiveRepertoryPlugin.php line 918

Deactivated Archive Repertory and it succeeded.

Files are located in S3 bucket and were accessible.

Three questions:

  1. Is this error something I should be concerned with?
  2. If so, is it correctable?
  3. What is the recommended approach for including S3 links in a CSV for upload via CSV Import or CSV Import+? In this case I:
  • Uploaded the files into a S3 directory dedicated to the associated collection
  • Added the URL for each file to a “file” field
  • Selected “file” from the associated tick box

Thanks!

There are no special requirements for including S3 links in a CSV import: like any other link to a file in a CSV used for import, the URL has to point directly to the file and has to be accessible for the server to download it. Note that this just means CSV Import will download the file from there, then when it’s added to your site it will be stored however your site is set to store things (in your case it looks like you have it set up to use S3 storage, so it will then re-upload the file and the thumbnails, etc. to your configured S3 bucket for storage).

The error looks like its some incompatibility between Archive Repertory and the S3 storage option. I don’t have enough familiarity with Archive Repertory to say more than that. If you don’t need Archive Repertory’s features then there should be no issue deactivating it. I don’t think there’s any issue with how you were doing the import.