Closed matthewjmckinley closed 2 years ago
I'm having an issue with this one as well. Been messing with it for a while now, and I keep getting this over and over (with the item that failed to copy different each time:
021-12-03T21:46:48+00:00 ERR (3): Omeka\File\Exception\RuntimeException: Failed to copy "/tmp/omeka2f4Zlg" to "/var/www/html/katknow/OmekaSTesting/files/original/b00fb579f1f8260a781b083de96610803a845164.pdf". in /var/www/html/katknow/OmekaSTesting/application/src/File/Store/Local.php:49 Stack trace:
Apologies, I'm thinking it must be my OmekaS instance.
This one looks like it may be a directory permissions issue--can you post the output of ls -l /var/www/html/katknow/OmekaSTesting/files
?
This is what I'm getting:
total 2040 drwxr-xr-x 2 apache apache 110 Nov 15 12:07 asset -rw-rw-r-- 1 katknow katknow 79 Jun 4 13:37 index.html drwxr-xr-x 2 apache apache 430080 Dec 3 18:55 large drwxr-xr-x 2 apache apache 430080 Dec 3 18:55 medium drwxr-xr-x 2 apache apache 434176 Dec 3 18:55 original drwxr-xr-x 2 apache apache 430080 Dec 3 18:55 square
Since this is a testing instance, can you try fully opening all those directories up and see if you still get the same error? chmod -R 777 files
from your OmekaSTesting
directory. You may have to put sudo
in front and type your password as well.
I definitely think there is a problem with my instance--I unchecked the box like the Fedora, and it was able to do everything as described above!
OK, sounds like a separate issue. I'll close since it seems like this item set/site feature has tested successfully!
For both the item sets and sites chosen select box on the DSpace Connector import form, please verify:
I've been using Harvard's DSpace instance to test https://dash.harvard.edu, but feel free to test with another instance. Thanks!