Problem with DIP upload

311 views
Skip to first unread message

Gessy Junior

unread,
Sep 9, 2016, 2:50:35 PM9/9/16
to AtoM Users
Hi

I'm trying upload DIP from archivematica and from dashboard DIP upload completes successfully

But look in atom-worker log:

Job 449 "qtSwordPluginWorker": A new job has started to being processed.
Job 449 "qtSwordPluginWorker": A package was deposited by reference.
Job 449 "qtSwordPluginWorker": Location: file:///Test_13-805990e0-8ad3-4276-a7f7-aaa0ab13285a
Job 449 "qtSwordPluginWorker": Processing...
Job 449 "qtSwordPluginWorker": Object slug: teste-de-dip-upload-archivematica-atom-13
Job 449 "qtSwordPluginWorker": Exception: File/directory does not exist or is not readable: /tmp/Test_13-805990e0-8ad3-4276-a7f7-aaa0ab13285a.
Job failed: File/directory does not exist or is not readable: /tmp/Test_13-805990e0-8ad3-4276-a7f7-aaa0ab13285a.

The error seems a permission issue but  atom can to write on /tmp. I don't know why Test_13-805990e0-8ad3-4276-a7f7-aaa0ab13285a. has not been created.

Has anyone had this kind of problem?

Thanks a lot
Gessy

Dan Gillean

unread,
Sep 12, 2016, 7:48:10 PM9/12/16
to ICA-AtoM Users
Hi Gessy,

What version of AtoM, and what version of Archivematica are you using? I assume you've already followed the instructions in the Archivematica docs to configure the two? Have you ensured that the SWORD plugin is enabled via Admin > Plugins? Have you made sure that AtoM's job scheduler is installed correctly, and that the worker is running?

Instructions for enabling plugins are here:

Instructions for installing and configuring the job scheduler are here:

You can check the status of the worker, or restart your services, with these commands:

  • sudo start atom-worker
  • sudo stop atom-worker
  • sudo restart atom-worker
  • sudo status atom-worker
If you have checked that the job scheduler is installed and configured properly, you could try restarting the atom-worker - although I suspect you are correct, that there is some kind of permissions issue going on, rather than the job scheduler being the problem. Worth checking everything though!

Have you tried resetting the file permissions? If you have followed our default installation instructions, it is the www-data user who requires permissions. Try:
  • sudo chown -R www-data:www-data /usr/share/nginx/atom

I will also ask our Archivematica team members to take a look and see if they have further suggestions.


Regards,

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/c62042a0-18af-4b7b-afc1-9b7e96fd333f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dh...@artefactual.com

unread,
Sep 12, 2016, 8:19:37 PM9/12/16
to AtoM Users

Hi Gessy,

Also if you haven't already, have a look at this page

https://www.archivematica.org/en/docs/archivematica-1.5/admin-manual/installation/dashboard-config/#admin-dashboard-atom

Possibly a step in the process (generate SSH key for Archivematica server archivematica user / create AtoM server archivematica user / authorized_users on AtoM server archivematica account) has been missed? Should be able to test something like

archivematica-server% sudo -u archivematica ssh archivematica@atom-server "touch /tmp/write-to-atom-tmp-test"


       Dave Hume, Artefactual Systems Administrator

har...@gmail.com

unread,
Feb 16, 2017, 6:55:11 AM2/16/17
to AtoM Users
Hi Gessy

I'm struggling with the upload from Archivematica to Atom as you were in September last year. My symptoms seem to be the same as yours. I have ploughed through the documentation for hours with no solution in sight.

Did you ever find a solution to the problem? If so and if you're able to recall, could you please share it with me?

2017-02-16 03:45:25 > Job 464 "qtSwordPluginWorker": A new job has started to being processed.
2017-02-16 03:45:25 > Job 464 "qtSwordPluginWorker": A package was deposited by reference.
2017-02-16 03:45:25 > Job 464 "qtSwordPluginWorker": Location: file:///A-93230eea-b251-409c-ac98-ddc52ecad509
2017-02-16 03:45:25 > Job 464 "qtSwordPluginWorker": Processing...
2017-02-16 03:45:25 > Job 464 "qtSwordPluginWorker": Object slug: a
2017-02-16 03:45:25 > Job 464 "qtSwordPluginWorker": Exception: File/directory does not exist or is not readable: /tmp/A-93230eea-b251-409c-ac98-ddc52ecad509.
2017-02-16 03:45:26 > Job failed: File/directory does not exist or is not readable: /tmp/A-93230eea-b251-409c-ac98-ddc52ecad509.

Any help would be hugely appreciated!

best regards
Harald

marvin...@gmail.com

unread,
Oct 6, 2017, 11:55:47 AM10/6/17
to AtoM Users
I have the same problem in my Atom installation. 
There are something to correct in some setting?

Dan Gillean

unread,
Oct 6, 2017, 12:26:05 PM10/6/17
to ICA-AtoM Users
Hi Marcos, 

First, let's start by ruling out basic configuration steps. I've included a detailed set of links for all of the initial configuration that must be set up in this thread: 
Please start by double-checking everything listed there, to ensure that your two installations are properly configured. If you find any relevant messages in the log files I list there, please share them here. 

As noted earlier in this thread, it does sound as if this is a filesystems permissions issue. The thread I've linked above does have instructions on how to double-check that the proper user, www-data, has the necessary permissions on your AtoM server. Note as well David Hume's SSH test in this thread, above - have you tried running a quick SSH test to see if you can create a test file via SSH from your Archivematica server to your AtoM server's /tmp directory? If no, please try it now. If yes, what was the result? Were you able to create the file?

Any more information you can provide us about your particular installation will be helpful as well. What version of Archivematica and AtoM do you have installed? What operating system are you using? Are they on the same server, or different servers? Have you followed our recommended installation instructions, or have you made any changes - and if yes, then what changes? What version of PHP are you using with AtoM?

Once you have checked the steps in the linked thread and shared as many details as you can, we should be able to offer further suggestions if the issue is not yet resolved. 

Regards, 



Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.

Marcos Vinícius B. de Souza

unread,
Oct 6, 2017, 1:57:55 PM10/6/17
to ica-ato...@googlegroups.com
Hi Dan.
To clarify, I am using Archivematica 1.6.1 and Atom 2.4.0

Reading the documentation, I had understood that I have 2 options to do the DIP upload to Atom: 1) just doing a HTTP post; 2) via rsync.

I had configured just the fields 'upload url', 'login email', 'login password' and 'Atom version'. With these settings, the upload did not work.
So I started to do the 'rsync instructions'. I did the ssh keys and configure it in the servers, after that, the transfer worked, but in the Atom side happened the error '[info] [2017-10-06 09:12:34] Job 482 "qtSwordPluginWorker": Exception: File/directory does not exist or is not readable: /tmp/vamosver2-b4714676-19fa-4f67-894a-e2241f52b8ca.'
After some time, I configured the 'rsync target' field with the value 'archiv...@10.0.2.16:/tmp' and then, 'magically', the upload to Atom worked.

I think that, in the archivematica documentation, this integration between Archivematica and Atom must be better clarified to avoid this kind of problems. Searching for resolutions of my problem, it seems that there are another people with the same error.

Thanks for your attention.



To post to this group, send email to ica-ato...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/shM3sPuvSMA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-users+unsubscribe@googlegroups.com.

To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

For more options, visit https://groups.google.com/d/optout.



--
MVBS

Dan Gillean

unread,
Oct 6, 2017, 2:01:56 PM10/6/17
to ICA-AtoM Users
Hi Marcos, 

I'm glad to hear that you have gotten this to work! I appreciate your feedback - I agree that the Archivematica docs could be better clarified on these steps. Hearing what you understood from the current documentation, what you tried, and what eventually worked will no doubt help us to clarify this further. I will be passing this thread on to the Archivematica team for review. Thank you for updating the thread with your solution and suggestions! 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory




--
MVBS

--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
Reply all
Reply to author
Forward
0 new messages