Hi,
I have installed Archivematica 1.4.1. I am able to access the dashboard using the IP address of the machine and the Storage Service using IP:8000. Now I am trying to test the system.
In the storage service > spaces I created a location:
Purpose: Transfer Source
Pipeline: Archivematica on archivematica
Relative Path: home/user1/Documents
When I try to transfer from Archivematica dashboard I get an error: copying /var/archivematica/SharedDirectory/tmp/someDir/test
I thought it was something with permissions and changed the permissions on /var/archivematica to ugo+rw (recursive). It did not solve the issue. Then I found this article
https://projects.artefactual.com/issues/8540 about bug N8540, checked the space.py file at line 449. The file contains the required chmod.
I have found the following message in storage_service_debug.log:
ERROR 2015-09-15 22:20:30 django.request.tastypie:resources:_handle_500:295: Internal Server Error: /api/v2/location/ac9552e7-2357-44bc-95c6-209b35c5a1c1/
Traceback (most recent call last):
File "/usr/share/python/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 217, in wrapper
response = callback(request, *args, **kwargs)
File "/usr/share/python/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 468, in dispatch_detail
return self.dispatch('detail', request, **kwargs)
File "/usr/share/python/archivematica-storage-service/local/lib/python2.7/site-packages/tastypie/resources.py", line 491, in dispatch
response = method(request, **kwargs)
File "./locations/api/resources.py", line 366, in post_detail
destination_space=destination_space,
File "./locations/models/space.py", line 237, in move_to_storage_service
source_path, destination_path, destination_space, *args, **kwargs)
File "./locations/models/local_filesystem.py", line 38, in move_to_storage_service
return self.space._move_rsync(src_path, dest_path)
File "./locations/models/space.py", line 390, in _move_rsync
raise StorageException(s)
StorageException: Rsync failed with status 23: sending incremental file list
rsync: opendir "/home/user1/Documents/files_bag/data" failed: Permission denied (13)
delta-transmission disabled for local transfer or --whole-file
bag-info.txt
bagit.txt
manifest-md5.txt
tagmanifest-md5.txt
data/
total: matches=0 hash_hits=0 false_alarms=0 data=793
sent 1,142 bytes received 170 bytes 2,624.00 bytes/sec
total size is 793 speedup is 0.60
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
I think it is a permission thing. And also I am getting the following output
drwxrwx--- 2 archivematicadashboard archivematica 4096 Sep 16 14:27 tmpBnJsjC
when I run ls -l in /var/archivematica/sharedDirectory/tmp. As you can see the owner of the newly created and not accessible folder tmpBnJsjC is archivematicadashboard despite the parent folder is set to user1.
What could be wrong? Please, help to solve the issue. Thanks in advance