"HTTP Error 500.19 - Internal Server Error" after configuring Amazon S3 External Storage
Hello, after configuring the Amazon S3 mount point I cannot use the Owncloud Webinterface anymore, I get this error:
HTTP Error 500.19 - Internal Server Error Absolute physical path "C:\inetpub\custerr" is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.
Detailed Error Information Module CustomErrorModule Notification SendResponse Handler PHP_via_FastCGI Error Code 0x8007000d Requested URL http://localhost:80/owncloud/index.php?app=gallery Physical Path C:\inetpub\wwwroot\owncloud\index.php Logon Method Anonymous Logon User Anonymous
I use a Windows 2008 R2 Server with IIS (Setup as described in the documentation: http://doc.owncloud.org/server/4.5/admin_manual/installation.html#windows-7-and-windows-server-2008 ).
any help ?
thanks !

500.19 is basically telling that your web.config is invalid.
can you please post your web.config?
here the file:
I pasted the whole text , but it shows only the first line... here the rest, after removing before every line the <
configuration> system.webServer> security> requestFiltering> requestLimits maxAllowedContentLength="4294967295" /> /requestFiltering> /security> httpErrors errorMode="DetailedLocalOnly"> remove statusCode="500" subStatusCode="-1" /> error statusCode="500" prefixLanguageFilePath="%SystemDrive%\inetpub\custerr" path="500.htm" responseMode="File" /> /httpErrors> /system.webServer> /configuration>
also it looks like the webinterface works when I press the "back" button in the browser after logon, but the Amazon Storage is not usable, Google Drive works , also the FTP-Server works partially (not all files are visible, even they have the same rights on the FTP).
%SystemDrive%\inetpub\custerr
Is that a valid path in your system?
I cannot see any relationship between the Amazon S3 integration and the web config.
%SystemDrive%\inetpub\custerr is valid: C:\inetpub\custerr
also if I delete the Amazon S3 Configuration the error doesn't come anymore, when I put it back the error comes again, so it is related to it
strange - can you please post your Amazon Configuration? Anonymized of course ;-)
it's not a lot to be configured there: when you choose at the mount point Amazon S3 it asks you for the key, the secret and the bucket (copy@paste from the amazon S3 site) and you choose the user that can use it. Also I created another bucket on Amazon and tried it again, the same... create on owncloud another user gave him also the rights to use Amazon S3, the same... Maybe the server needs another port then 80 and 443 for the connection to the Amazon S3 ?
hmmm - that's really strange.
@icewind1991 any idea? THX
This is @MTGap 's part
I have this same issue. Something is seriously wrong with configuring/using S3. I am installing and running the latest version on Ubuntu under AWS EC2. After providing the config info for S3, the web app is inaccessible. Deleting the mounts.js file restores functionality, but obviously removes the S3 info. This S3 bucket and key pair was used with a 4.x version of OwnCloud with great success, so something was definitely broken in the 5.0 version. Has anyone actually gotten the S3 functionality to work with the latest release? My guess is not.
Turns out that OwnCloud's S3 support has a dependency on the curl PHP libraries that are not reflected in the OwnCloud package itself. So installing OwnCloud from a Debian/Ubuntu package and then trying to mount a S3 volume will fail if you haven't also installed the curl-php5 package. This should be made a dependency of the main OwnCloud package as there is no other indication that it is a requirement.
@climb do you have the curl module available?
Yes , I have curl enabled, It's installed with php, but still not working with Amazon S3. I installed an Amazon Ubuntu t1 micro instance and also didn't worked until I installed aditionally the curl-php5 package, now it works but I would like to run it under Windows...
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.
Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)
Thank you!