Monday, March 21, 2011

Sakai CLE WebDAV support


Sakai is an open source Collaboration and Learning Environment (CLE) software a.k.a. Learning Management System (LMS) or Course Management System (CMS) developed by the Sakai Foundation. Sakai has WebDAV support which allows mounting site's files and other uploaded content as a network folder so that you can use drag and drop to upload and download files and folders to and from Sakai Resources. I tried out this feature in Sakai and this post explains the steps that I followed.

Great thing about Sakai is that there are many organizations that host Sakai instances which you can use to try out Sakai online without installing anything. In this post, I will use Free Test Drive Sakai 2.7 from Unicon. Once you create an account and login, you can navigate to My Workspace --> Resources --> Upload-Download Multiple Resources to try out WebDAV support in Sakai.

It includes a step by step guide on how to mount volume in Windows and Mac OS. But if you are Linux user, you can use the following commands with appropriate paths to mount the volume under Linux. I have just listed the commands, please refer to this post for more details.


$sudo apt-get install davfs2
$sudo dpkg-reconfigure davfs2
$sudo mount -t davfs https://testdrivesakai.com/dav/~nandana /home/nandana/sakai

However, with Linux (Ubuntu 10.10), I had a strange observation. I could login and mount the volume, the folder gets synced and everything seems to work fine. But whenever I tried to add a resource, it gives me an error message saying "No such file or directory". I wanted to isolate the problem, so I decided to try with Windows 7, and everything worked fine. So I went back to Linux and surprisingly everything started to work perfectly. Out of curiosity, I wanted to make sure that it was not a timing issue or any coincidence. So I created another account on Test Drive, and tried to reproduce this. And yes, Linux file uploading started to work as soon as you connect it once with Windows.

I am not sure whether the problem is in the server side or the client side, but a little Googling showed not only Sakai, but some other projects with WebDAV support also have the same problem.

0 comments: