setting up an OwnCloud client under FreeBSD

Christian Baer christian.baer at uni-dortmund.de
Sun Dec 28 16:41:35 UTC 2014


Hey everyone!

I hope you all had a great Christmas with lots of fun and food! ;-) 
Honestly, I am quite pleased that it is all over and my family is gone 
again. :-P

I have been using Owncloud for quite a while now using the desktop 
clients for Windows and Linux. As I understand it, there is no desktop 
(as in GUI) client for FreeBSD. In principle, that is fine with me, 
provided I can do the same thing with a daemon of some sort.

When I use a search engine (my choice is duckduckgo) for "Owncload 
client freebsd" I get quite a few hits. What I think to have read out of 
these results is that under FreeBSD some version of csync is the way to 
go. I have read of ocsync and owncloud-csync.

What gets me is the utter lack of information/documentation about 
setting this up. The manpage for ocsync is very short and "thin". It 
actually leaves more questions than it answers.

<quote>

NAME
ocsync - A commandline frontent for csync a user level bidirectional 
file synchronizer.

DESCRIPTION
ocsync is a client only bidirectional file synchronizer. It synchronizes 
the content of SOURCE with DESTINATION and vice versa. The
DESTINATION can be a local directory or a remote file server.
</quote>

I cannot find a manpage for csync on freebsd.org :-(

There is no mention what protocols are supported. But ok, a little 
further down are the examples:

ocsync /home/user smb://user:password@server/share/user

With this I can get the the basic syntax (even if I'd still have to use 
trial and error to find out what protocols are supported). And it's a 
good guess this is something I'd either have to run as some sort of 
service or as a cron job. But there are a few things I'd still like to know:

Let's say I type this:

ocsync ~/share ftp://somewhere.de/users/christian

Will it only download from somewhere.de or will it only upload to there?
Can I control what it does?
Will it erase files locally or on somewhere.de if these were deleted 
since the last sync?
What happens if the same file (name) exists on both sides, but with 
difference versions (or last access times)?

Will this actually work anything like the known desktop client for 
Owncloud in terms of updating files? I have a Keepass file which I move 
across my devices using Owncloud. When I add/change a password to it, it 
automatically moves arount to all devices- Will this work too?

Basicly:
Does anyone know of a slightly more comprehensive setup guide or 
in-depth documentation about ocsync or setting up a client for owncloud 
under FreeBSD?

Thanks for reading and helping! ;-)

Best regards,
Chris



More information about the freebsd-questions mailing list