It is currently Tue May 21, 2013 6:41 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Tonido Webshare Pro can not upload
PostPosted: Thu Jul 15, 2010 12:02 am 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Jul 14, 2010 11:47 pm
Posts: 7

Hi,
I am having problem putting files into Tonido's Shared Folder.
I run tonido on ubuntu box using the following command under username someone:

/usr/local/tonido/tonido.sh start

I can access tonido's Webshare Pro's share via browser and via mount drive.
I can delete files and create folders fine.
I can upload files ONLY in the browser.

If I mount the shared folders as local drive. I can't write to the folder.
When I put some files in shared folder, the files disappear in a few seconds.
(Meaning it doesn't upload to the server, but it was probably local machine's cache)
I have checked the file permission and it seems okay.

I mount the shared folder using the following command:

sudo mount.davfs -ouid=someone,gid=someone http://tonidoserver:10001/app/websharepro/share/Public/ /mnt/webdrive/

Everythin works fine, I can delete files, create folders, and remove folders. (not writing files to the folder)
Is there any way that I can debug the log file or any solutions?

Thank you very much


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Thu Jul 15, 2010 9:56 am 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7303
Location: Dallas, USA

Please enable tonido log level to trace level and retry operation and post your log here. I am assuming you have enabled write permissions for this user.


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Thu Jul 15, 2010 4:24 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Jul 14, 2010 11:47 pm
Posts: 7

The following is the trace log while trying to create a text file using vim:

Code:
21:17:32:157 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [PROPFIND] [/]
21:17:32:207 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [PROPFIND] [/Drive_Root/]
21:17:32:276 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [PROPFIND] [/Drive_Root/home/]
21:17:32:317 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [PROPFIND] [/Drive_Root/home/tonido/Shared/]
21:17:32:417 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [LOCK] [/Drive_Root/home/tonido/Shared/.test.tod.swp]
21:17:32:466 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [HEAD] [/Drive_Root/home/tonido/Shared/.test.tod.swp]
21:17:32:517 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [LOCK] [/Drive_Root/home/tonido/Shared/.test.tod.swx]
21:17:32:567 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [HEAD] [/Drive_Root/home/tonido/Shared/.test.tod.swx]
21:17:32:609 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [DELETE] [/Drive_Root/home/tonido/Shared/.test.tod.swx]
21:17:32:647 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [DELETE] [/Drive_Root/home/tonido/Shared/.test.tod.swp]
21:17:32:687 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [LOCK] [/Drive_Root/home/tonido/Shared/.test.tod.swp]
21:17:32:736 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [HEAD] [/Drive_Root/home/tonido/Shared/.test.tod.swp]
21:17:45:007 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [PROPFIND] [/Drive_Root/home/tonido/Shared/]
21:17:45:047 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [UNLOCK] [/Drive_Root/home/tonido/Shared/.test.tod.swp]
21:17:45:097 [158] [TCPServerConnection (default[#138])]:T: HTTP Request [32.53.55.22] [LOCK] [/Drive_Root/home/tonido/Shared/test.tod]
21:17:45:136 [165] [TCPServerConnection (default[#145])]:T: HTTP Request [32.53.55.22] [HEAD] [/Drive_Root/home/tonido/Shared/test.tod]
21:17:46:074 [12] [Lookup]:T: LKUP_UPDATE
21:17:47:074 [12] [Lookup]:T: LKUP_UPDATERESP
21:17:47:074 [12] [Lookup]:T: Update Response Public IP: 42.22.42.29:58369
21:17:47:074 [11] [Network]:T: onUpdatePublicIP for 42.22.42.29


After it the text file magically disappeared.
Any thoughts?

Thank you


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Thu Jul 15, 2010 5:58 pm 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7303
Location: Dallas, USA

There appears to be no PUT WebDAV command coming through.


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Thu Jul 15, 2010 10:33 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Jul 14, 2010 11:47 pm
Posts: 7

May I know what the reason for that is?


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Thu Jul 15, 2010 11:29 pm 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7303
Location: Dallas, USA

That is what I would like to know myself. It is possible that the WebDAV fs has some incompatibility with Tonido's WebDAV. We would have to investigate to know more.

Have you tried other clients from other OS? BitKinex/Mac OSX WebDAV?


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Fri Jul 16, 2010 3:24 am 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Jul 14, 2010 11:47 pm
Posts: 7

Thanks for your prompt reply,
I did some tests on this issue and found out the following behaviors:

on Davfs Linux

I can delete files, make new directories, remove directories, but not
Create a new file, Copy a file from somewhere else

on Bitkines,

it asks me for user confirmation when I tried to edit, or add new files. I can upload and download fines.

Do you think it might be a davfs issue?


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Fri Jul 16, 2010 8:04 am 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7303
Location: Dallas, USA

It does look like it. I think there is some incompatibility between davfs and Tonido WebDAV. DavFS doesn't appear to like some WebDAV response coming from Tonido and doesn't send the PUT.

Is it possible for you to get a log file for DAVfs? I am sure if there is any error it will be written to by Davfs into its log? Maybe somewhere in the /var/log?


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Fri Jul 16, 2010 12:34 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Jul 14, 2010 11:47 pm
Posts: 7

The following is the log file I got from /var/syslog. Hope it will help:

Code:
Jul 16 10:27:21 xen-laptop mount.davfs: Sending request headers:#012PUT /app/websharepro/share/Public%20Shared/Zencart%20Fix.doc HTTP/1.1#015#012Host: lol.tonidoid.com:10001#015#012User-Agent: davfs2/1.4.1 neon/0.28.6#015#012Connection: TE#015#012TE: trailers#015#012Content-Length: 27136#015#012Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx#015#012If: <http://lol.tonidoid.com:10001/app/websharepro/share/Public%20Shared/Zencart%20Fix.doc> (<opaquelocktoken:6000b4d8-90ff-11df-be3b-82bb771c8340>)#015#012#015
Jul 16 10:27:21 xen-laptop mount.davfs: Sending request-line and headers:
Jul 16 10:27:21 xen-laptop mount.davfs: Connecting to 35.35.22.15
Jul 16 10:27:21 xen-laptop mount.davfs: Sending request body:
Jul 16 10:27:21 xen-laptop mount.davfs: Request sent; retry is 0.
Jul 16 10:27:21 xen-laptop mount.davfs: [status-line] < HTTP/1.1 204 No Content#015
Jul 16 10:27:21 xen-laptop mount.davfs: [hdr] Connection: Close#015
Jul 16 10:27:21 xen-laptop mount.davfs: Header Name: [connection], Value: [Close]
Jul 16 10:27:21 xen-laptop mount.davfs: [hdr] Content-Length: 0#015
Jul 16 10:27:21 xen-laptop mount.davfs: Header Name: [content-length], Value: [0]
Jul 16 10:27:21 xen-laptop mount.davfs: [hdr] Date: Fri, 16 Jul 2010 17:27:20 GMT#015
Jul 16 10:27:21 xen-laptop mount.davfs: Header Name: [date], Value: [Fri, 16 Jul 2010 17:27:20 GMT]
Jul 16 10:27:21 xen-laptop mount.davfs: [hdr] #015
Jul 16 10:27:21 xen-laptop mount.davfs: End of headers.
Jul 16 10:27:21 xen-laptop mount.davfs: Running post_headers hooks
Jul 16 10:27:21 xen-laptop mount.davfs: Running post_send hooks
Jul 16 10:27:21 xen-laptop mount.davfs: sess: Closing connection.
Jul 16 10:27:21 xen-laptop mount.davfs: sess: Connection closed.
Jul 16 10:27:21 xen-laptop mount.davfs: Request ends, status 204 class 2xx, error line:#012204 No Content
Jul 16 10:27:21 xen-laptop mount.davfs: Running destroy hooks.
Jul 16 10:27:21 xen-laptop mount.davfs: Request ends.
Jul 16 10:27:21 xen-laptop mount.davfs: Running pre_send hooks


Offline
 Profile  
 Post subject: Re: Tonido Webshare Pro can not upload
PostPosted: Fri Jul 16, 2010 12:45 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Wed Jul 14, 2010 11:47 pm
Posts: 7

Is there any way that I can disable to default webDav in tonido?


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: