qtSwordPluginWorker - File Not Found During Local Transfer

37 views
Skip to first unread message

Bronson Chapman

unread,
Aug 8, 2025, 5:33:17 PMAug 8
to archivematica

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:

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

Douglas Cerna

unread,
Aug 8, 2025, 6:26:35 PMAug 8
to archiv...@googlegroups.com
Hello,

Could you show a long list of your /home/archivematica and /home/archivematica/atom_sword_deposit directories? Like this:

ls -ld /home/archivematica/ /home/archivematica/atom_sword_deposit

This doesn't show the contents of the directories. I'd like to see the owners of both and their permissions.

--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/archivematica/3b963753-5c39-47f7-b507-b854cc136e76n%40googlegroups.com.


--
Douglas Cerna (he/him),
Software Developer, Artefactual Systems Inc.
http://www.artefactual.com

Bronson Chapman

unread,
Aug 8, 2025, 6:32:58 PMAug 8
to archivematica
Hi Douglas, I appreciate your help! Here are the lists you requested:

ls -ld /home/archivematica/
drwxr-xr-x 3 root root 4096 Aug  5 02:22 /home/archivematica/


ls -ld /home/archivematica/atom_sword_deposit/
drwxrwx---+ 3 archivematica www-data 4096 Aug  5 07:23 /home/archivematica/atom_sword_deposit/

Cheers,
Bronson

Douglas Cerna

unread,
Aug 8, 2025, 6:46:50 PMAug 8
to archiv...@googlegroups.com
Hello Bronson,

Those permissions look fine to me.

This part of your error:

[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
made me wonder if your issue was similar to what I saw when I was working on https://github.com/artefactual/deploy-pub/pull/162. In my case the /home/archivematica directory was set as 0750 which prevented the www-data user from accessing it even when it had write permissions on the /home/archivematica/atom_sword_deposit/ directory.

But that doesn't seem to be your case. Hopefully someone in the group can suggest a solution.

Bronson Chapman

unread,
Aug 13, 2025, 2:12:47 PMAug 13
to archivematica
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