Cannot Create Directories Windows/Android Client

Ask all your questions regarding OC 6.x Please read the Support Forum Rules
Forum rules
ownCloud 6.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
jwnmedia
Newbie
Posts: 4
Joined: Tue Dec 17, 2013 6:12 pm
ownCloud version: 6.0.0
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.22

Cannot Create Directories Windows/Android Client

Postby jwnmedia » Tue Dec 17, 2013 6:20 pm

Hi, I got Owncloud setup on my server last night. I was able to, with a little trouble, get files to sync to the server via my android phone and my windows client (windows 7). The server I am using is a production server running Directadmin. At first I was not able to sync anything as I kept getting forbidden errors. I contacted someone on the Directadmin forums and they were able to help me resolve this issue. Now I have another issue. It seems if I add folders to my computer (lets say adding a folder test to my photos directory) the windows client says forbidden (I cannot create a folder or send data contained within such a folder to the server). I have been trying all night to solve this issue. I can manually create a folder in the web interface of owncloud however. Also if I manually create a folder in Ownclouds web based interface and I create the same folder on my computer it will not upload to that folder. If I delete the folder however from my computer it will delete it fine on the server. Hopefully this makes sense to you and I can get some support for this.

jwnmedia
Newbie
Posts: 4
Joined: Tue Dec 17, 2013 6:12 pm
ownCloud version: 6.0.0
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.22

Re: Cannot Create Directories Windows/Android Client

Postby jwnmedia » Tue Dec 17, 2013 6:24 pm

Here is my information on my server by the way

ownCloud version: 6.0.0
Webserver: Apache
Database: MySQL
OS: CentOS Linux 6.4
PHP version: 5.4.22

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Cannot Create Directories Windows/Android Client

Postby RealRancor » Tue Dec 17, 2013 6:45 pm

Hi,

could be possible that your hoster has disallowed some of the needed WebDAV methods (PROPFIND, PUT, ...). Infos containing some workarounds and steps on how to debug this can be found in this FAQ thread:

viewtopic.php?f=17&t=7536
*gone*

jwnmedia
Newbie
Posts: 4
Joined: Tue Dec 17, 2013 6:12 pm
ownCloud version: 6.0.0
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.22

Re: Cannot Create Directories Windows/Android Client

Postby jwnmedia » Tue Dec 17, 2013 7:11 pm

I am the hoster. What is the complete list. Here is what I have in my config

<Directory /home>
AllowOverride All
Options -MultiViews -Indexes +FollowSymLinks +IncludesNoExec +Includes
<Limit GET POST OPTIONS PROPFIND PUT DELETE>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND PUT DELETE>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

jwnmedia
Newbie
Posts: 4
Joined: Tue Dec 17, 2013 6:12 pm
ownCloud version: 6.0.0
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.22

Re: Cannot Create Directories Windows/Android Client

Postby jwnmedia » Tue Dec 17, 2013 7:30 pm

You were right, I added GET POST PUT DELETE CONNECT OPTIONS PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK and all works great now. Thank you for that.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Cannot Create Directories Windows/Android Client

Postby RealRancor » Tue Dec 17, 2013 8:42 pm

Hi,

AFAIK there is no official documentation which WebDAV methods are needed but you could request it from the developers at the bugtracker:

https://github.com/owncloud/documentation/issues

But your now used list should be fine. I'm using this with OC 5 / nginx at the moment:

DELETE|PROPFIND|PUT|GET|HEAD|POST|OPTIONS|REPORT|MKCOL|MOVE|PROPPATCH|COPY
*gone*

User avatar
interfaSys
Starter
Posts: 82
Joined: Mon Dec 03, 2012 9:53 pm
ownCloud version: 8.1.1
Webserver: Apache
Database: MySQL
PHP version: 5.5
Location: Switzerland and UK
Contact:

Re: Cannot Create Directories Windows/Android Client

Postby interfaSys » Fri Feb 21, 2014 6:51 pm

That's pretty much all the verbs :D, so it's best to just allow everything...

On Directadmin, do not change the default template as it will create a security hole. Just add this to the domain's special http config:

Code: Select all

<Directory |DOCROOT|>
   Order Allow,Deny
   Allow from all
</Directory>
Cheers,

Olivier
Consultant @ interfaSys
Maintainer of Gallery+ https://apps.owncloud.com/content/show.php?content=169116


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 6.x”

Who is online

Users browsing this forum: No registered users and 2 guests