CMISSync for Linux on Raspbian failing to install or build

137 views
Skip to first unread message

Craig Neill

unread,
Dec 4, 2014, 4:50:31 AM12/4/14
to cmis...@googlegroups.com
Good day

We use Alfresco community 4.2d and want to setup a raspberry pi as a scanning interface to synchronise the files to Alfresco. In summary a user scans using IrisPowerscan and this stores it on a samba share on the pi. The intention is to then use CMISSync to connect to the repository and upload the file. There are various reasons we are going this route with a staging machine.

I tried to install the cmissync_2.0-0.deb file from the site but had countless dependency errors.

I installed mono-complete on the raspberry pi with success and managed to compile and test an example.

I then reinstalled cmissync_2.0-0.deb and configured a folder in the config.xml. I then typed "cmissync start" and in the logfile got the following error:
"Could not load file or assembly 'appindicator-sharp' as well as 'notify-sharp'

So I decided to follow this post: https://github.com/aegif/CmisSync/blob/master/CmisSync/Linux/README.md and do it myself. I successfully cloned the repository and started to build but got the error that the dependancy log4net is missing, but it is indeed installed.

Do you have any ideas or workarounds?

I would really like to get this to work.

Thank you
Craig Neill


Craig Neill

unread,
Dec 4, 2014, 5:02:54 AM12/4/14
to cmis...@googlegroups.com
Ok So I managed to find the missing library and tried CMISSync Start again. The icon appeared, it appeared to login to the repository and then failed again.

Nicolas Raoul

unread,
Dec 4, 2014, 5:09:21 AM12/4/14
to cmis...@googlegroups.com, cmis...@aegif.jp
Hello Craig,

Sounds like a very cool project!

I am glad you got CmisSync to start, but if you have time could you please describe the problems you encountered during installation?
Our bug tracker is at https://github.com/aegif/CmisSync/issues

Could you please send us your log file?
It can be found in the ~/.config/cmissync folder.

What version of Alfresco are you using?

Thanks for the feedback!
Nicolas Raoul
CmisSync team
Aegif

--
You received this message because you are subscribed to the Google Groups "CmisSync" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmissync+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Craig Neill

unread,
Dec 4, 2014, 6:22:59 AM12/4/14
to cmis...@googlegroups.com
We are using 4.2d community.

The good news, after a lot of hassling, copying dll's and all sorts, I got it to work and sync on the raspberry pi.

So we scan from multiple locations, process it to a centralised file share on the pi using samba, then cmissync it to alfresco in the cloud on our servers!

We are doing a volumes test shortly and stability test - will keep you informed.

Craig


On Thursday, December 4, 2014 11:50:31 AM UTC+2, Craig Neill wrote:

Nicolas Raoul

unread,
Dec 5, 2014, 2:00:43 AM12/5/14
to cmis...@googlegroups.com
Cool! Can't wait to see it in action :-)

A few things to improve performance on Linux:

1) Command-line CmisSync
If I understand well, you don't need the CmisSync user interface, right?
I recommend using the command-line version of CmisSync. It will use less memory, be more reliable, and more scriptable:
https://github.com/aegif/CmisSync/tree/master/CmisSync.Console

2) config.xml
CmisSync Linux is beta, and indeed the ~/.config/cmissync/config.xml it produces has inefficient settings.
You should really create your config.xml file on Windows or Mac, and then copy it to Linux.

3) Chunked upload Mono bug
Due to a Mono bug, upload is not as efficient as it could be. A patch has been sent, I hope Mono merges it soon.
If you can't wait for it, an option can be to compile your own Mono with the patch included:
https://bugzilla.xamarin.com/show_bug.cgi?id=21135
Ready-made patched Mono packages are available for Fedora: https://build.opensuse.org/package/show/home:felfert/mono-core but not for other distributions unfortunately.

Cheers!
Nicolas Raoul
CmisSync team
Aegif

Craig Neill

unread,
Dec 5, 2014, 2:19:19 AM12/5/14
to cmis...@googlegroups.com
Thanks - will check out the command line option. I tried yesterday but using cmissync start and it didnt work so was going to ask you. 

As for the config.. I had to make a lot of manual changes. For example when I added the sync location it stopped at the repository level, so I had to manually set the folders I wanted.

I will wait for the patch for now.

We ran 100MB worth of content yesterday and it synced no issue. Over the weekend we plan to run 16Gig. That will be the test!

Craig

Nicolas Raoul

unread,
Dec 15, 2014, 2:25:03 AM12/15/14
to cmis...@googlegroups.com
Hi Craig,

How were the performance tests?

Don't hesitate to make performance data public.

Cheers!
Nicolas Raoul
Aegif

Craig Neill

unread,
Dec 17, 2014, 2:08:37 AM12/17/14
to cmis...@googlegroups.com
Hi

Sorry for the lack of reply.

We are not able to successfully use CMISSync on the pi continuously. If the alfresco server becomes unavailable, CMISSync in the console closes and doesn’t restart, in essence stopping the sync until a manual restart. We are not using the command line yet.

I had made some changes to the pi, so wanted to roll back to a previous image and test again.

Do you know of any issues like this?

When it work, it seems to work well!

Thanks
Craig

You received this message because you are subscribed to a topic in the Google Groups "CmisSync" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cmissync/rmLvHqK8s4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cmissync+u...@googlegroups.com.

Nicolas Raoul

unread,
Dec 17, 2014, 3:27:01 AM12/17/14
to cmis...@googlegroups.com

CmisSyncOnce.exe syncs once then exits, this is the nominal behavior.
You have to call it from cron or equivalent.

Craig Neill

unread,
Dec 17, 2014, 3:34:06 AM12/17/14
to cmis...@googlegroups.com
I am using the graphical interface where your icon is showing in the bottom right of the screen. This is what closes and disappears. We are not running anything in terminal yet.
Craig

Nicolas Raoul

unread,
Dec 17, 2014, 3:38:31 AM12/17/14
to cmis...@googlegroups.com

I see!
It should not crash... any stacktrace in the log or terminal? Would be helpful to solve the bug.
Anyway, I encourage you to try the  command-line version.
Nicolas Raoul
Aegif

Reply all
Reply to author
Forward
0 new messages