core icon indicating copy to clipboard operation
core copied to clipboard

ownCloud 5.0.0 IIS: Loads and logs in, then fails

Open MTRichards opened this issue 13 years ago • 3 comments

expected: Install and log into ownCloud, it functions as usual

What happens: I install ownCloud 5.0.0 on a new windows 2008R2 server, I install SQ Server 2008 R2, and it all set up correctly. Then I log in, look at the files home directory. No problem. Then I log out, and instead of the login page, a blank page is loaded. And then, no browser can get to the web server at all, from anywhere, including on the server. Essentially 5.0.0 locks up and doesn't work.

Steps to reproduce: Install new 2008 R2 and patch it Install SQL Server 2008 R2 Use the web installer to install PHP 5.4, PHP SQL Server drivers for 5.4, PHP manager Set permissions on files, set php max_upload and upload_max to 2GB and 2.2 GB, then set up request filtering (>30MB) and make sure php verbs are enabled Log in and setup ownCloud See you are on the admin page, then everything goes blank

ownCloud Logs: /owncloud-5140eaeed8f77/): Access is denied. (code: 5) at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#90","level":2,"time":1363209029} {"app":"PHP","message":"opendir(C:\Windows\temp/owncloud-5140eaeed8f77/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#90","level":2,"time":1363209029} {"app":"PHP","message":"readdir() expects parameter 1 to be resource, boolean given at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#91","level":2,"time":1363209029} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209056} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209061} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209104} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209123} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209164} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209204} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363209337} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363210793} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363210814} {"app":"PHP","message":"Call to undefined method MDB2_Error::fetchRow() at C:\inetpub\wwwroot\owncloud\lib\appconfig.php#97","level":4,"time":1363210964} {"app":"PHP","message":"opendir(C:\Windows\temp/owncloud-5140f2e5598fb/,C:\Windows\temp/owncloud-5140f2e5598fb/): Access is denied. (code: 5) at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#90","level":2,"time":1363211025} {"app":"PHP","message":"opendir(C:\Windows\temp/owncloud-5140f2e5598fb/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#90","level":2,"time":1363211025} {"app":"PHP","message":"readdir() expects parameter 1 to be resource, boolean given at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#91","level":2,"time":1363211025} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363211035} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363211040} {"app":"PHP","message":"Call to undefined method OCP\Util::write() at C:\inetpub\wwwroot\owncloud\apps\contacts\lib\addressbook.php#62","level":4,"time":1363211055}

MTRichards avatar Mar 13 '13 21:03 MTRichards

cc @DeepDiver1975

jancborchardt avatar Mar 20 '13 16:03 jancborchardt

I'm guessing this is a SQL or some other issue, because following those same steps but using mysql works perfectly.

bigworm avatar Mar 21 '13 13:03 bigworm

/owncloud-5140eaeed8f77/): Access is denied. (code: 5) at C:\inetpub\wwwroot\owncloud\lib\cache\fileglobal.php#90","level":2,"time":1363209029} {"app":"PHP","message":"opendir(C:\Windows\temp/owncloud-5140eaeed8f77/): failed to open dir: No such file or

grant the iis user access to that folder (windows temp) or specify another folder which the iis is allowed to access

DeepDiver1975 avatar Mar 21 '13 14:03 DeepDiver1975