Can't delete/move/rename folders in S3 workspace
July 5, 2016 at 3:35 pm #102657
Attempting to delete/move/rename a folder that is part of a S3 workspace results in
The specified key does not exist.
I understand why this happens at the S3 level, because there are no folders in S3, simply delimiters in a object name, but something appears to be wrong with deleting at the ‘folder’ level. Is there any way around this? This is potentially a showstopper for our users.
Everything else appears to work fine in the workspace (within the constraints of this workspace type).
August 2, 2016 at 6:35 pm #103923
This issue is also preventing users from creating folders over webdav, because Windows creates a folder as “New Folder” then a rename operation fails because it can’t find the specified key. It seems like Pydio isn’t properly handling folders with S3 at all. Any thoughts on this at all? I really need to resolve this so I can push forward with rolling this out across our Org.
August 2, 2016 at 7:48 pm #103927
With the newest version of Pydio, it now says internal server error on rename operation and tells me to check the log, but the apache2 error log does not get any message generated from that action.
A delete operation in the newest version generates this error:
message=require_once(aws-v2.phar): failed to open stream: No such file or directory
August 2, 2016 at 8:05 pm #103928
I resolved both the new errors by copying the latest AWS SDK for PHP .phar file to the appropriate directory and naming it aws-v2-.phar but I am back to the specified key does not exist.
August 3, 2016 at 1:32 pm #103990
Can you please let me know the following ?
– the version of the aws sdk phar you’ve installed ? Is that the same version you’ve set as aws-v2.phar ? (You can find the list here https://github.com/aws/aws-sdk-php/releases)
– can you send me the configuration you’ve made of the s3 workspace ? (you can blank the keys).
I’ve tried reproducing it but I can’t. As you mentioned, S# doesn’t allow renaming of folders, but what pydio does to go around that limitation is copying the object to a new folder and deleting the empty old one after it’s finished. So there’s technically no reason why the renaming of new folders wouldn’t work through webdav.
Let me know,
August 3, 2016 at 1:47 pm #103991
Version 3.18.36 is what I downloaded and renamed aws-v2.phar, I dropped it in the same folder as the other .phar file, but did not overwrite the old one.
To be clear renaming, deleting, or moving doesn’t work for folders at all, webdav or web gui. I did look at the PHP file that generated the error for the missing aws-v2.phar and noticed it does specifically look for directories and cp then delete them. Which totally makes sense.
Description: Accounting shared folder.
Default Rights: Read and Write
Group Path: /
Webdav box is unchecked
Driver: S3 (Amazon Web Service)
Location: US Standard
Container: bucket/FOLDER/SUB (I don’t think the exact name matters here)
All other options are default under Driver
Lucene Search Engine
I have tried other combinations of Additional Features, using no additional features at all.. everything seems to result in the same error.
August 3, 2016 at 7:40 pm #103997
I may abandon the S3 driver, considering a fresh install has the same issue. I’m really not sure what I am doing wrong. Alternatively S3FS with the local FS driver works perfectly fine and meets my needs.
September 14, 2016 at 6:49 am #104748
Long Path tool can resolve error messages like: path too long, cannot delete file, too long path, destination path is too long, etc.
The forum ‘Plugins & Bridges’ is closed to new topics and replies.