core icon indicating copy to clipboard operation
core copied to clipboard

Spins and never uploads a document

Open matthewmansfield opened this issue 13 years ago • 14 comments

I'm able to create a new file, a new folder but cannot upload a new file. I've followed all of the tutorials and instructions but to no avail. I've tried owncloud 4.0.0, 4.0.11 as well as 4.5.6 and 4.5.0 and the same issue everytime. I'm figuring it's something with a configuration on my side. I'm running Windows Server 2008 R2, MySql, PHP5. Everything seems just fine except the darn thing doesn't upload anything. If I FTP in and upload the file into the data file then I can download it just fine but I cannot upload through the web. I've confirmed the upload sizes and even in the web.config file I've got:

What in the world can I be doing wrong?

This app seems to be the answer to everything I needed I just need to make sure that I can get it working for my school assignments.

Thanks in advance

matthewmansfield avatar Jan 30 '13 03:01 matthewmansfield

Which web server? iis or Apache?

Please give Apache a try.

DeepDiver1975 avatar Jan 30 '13 06:01 DeepDiver1975

I'm running IIS 7.5. Would apache make much of a difference (and can they both be running at the same time? I'm so used to IIS and I would think it should work just fine on there. I just have tried to get everything reconfigured but it's not working out too well. I'm wondering if there is a line in the code somewhere that I need to change to get this sucker fired up.

matthewmansfield avatar Jan 30 '13 15:01 matthewmansfield

I have seen IIS reports where people claim it works with apache. The missing support for .htaccess for example is one thing which comes tom my mind. We need to adopt the rewrite rules to iis web.config - this is currently work in progress and will hopefully arrive with OC5

DeepDiver1975 avatar Jan 30 '13 16:01 DeepDiver1975

hmmm...that's moderately disheartening. I'm curious to know if I could do some kind of work around. I wish IIS7 would allow support for htaccess. If so, I'm thinking things should be just fine. This seriously blows. Everything else works great on this application...oh yeah, all but what it was intended for! haha

matthewmansfield avatar Jan 30 '13 16:01 matthewmansfield

In order to analyze the issue more into depth: Please have a look at the error logs of php and the windows event log. In addition watch out for the browser error console.

Please post anything you find!

DeepDiver1975 avatar Jan 30 '13 16:01 DeepDiver1975

ok, I think we just went into territory I'm not familiar with. I've done win+R > evenvwr and then what am I looking for?

matthewmansfield avatar Jan 30 '13 16:01 matthewmansfield

I've got different options: Custom Views -Administrative Events -Server Rolls Active Directory Domain Service DNS Server File Server Web Server

  • Windows Logs -Applications -Security -Setup -System -Forwarded Events -Applications and Services Logs -DFS Replication -Directory Service -DNS Server -Hardware Events -Internet Explorer -Key Management Services
  • Microsoft -Windows PowerShell -Subscriptions

I'm not sure which area to look into and then what I'm looking for in that given area

matthewmansfield avatar Jan 30 '13 16:01 matthewmansfield

screenshot 29 This has seriously been spinning all night

matthewmansfield avatar Jan 30 '13 17:01 matthewmansfield

It will spin forever.  ;-) Please have a look at the browser log.

DeepDiver1975 avatar Jan 30 '13 17:01 DeepDiver1975

where do I access the browser log? Is that in mysql, php or the windows server itself. Sorry to sound so new at this but I'm a complete noob

matthewmansfield avatar Jan 30 '13 17:01 matthewmansfield

I found under Event Viewer>Windows Logs>Security but it doesn't have anything under there about owncloud. I'm hoping that's what you were looking for?

matthewmansfield avatar Jan 30 '13 17:01 matthewmansfield

I already fixed this in https://github.com/irgsmirx/owncloud-sqlserver/commits/patch-2. I also created a pull request. The problem is related to filecache.php -> increaseSize which does not work correctly with a Windows directory root "".

irgsmirx avatar Jan 31 '13 16:01 irgsmirx

@irgsmirx Can I ask you to rebase your branch against the current master? THX

DeepDiver1975 avatar Jan 31 '13 16:01 DeepDiver1975

I suppose your pull request fixed this, @irgsmirx?

jancborchardt avatar Mar 01 '13 10:03 jancborchardt