Forum OpenACS Development: Reactivating oacs-dav with file-storage?

Request notifications

Hi,

The combination of these two packages is really unbelievable. It could replace Dropbox and a few other Internet services in a closed-organization environment.

I've checked the OpenACS 5.9 version and tried to install it, but there were some very basic errors.

I'm not sure how this happened, but I'd be very interest to reactivate the package. Are there any important reasons why it shouldn't? Would somebody be willing to explain past issues and maybe help to overcome the first obstacles?

Thanks!
Frank

Collapse
Posted by Iuri Sampaio on
Hi Frank,

It seems you got similar issues that I got when I tried to install the latest version available OACS-5.9.

Then, I ran an earlier version (i.e. OpenACS 5.4.1 ) and the errors were gone. Of course, you will have to fix some bug, but at least I got a better scenario from there.

Also, I don't know all the issues are the same, but i advise to give it a shot. It worked to me.

Hope it helps,

Collapse
Posted by Antonio Pisano on
Some efforts will be put in the future by the community to give OpenACS a new xotcl based webDAV implementation. Such code is already in use and just needs some refactoring, but a clear delivery date I am not able to give at the moment.

In the meantime everybody is more than welcome to have a look at the previous oacs-dav implementation. We know it could need some reworking and that its current state is unclear, but is there for every brave spirit.

One thing I would not suggest is to just stay with an outdated version of the platform just to achieve webdav functionality. Seems like some regression happened, but could not take too much work to solve it on a current instance. I may give a hand in case, but I would at least need some log output for a starter.

Ciao

Collapse
Posted by Antonio Pisano on
Just to update the folks out there: we managed to fix a few minor issue in the new xotcl implementation and tested some clients.

To our current knowledge, these seem to be OK:
- CyberDuck: https://cyberduck.io/ (open source)
- WinSCP: https://winscp.net (open source)
- davfs: http://savannah.nongnu.org/projects/davfs2 (open source)
- gvfs through Nautilus or other Gtk-based file managers: https://wiki.gnome.org/Projects/gvfs (open source)
- Total Commander for Android: https://www.ghisler.com/android.htm

Native Windows webdav client is not working, at least for the Windows 7 version. The foreseen amount of work to fix this appears unfeasible at the moment.

Native MacOS client (tested the "El Capitan" version) is partially working, meaning that basic functionality is there with some glitches that sometimes prejudicate user experience. This, togheter with some serious scalability issues, moves much forward the time for an acceptable support (at least from us).

I didn't have the chance to test any mobile Mac device.

Resuming, it could be possible to give some decent webdav support to a fairly broad number of OSes, but one should not expect universal functionality in every case and with every client. Also, one should carefully evaluate the impact of the introduction of such a feature on a busy system, as the mindless copy-paste of a big folder by a user could hammer the system with many big requests.

The initial release will probably limit by a parameter the range of clients we intend to support to whatever degree. One may tweak it at his/her own risk, but then should be prepared to report bugs alongside a working patch! :-)

Collapse
Posted by Gustaf Neumann on
The situation has not changed since 2015; according to docs, the current code of oacs-dav is not working for AOLserver or for NaviServer since at least 10 years (the see [1] for the details).

As stated several times, one problem with WebDAV is, that the various WebDAV clients built into several systems behave differently and even for one OS, these are moving targets. I've implemented in the past a fairly broad WebDAV support for OpenACS (5j ago), working for the Mac/Windows/Linux clients of that time, which was used by several groups in the learn@WU-system, but as we are a large organization, people use various versions of Windows/Mac-OS X/... various problems popped up due to changes bundled with the OS versions (people using older/newer versions of the OS, one has to configure the OSes with registry entries to work at all, etc.). Furthermore, problems popup up in complex cases, when user drag large folders, causing easily several hundred backend webdav queries for a single drop operation, which is a pain to debug.

... so, maintaining WebDAV is very costly. If the main goals is to upload many files with a single drop operation, one can use drop-zone in the xowiki menubar - with does not have the issues mentioned above.

-gn

[1] http://openacs.org/forums/message-view?message_id=4871430

Collapse
Posted by Frank Bergmann on
Hi!

Thanks! Good to know.
In the next version of ]po[, a priority will be the management for files related to projects.

However, a Web GUI is not enough for most Microsoft users. So my idea was to provide them with both Web and WebDAV access to "their" files, using the ]po[ project permissions to control access to files in a slightly modified file-storage package.

So we could limit access to WebDAV to Windows 7, 8 and 10 built-in clients. That would cover >90% of all potential users. Other users would need to receive an error message...

If I understand you right, this idea is basically unworkable, is that right?

Cheers,
Frank

Collapse
Posted by Frank Bergmann on
Just to be complete here on this thread:

I've recevied email with comments about oacs-dav:

- From Dave: There was a thread in February: http://openacs.org/forums/message-view?message_id=5348430 recommending to use the repository on SourceForge.
- From Iuri: The OpenACS 5.4.1 version of oacs-dav worked better for im.

@Gustaf: The funny thing is that file-storage has a dependency on oacs-dav, so it needs to be installed on basically every OpenACS system...

Cheers!
Frank

Collapse
Posted by Dave Bauer on
Would a JavaScript enhanced ui be acceptable? Windows webdav implementations vary greatly and are almost impossible to maintain support for.
Collapse
Posted by Antonio Pisano on
Another option might be to install some third party client/service that is more kind with the average webdav implementation. One example might be this https://cyberduck.io/ (no endorsement, just found by quick googling and tested briefly on our WIP, successfully)

One could also find something that has the same level of transparence of a "real folder", as e.g. davfs2 for linux http://savannah.nongnu.org/projects/davfs2 (this also seems to work with our code)

On my windows 7 vitual machine I could no connect the native webdav client not even with my owncloud, so it is some task indeed!

Collapse
Posted by Gustaf Neumann on
restricting clients is certainly an option.
Collapse
Posted by Dave Bauer on
Webdrive https://southrivertech.com/products/webdrive/ has historcally worked with oacs-dav on Windows, that might be an option as well. I haven't tested other clients.

Another thing we did was setup poatgresql based SFTP authorization from the openacs database with an external file storage location for the content repository and a trigger to add items to the database. You'd have to explore the security implications of that a bit.