You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
files_external: folders cannot be created in Amazon S3 mounts #10501
I'm also affected by this problem (OC 7.0.2; S3 external storage; encryption enabled). Creating files in the mounted folder via web-interface works, creating folders fails with the above error message.
I don't know if it is related, but uploading both files and folders with the desktop sync client into the mounted folder also fails with
{"app":"files_external","message":"A header you provided implies functionality that is not implemented","level":3,"time":"2014-09-11T18:24:46+00:00"}
{"app":"remote","message":"Encryption library: Decryption (symmetric) of content failed","level":4,"time":"2014-09-11T18:24:57+00:00"}
{"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/virtual\/prs\/html\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-09-11T18:24:57+00:00"}
I'm happy to open a separate issue if you think that's something different.
I just created a new instance of ownCloud 8.0.2-0 through Bitnami and I cannot create folders on the S3 bucket. I can upload files through the web interface, but I upload, nor create folders. It gives me this error:
Could not create folder
Error when creating the folder
Also when I try to sync a folder to the S3 mount through the owncloud desktop app on OSX it errors when it tries to upload the directors. But it uploads the files just fine.
I've messed around with applying different policies to users and groups on AWS that I saw mentioned in forum posts but nothing works.
Small update. So I resized the instance OwnCloud was on. Meaning a shut down and restart. Then it started to allow me to create folders on the S3 bucket and also sync everything just fine!
But now I cannot delete folders on the S3 bucket!
All it says is:
Could not delete: folder name
Folders can be deleted if it is synced through the desktop app.
It seems this problem only occurs when you add an S3 bucket in a different location from "US standard". For instance when one creates a bucket in "eu-central-1" (Frankfurt), you cannot create folders.
This is a shame as using buckets in US Standard significantly lowers the upload and download speeds from Europe.
I get the same error @andrenarchy originally provided when trying to create folders in a region other than US Standard (I have also noticed you can't save when ticking the checkboxes to Enable SSL or Enable Path Style in settings for External Storage - Amazon S3 again with a region other than US Standard for your bucket)
I am running ownCloud 8.2.0 via Docker e.g. $ docker run -d -p 80:80 owncloud:8.2
files_external Exception: {"Exception":"Aws\S3\Exception\NotImplementedException","Message":"A header you provided implies functionality that is not implemented","Code":0,"Trace":"#0 /var/www/html/apps/files_external/3rdparty/aws-sdk-php/Aws/Common/Exception/NamespaceExceptionFactory.php(76): Aws\Common\Exception\NamespaceExceptionFactory->createException('Aws\S3\Exceptio...', Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Message\Response), Array)\n#1 /var/www/html/apps/files_external/3rdparty/aws-sdk-php/Aws/Common/Exception/ExceptionListener.php(55):
Activity
andrenarchy commentedon Aug 18, 2014
This bug seems to be related to aws/aws-sdk-php/issues/72. I'll provide a PR which fixes the issue for me.
paulstaab commentedon Sep 11, 2014
I'm also affected by this problem (OC 7.0.2; S3 external storage; encryption enabled). Creating files in the mounted folder via web-interface works, creating folders fails with the above error message.
I don't know if it is related, but uploading both files and folders with the desktop sync client into the mounted folder also fails with
I'm happy to open a separate issue if you think that's something different.
joseasrocha commentedon Sep 16, 2014
Same problem here... can create files but not folders.
This is a major issue if we want to use external storage with owncloud.
files_extern: remove empty Body and ContentLength in Amazon S3 mount
PVince81 commentedon Oct 6, 2014
@butonic
butonic commentedon Oct 6, 2014
works with #11375
rygo6 commentedon Apr 22, 2015
I just created a new instance of ownCloud 8.0.2-0 through Bitnami and I cannot create folders on the S3 bucket. I can upload files through the web interface, but I upload, nor create folders. It gives me this error:
Could not create folder
Error when creating the folder
Also when I try to sync a folder to the S3 mount through the owncloud desktop app on OSX it errors when it tries to upload the directors. But it uploads the files just fine.
I've messed around with applying different policies to users and groups on AWS that I saw mentioned in forum posts but nothing works.
rygo6 commentedon Apr 23, 2015
Small update. So I resized the instance OwnCloud was on. Meaning a shut down and restart. Then it started to allow me to create folders on the S3 bucket and also sync everything just fine!
But now I cannot delete folders on the S3 bucket!
All it says is:
Could not delete: folder name
Folders can be deleted if it is synced through the desktop app.
PVince81 commentedon Apr 23, 2015
@rygo6 see #15447
echo-devnull commentedon Oct 9, 2015
It seems this problem only occurs when you add an S3 bucket in a different location from "US standard". For instance when one creates a bucket in "eu-central-1" (Frankfurt), you cannot create folders.
This is a shame as using buckets in US Standard significantly lowers the upload and download speeds from Europe.
PVince81 commentedon Oct 9, 2015
@MarkMaas can you post details ? (logs, OC version, etc)
beaspider commentedon Nov 3, 2015
I get the same error @andrenarchy originally provided when trying to create folders in a region other than
US Standard(I have also noticed you can't save when ticking the checkboxes toEnable SSLorEnable Path Stylein settings for External Storage - Amazon S3 again with a region other thanUS Standardfor your bucket)I am running ownCloud 8.2.0 via Docker e.g.
$ docker run -d -p 80:80 owncloud:8.2files_external Exception: {"Exception":"Aws\S3\Exception\NotImplementedException","Message":"A header you provided implies functionality that is not implemented","Code":0,"Trace":"#0 /var/www/html/apps/files_external/3rdparty/aws-sdk-php/Aws/Common/Exception/NamespaceExceptionFactory.php(76): Aws\Common\Exception\NamespaceExceptionFactory->createException('Aws\S3\Exceptio...', Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Message\Response), Array)\n#1 /var/www/html/apps/files_external/3rdparty/aws-sdk-php/Aws/Common/Exception/ExceptionListener.php(55):