Richard Walker wrote:
2010/1/12 Gunther Mayer <gunther.ma...@googlemail.com <mailto:gunther.ma...@googlemail.com>>

    Hi guys,

    I'm not sure if anyone here is working with the following
    combination (or similar):

    Server: svn 1.6.5 (latest) + apache 2.2.12 (latest) on ubuntu
    karmic(9.10) 64bit
    Client: Windows XP or Vista, NetDrive 1.0.8.11 (latest)

    Server is configured to do autoversioning via WebDAV as per svnbook:

    <Location /svn>
          DAV svn
          SVNParentPath /var/svn
          SVNAutoversioning on
          ModMimeUsePathInfo on
    </Location>

    My client can mount(connect) this "drive" just fine and browse
    through the directory hierarchy but when trying to open any files
    they are corrupted because they're only half retrieved from the
    server (tried it on a couple of large text files). Every now and
    then NetDrive reports errors but nothing helpful. At the same time
    the following appears in my apache error logs over and over again:

    [Tue Jan 12 13:42:32 2010] [error] [client xx.xx.xx.xx] (32)Broken
    pipe: Could not write data to filter.  [500, #0]
    [Tue Jan 12 13:42:32 2010] [error] [client xx.xx.xx.xx] Unable to
    deliver content.  [500, #0]

    and occasionally

    [Tue Jan 12 13:42:31 2010] [error] [client 196.7.14.173] Unable to
    deliver content.  [500, #0]
    [Tue Jan 12 13:42:31 2010] [error] [client 196.7.14.173]
    (104)Connection reset by peer: Could not write data to filter.
     [500, #0]

    This happens almost all the time and makes my repo kind of useless
    on Windows (no, tortoisesvn won't work because we're dealing with
    very non-technical users...). I know NetDrive is commercial
    software but firstly it did come recommended in the svn book with
    supposedly no known issues and secondly it is (apart from
    WebDrive) my only option when it comes to mounting my svn
    repository as a file system on Windows. It seems like some kind of
    buffering problem but not sure how helpful the Novell support will
    be in trouble shooting this one...

    Any help or pointers would be greatly appreciated.

    Gunther


Hi Gunther.

Good on you for trying! I used a similar combination for a while to version my My Documents folder in Windows. I also enthusiastically pushed this setup on a couple of non-technical people as a backup solution. The idea of it is fantastic - just working with files as normal but having all changes automatically versioned behind the scenes. Although I didn't see the problem you're describing, I did have issues and eventually gave it up.

Yes, the idea is fantastic and it's the reason I'm still persisting...

It ate disk space. Webdrive/netdrive used to buffer everything. It also really slowed my machine down. Putting the entire My Documents folder in there was also a mistake - iTunes and other programs filled the repository with gigabytes of temporary file history. I also seem to remember the drives would drop out occasionally which led to me getting lynched!

Well, I've given up on Netdrive for now because I cannot get it to work, trying WebDrive now which comes with a 20day trial period and seems much more powerful. It has serious issues with self signed server certificates on Vista (XP doesn't complain) as I use SSL, haven't figured that one out yet but I could always get a commercial certificate if push comes to shove. I got my colleague onto using WebDrive now, it seems to work fine but only time will tell how stable it is (and whether we'll end up buying licenses).


I guess a big part of the problem is the lack of webDav file system support in Windows. I didn't feel that webdrive/netdrive really cut it. However, I did always wonder how it would behave if you mounted the repository as a webDAV directory in the file system of your linux server, and then shared that via samba to expose it to the windows machines rather than have them run netdrive? Perhaps it would be worth a try?

Ah, that's an interesting one which I haven't yet tried. However I think doing it this way will lose you the owner information - who made what changes. Doubt samba can pass through user credentials to davfs2.

Wishing you the best of luck! I'd like to know how you get on. Anybody else out there tried anything like this?

I'd also like to know if anyone out there is doing anything similar...


Gunther

Reply via email to