upload to atom failed

156 views
Skip to first unread message

charles....@gmail.com

unread,
Dec 13, 2016, 12:11:28 PM12/13/16
to AtoM Users
Dip upload failed.
Error:

Task UUID: d1f318fc-1a33-469c-81dc-6bfb396122dd
File UUID:
File name: test-e7c88bc9-7027-4f09-a840-05cd7411ef0b
Client: archivematica1_2
  (exit code: 1)
Start time: ‎13‎/‎12‎/‎2016‎ ‎15‎:‎09‎:‎37
End time: ‎13‎/‎12‎/‎2016‎ ‎15‎:‎09‎:‎37
Created time: ‎13‎/‎12‎/‎2016‎ ‎15‎:‎09‎:‎37
Duration: < 1 second(s)
Command: upload-qubit_v0.0 --url="http://192.168.0.103/index.php/" --email="myemail" --password="passwd" --version="2" --debug --uuid="e7c88bc9-7027-4f09-a840-05cd7411ef0b"

STDERR

[uploadDIP] Response code not expected
    

Any ideas?

Dan Gillean

unread,
Dec 13, 2016, 12:40:31 PM12/13/16
to ICA-AtoM Users
Hi Charles,

What version of AtoM are you using? What version of Archivematica? Are they installed on the same server, or different ones? Have you followed the recommended installation instructions for each, or are there variations?

Additionally, have you enabled the SWORD plugin in AtoM via Admin > Plugins, and followed the configuration instructions listed in the Archivematica Admin and User manuals, here?

I'm less familiar with Archivematica error reports than I would like, but glancing at this, it looks like the command attempted to upload to the home page (http://192.168.0.103/index.php/), rather than to a specific target description. Usually for DIP upload, you need to provide the slug (e.g. permalink - the unique part of the URL) of an existing archival description in AtoM - the DIP upload process will then create stub item-level records below the target description and attach the DIP objects to these. You can then supplement the descriptions further or alter the arrangement as needed via the AtoM user interface. Did you enter a slug during the AtoM DIP upload process?

Once we have a bit more information, I'll ask my colleagues on the Archivematica project to see if they have further suggestions.

Cheers,


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.
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/589ab6fc-249b-4bd8-8c35-8b6e4a376406%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

CARMINATISOUND

unread,
Dec 13, 2016, 2:00:35 PM12/13/16
to ica-ato...@googlegroups.com
Atom 2.3
Am 1.5
On two diferente servers.
Could it be permissions on the upload folder? Which folder is it?

Sword is enabled
Tried with onle the Target description and got the same error.

Is there a command line way tô check if the ssh connection between the servers is working?


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/1GsLemVvCe8/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-ato...@googlegroups.com.

CARMINATISOUND

unread,
Dec 13, 2016, 3:59:53 PM12/13/16
to ica-ato...@googlegroups.com
Ok, I am getting there.
I was able to upload the data to /tmp using rsync , it is there... but doesn't show on atom...

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/1GsLemVvCe8/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.

David Hume

unread,
Dec 13, 2016, 4:22:13 PM12/13/16
to AtoM Users

Hi Charles - sounds like you may have already proven this with your cli test, but one I like to use to make sure the "permission flow" is working that DIP upload uses (I'm gathering here 192.168.0.103 is the AtoM server); from your Archivematica server shell account

sudo -u archivematica ssh archiv...@192.168.0.103 "touch /tmp/preDipTest"

and that empty test file should be in the AtoM server /tmp/ directory along with your successful rsync test.


Also, may be clues in any recent messages in the atom worker log, which I believe you'll find at <atom_home>/log/worker.log


Regards,

     Dave Hume, Artefactual Systems Administrator
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@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/1GsLemVvCe8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@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.

CARMINATISOUND

unread,
Dec 13, 2016, 4:35:50 PM12/13/16
to ica-ato...@googlegroups.com
How do I check if atom worker is running? Is there a way to restart it? I don't have a worker.log file

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.

David Hume

unread,
Dec 13, 2016, 4:44:40 PM12/13/16
to AtoM Users

True, the log file might be in a different location.

To see if it is running, I usually check

ps -elf | egrep job

and there should be at least one process that ends in "symfony jobs:worker". If not, you should be able to go

sudo start atom-worker

which should run the following file you can look at

cat /etc/init/atom-worker.conf

within which the variable LOGFILE should be defined to say where your worker log file actually resides.


      Dave H.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@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.

CARMINATISOUND

unread,
Dec 13, 2016, 4:50:59 PM12/13/16
to ica-ato...@googlegroups.com
Something  is wrong on my installation
root@atomvm1://var/www/html/atom# sudo start atom-worker
start: Unknown job: atom-worker

Which part should I reinstall to fix this?

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.

CARMINATISOUND

unread,
Dec 13, 2016, 5:09:02 PM12/13/16
to ica-ato...@googlegroups.com
I was able to get everything working by running sudo php symfony jobs:worker ...
Now how do I set this to run on startup?

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.

David Hume

unread,
Dec 13, 2016, 5:29:15 PM12/13/16
to AtoM Users

Hi - are there any files /etc/init/*atom* or /etc/init/*worker* ?

(Sorry if I missed this being answered above, but are you running on Ubuntu and if so which version... sounds like you do have 'upstart' process management per your response, e.g. if you type

sudo status cron

you should receive confirmation cron is running with a process id)


Thanks,

     Dave H.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@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.

Dan Gillean

unread,
Dec 13, 2016, 5:30:47 PM12/13/16
to ICA-AtoM Users
This might help - 2.3 instructions for job scheduler installation and worker management: 

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.
Visit this group at https://groups.google.com/group/ica-atom-users.

CARMINATISOUND

unread,
Dec 13, 2016, 5:39:41 PM12/13/16
to ica-ato...@googlegroups.com
Ubuntu server 14.04

don't have any of those files on /etc/init

charles@atomvm1:~$ sudo status cron
[sudo] password for charles:
cron start/running, process 1180

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.

David Hume

unread,
Dec 14, 2016, 2:44:32 PM12/14/16
to AtoM Users

Hi Charles - not sure if you've tried yet but looks like the page Dan's pointed at (https://www.accesstomemory.org/docs/2.3/admin-manual/installation/asynchronous-jobs/) should take care of that part, including an example creation of /etc/init/atom-worker.conf (which should be all you need for the AtoM worker to automatically launch on startup).

If you're still having any problems after that, definitely let us all know here!


Cheers,

    Dave Hume
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@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.
Reply all
Reply to author
Forward
0 new messages