Hi all!!
Need some help please! I'm trying to upload a DIP file in AtoM, but for some reason I can't do that. Some problems are occuring.
I'm using Archivematica 1.6.0 and AtoM 2.3.1 - 138
Here is the log, below:
```
==> MCPClient/atom_upload.log <==
upload-qubit.py: ERROR 2017-04-24 21:02:08,734 archivematica.upload.qubit:log:62: [uploadDIP] Target: teste
upload-qubit.py: ERROR 2017-04-24 21:02:08,735 archivematica.upload.qubit:log:62: [uploadDIP] rsync -e ssh -p <ssh port> -l archivematica --protect-args -rltz -P --chmod=ugo=rwX /var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361 <Atom_IP>:/var/lib/archivematica/tmp/
upload-qubit.py: ERROR 2017-04-24 21:02:08,736 archivematica.upload.qubit:log:62: [uploadDIP] Rsync output is being saved in /tmp/tmpVmcaQ2
upload-qubit.py: ERROR 2017-04-24 21:02:09,752 archivematica.upload.qubit:log:62: [uploadDIP] Sending... 100 (ETA: 0:00:00)
upload-qubit.py: ERROR 2017-04-24 21:02:09,756 archivematica.upload.qubit:log:62: [uploadDIP] About to deposit to: http://<Atom_IP>/index.php//sword/deposit/teste
upload-qubit.py: ERROR 2017-04-24 21:02:09,799 archivematica.upload.qubit:log:62: [uploadDIP] > Response code: 500
upload-qubit.py: ERROR 2017-04-24 21:02:09,800 archivematica.upload.qubit:log:62: [uploadDIP] > Location: None
upload-qubit.py: ERROR 2017-04-24 21:02:09,800 archivematica.upload.qubit:log:62: [uploadDIP] > Content received: <!DOCTYPE html>
<html>
<head>
<title>Error</title>
<link rel="stylesheet" type="text/css" href="/plugins/arDominionPlugin/css/main.css"/>
</head>
<body class="yui-skin-sam admin error">
<div id="wrapper" class="container">
<section class="admin-message" id="error-404">
<h2>
<img alt="" src="/images/logo.png"/>
Oops! An Error Occurred
</h2>
<p>
Sorry, something went wrong.<br />
The server returned a <code>500 Internal Server Error</code>.
</p>
<div class="tips">
<p>
<a href="javascript:history.go(-1)">Back to previous page.</a>
</p>
</div>
</section>
</body>
</html>
==> MCPServer/MCPServer.debug.log <==
DEBUG 2017-04-24 21:02:09 archivematica.mcp.server:taskStandard:check_request_status:95: Task c17ee1c4-4a4a-4249-afd8-45e91b265095 finished! Result COMPLETE - {'stdOut': '', 'exitCode': 1, 'stdError': '[uploadDIP] Response code not expected\n'}
INFO 2017-04-24 21:02:09 archivematica.mcp.server:jobChainLink:__init__:93: Running Move to the uploadedDIPs directory (unit 4d373c3c-2d4e-469c-9cd8-681cc051a361)
DEBUG 2017-04-24 21:02:09 archivematica.mcp.server:taskStandard:performTask:90: Finished performing task c17ee1c4-4a4a-4249-afd8-45e91b265095
INFO 2017-04-24 21:02:09 archivematica.mcp.server:taskStandard:performTask:71: Executing move_v0.0 {'arguments': '"%sharedPath%watchedDirectories/uploadDIP/clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/" "/var/archivematica/sharedDirectory/watchedDirectories/uploadedDIPs/."', 'createdDate': '2017-04-24 21:02:09.865364+00:00'}
==> MCPClient/MCPClient.debug.log <==
INFO 2017-04-24 21:02:09 archivematica.mcp.client:archivematicaClient:executeCommand:139: Executing move_v0.0 (29a14117-c875-4041-a553-22c70f734c9b)
INFO 2017-04-24 21:02:09 archivematica.mcp.client:archivematicaClient:executeCommand:187: <processingCommand>{29a14117-c875-4041-a553-22c70f734c9b}sudo mv "/var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/" "/var/archivematica/sharedDirectory/watchedDirectories/uploadedDIPs/."</processingCommand>
==> MCPServer/MCPServer.debug.log <==
DEBUG 2017-04-24 21:02:09 archivematica.mcp.server:taskStandard:check_request_status:95: Task 29a14117-c875-4041-a553-22c70f734c9b finished! Result COMPLETE - {'stdOut': '', 'exitCode': 0, 'stdError': ''}
INFO 2017-04-24 21:02:09 archivematica.mcp.server:jobChainLink:__init__:93: Running Store DIP? (unit 4d373c3c-2d4e-469c-9cd8-681cc051a361)
INFO 2017-04-24 21:02:09 archivematica.mcp.server:linkTaskManagerChoice:checkForPreconfiguredXML:124: Using preconfigured choice None for 5e58066d-e113-4383-b20b-f301ed4d751c
DEBUG 2017-04-24 21:02:09 archivematica.mcp.server:taskStandard:performTask:90: Finished performing task 29a14117-c875-4041-a553-22c70f734c9b
DEBUG 2017-04-24 21:02:10 archivematica.mcp.server:watchDirectory:start:88: Removed [u'clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361']
```
Here is the file `/tmp/tmpVmcaQ2`
```
$ cat /tmp/tmpVmcaQ2
sending incremental file list
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/METS.4d373c3c-2d4e-469c-9cd8-681cc051a361.xml
47,112 100% 13.68MB/s 0:00:00 (xfr#1, to-chk=5/7)
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/processingMCP.xml
4,091 100% 3.90MB/s 0:00:00 (xfr#2, to-chk=4/7)
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/objects/
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/objects/37aad1cd-5b0b-4460-abcd-57fef0c38ade-ALBERTINO_JOSE_DA_SILVA.pdf
2,770,231 100% 14.84MB/s 0:00:00 (xfr#3, to-chk=1/7)
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/thumbnails/
clasf2017_3-4d373c3c-2d4e-469c-9cd8-681cc051a361/thumbnails/37aad1cd-5b0b-4460-abcd-57fef0c38ade.jpg
1,114 100% 6.08kB/s 0:00:00 (xfr#4, to-chk=0/7)
```
I thought this was atom-worker, but this proccess is working fine:
```
$ tail -f /usr/share/nginx/atom/log/atom-worker.log
2017-04-24 15:24:22 > New ability: arGenerateFindingAidJob
2017-04-24 15:24:22 > New ability: arInheritRightsJob
2017-04-24 15:24:22 > New ability: arInformationObjectCsvExportJob
2017-04-24 15:24:22 > New ability: qtSwordPluginWorker
2017-04-24 15:24:22 > New ability: arUpdatePublicationStatusJob
2017-04-24 15:24:22 > Running worker...
2017-04-24 15:24:22 > PID 38362
```
Unfortunately, I didn't seen anything about `qtSwordPluginWorker`. Looks like sword plugin is not being reached by archivematica.
Any ideas?
best Regards,
Celso Agra