[Cross post from archivematica forum] qtSwordPluginWorker - File Not Found During Local Transfer

23 views
Skip to first unread message

Bronson Chapman

unread,
Aug 11, 2025, 11:04:06 AMAug 11
to AtoM Users

Hello,

I'm currently troubleshooting an issue with getting Archivematica to successfully upload/display a DIP on Atom. I'm hoping someone can help confirm whether this is a configuration problem or a known issue with the SWORD deposit process.

Environment Details:

  • OS: Ubuntu 22.04.5 LTS

  • Archivematica: 1.17.1

  • Atom (AtoM): 2.8.1 - 193

  • Storage Service: 0.23.0

Local server setup (nginx):

In Archivematica, the transfer and ingest processes complete successfully with no errors, and Archivematica is able to find the Atom slug and begin the DIP upload. However, the qtSwordPluginWorker fails with the following error log:

[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Job started.
[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Parameters: {"format":"http:\/\/purl.org\/net\/sword-types\/METSArchivematicaDIP","location":"file:\/\/\/fpcc-test-004-fe5e17e6-1c96-49eb-b723-b7c5fb1875fc","suggested_name":null,"objectId":"834","name":"qtSwordPluginWorker","id":"854"}
[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": A package was deposited by reference.
[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Location: file:///fpcc-test-004-fe5e17e6-1c96-49eb-b723-b7c5fb1875fc
[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Processing...
[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Object slug: fpcc-test
[info] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Processing complete, deleting "/home/archivematica/atom_sword_deposit/fpcc-test-004-fe5e17e6-1c96-49eb-b723-b7c5fb1875fc"
[err] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Exception: File not found: /home/archivematica/atom_sword_deposit/fpcc-test-004-fe5e17e6-1c96-49eb-b723-b7c5fb1875fc
[err] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": File: /usr/share/nginx/atom/lib/AccessToMemory/Path.php
[err] [2025-08-08 09:20:30] Job 854 "qtSwordPluginWorker": Line: 152

Archivematica AtoM DIP Upload Configuration:

  • Upload URL: http://localhost:3000/index.php

  • Login email / password: confirmed correct for Atom admin user

  • AtoM version selected: 2.x

  • Rsync target / command: None

  • Debug mode: Enabled

  • REST API key: confirmed correct

  • SWORD deposit directory: /home/archivematica/atom_sword_deposit (Configured following the guidance at https://www.accesstomemory.org/en/docs/2.8/user-manual/administer/settings/#sword-directory)

    • In addition, I have tried using /var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/ and /var/archivematica/sharedDirectory/watchedDirectories/uploadedDIPs/ as SWROD deposit directories without any luck
I believe the issue is with my SWORD deposit directory, is this the correct location to find the file for a local transfer without rsync? If so, is it possible the file is being deleted prematurely before Atom can process it?

Thanks in advance for your time and any guidance.

Cheers,
Bronson

Alberto Pereira

unread,
Aug 11, 2025, 1:16:09 PMAug 11
to ica-ato...@googlegroups.com
Hi,

check that the file is actually in the target folder: /home/archivematica/atom_sword_deposit/.
If it is, it's very likely that atom (the linux user www-data, apache or php-fpm, depending) does not have permissions to access it.

--
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 ica-atom-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ica-atom-users/efb3475f-fde1-4ef9-b8bf-9719af7106dcn%40googlegroups.com.

Bronson Chapman

unread,
Aug 13, 2025, 2:13:25 PMAug 13
to AtoM Users
Hello, 

I just wanted to give an update after I had (admittedly with a hack) solved my issue. For some reason the DIP was just simply not being found/moved to the Atom SWORD deposit directory, so I had to create a bash script to automate the process of moving the stored DIP to the SWORD directory, and setting correct permissions such the the DIP could be manipulated by Archivematica/Atom. Although this process requires 2 ingests, it successfully displayed media to Atom and the qtSwordPluginWorker completed successfully.
Reply all
Reply to author
Forward
0 new messages