core icon indicating copy to clipboard operation
core copied to clipboard

Can not run ownCloud on Windows unless PHP-CURL is disabled

Open ser72 opened this issue 13 years ago • 8 comments

Expected behavior Ability to log into Windows ownCloud

Actual behavior Unable to log in – get error message below. Need to disable PHP-CURL to be able to log in

Steps to reproduce

  1. Install ownCloud on Windows server
  2. Set up initial screen with SQL data
  3. Brings up error and cannot log in

windows_install

Server configuration {"installed":"true","version":"5.0.15","versionstring":"5.0.10","edition":"Enterprise"} Windows 2008 Server

ser72 avatar Aug 14 '13 18:08 ser72

@ringmaster Can I ask you to have a look? THX

DeepDiver1975 avatar Aug 26 '13 22:08 DeepDiver1975

I've configured owncloud stable5 on IIS with cURL enabled, and owncloud does not report the error shown above during or after installation. Likewise, disabling cURL seems to have no effect during or after installation. (master has same results.)

Is it possible that the web server can't make connections to the domain on which the server is running?

ringmaster avatar Aug 26 '13 23:08 ringmaster

If that is the case, then why would it work after disabling cURL I was able to get in. The curious thing is that after getting in, I can re-enable cURL and be successful in getting in after the initial error and disable

ser72 avatar Aug 27 '13 11:08 ser72

Good point. Do you have other apps that use cURL via PHP that work properly? Perhaps cURL is somehow not configured correctly on your system? If cURL is used by SabreDAV when checking webdav and fails, it could cause an error like this, which would not necessarily happen otherwise unless you tried using a feature that required cURL, like (guessing here) connecting ownCloud to external webdav storage.

ringmaster avatar Aug 27 '13 15:08 ringmaster

This was a clean VM Image where nothing else was installed.

Funny thing is that I just installed another ownCloud version on that same windows image, with cURL enabled, and did not see the error.???

ser72 avatar Aug 27 '13 16:08 ser72

Did you have any log messages that might give a clue where the failure occurred?

ringmaster avatar Aug 27 '13 19:08 ringmaster

No logs or any data at this time.

Since you can’t reproduce it and I can’t reproduce it again, go ahead and close the issue. We will keep an eye on it should it happen again, what data would you request?

From: Owen Winkler [mailto:[email protected]] Sent: Tuesday, August 27, 2013 3:58 PM To: owncloud/core Cc: Steve Robinson Subject: Re: [core] Can not run ownCloud on Windows unless PHP-CURL is disabled (#4429)

Did you have any log messages that might give a clue where the failure occurred?

— Reply to this email directly or view it on GitHub https://github.com/owncloud/core/issues/4429#issuecomment-23365725 . https://github.com/notifications/beacon/wMgqwf0iShPdEdXLpajheDBSQ9h9RMF2Q_xdP3EtHPVWungKVm-hgEqPEvUPN4tv.gif

ser72 avatar Aug 27 '13 19:08 ser72

The owncloud.log file from the data directory keeps more detail about errors, which might be useful in the future. Definitely re-open if this happens again and you get some more info.

ringmaster avatar Aug 27 '13 20:08 ringmaster