SyncML server

Tell us your most wanted features from QNAP products.
phreichmuth
Know my way around
Posts: 231
Joined: Fri Jan 09, 2009 12:17 am

Re: SyncML server

Post by phreichmuth » Fri Jan 22, 2010 10:42 pm

For Java on ARM processors please see also this thread: http://forum.qnap.com/viewtopic.php?f=24&t=25196

I don't really know whether this is good news now or not...
TS-251+, QTS 4.2
TS-128, QTS 4.2
wiki.makeitfit.ch

phreichmuth
Know my way around
Posts: 231
Joined: Fri Jan 09, 2009 12:17 am

SyncML for ARM powered NAS

Post by phreichmuth » Mon Feb 08, 2010 7:58 pm

After Tobbe wrote a HowTo for x86 NAS' to install Funambol and pderm explained how to install an according Java Runtime Environment on the ARM NAS', Funambol also can be installed on them - but unfortunatelly not on the TS-109 and TS-109 II. The firmware containes an older glibc.
If anybody has a older JRE for ARM than v5, e.g. 1.4.2, please make it available and publish a link.

HowTo for Funambol on x86 NAS':
http://forum.qnap.com/viewtopic.php?f=24&t=3492&start=40#p96276

HowTo for Funambol on ARM NAS' with glibc 2.5:
install JRE according to this HowTo: http://forum.qnap.com/viewtopic.php?f=24&t=25196&start=10#p108447
then follow the Funambol HowTo starting with step 6, Download the Funambol server: http://forum.qnap.com/viewtopic.php?f=24&t=3492&start=40#p96276

Good luke and have fun - I will not with the TS-109 Pro II :(
TS-251+, QTS 4.2
TS-128, QTS 4.2
wiki.makeitfit.ch

le_cerf
Starting out
Posts: 16
Joined: Thu Apr 30, 2009 9:08 pm

Re: SyncML server

Post by le_cerf » Mon Feb 15, 2010 4:17 am

Thank you guys for your time...Ok I had to try it...but I am still unlucky...

I remove my Java x86 install and followed QAndy's recommendation with the ARM build. Like with the x86 I have a nice orange JAVA icon (aFter enabling it). This to tell I can't seemuch difference between the two java package but I trully trust the experts.

I then tried to install funambol initially in HDO_DATA, But here is what I get

such file or directory
tar: Funambol/tools/jre-1.5.0/jre/plugin/desktop/sun_java.desktop: Cannot open: No such file or directory
tar: Funambol/tools/jre-1.5.0/jre/javaws: Cannot mkdir: No such file or directory
tar: Funambol/tools/jre-1.5.0/jre/javaws/javaws: Cannot open: No such file or directory
tar: Funambol/Readme.txt: Cannot write: No space left on device
tar: Error exit delayed from previous errors

Do you want to start the server? [yes or no]
yes
/opt/Funambol/bin/funambol: line 42: cd: /opt/Funambol/../tools/tomcat/bin: No such file or directory
sh: /opt/Funambol/../bin/hypersonic: No such file or directory
sh: /opt/Funambol/../bin/ctp-server: No such file or directory
sh: /opt/Funambol/../bin/funambol-server: No such file or directory
sh: /opt/Funambol/../bin/inbox-listener: No such file or directory
sh: /opt/Funambol/../bin/pim-listener: No such file or directory

The Opt directory is empty. since id didn't work in HDA_DATA\opt or HDA_DATA\myname\opt and I get similar issues
Needless to say it doesn't really work: It seems to me that it is actually worst (opt directory empty). Anyone an Idea?

tonijj
Know my way around
Posts: 133
Joined: Sat Nov 21, 2009 6:52 pm

Re: SyncML server

Post by tonijj » Thu Feb 18, 2010 5:27 am

Hi Guys,

Im trying to follow Tobbes guide and I get to the step where to install Funambol. However, I get "Permission Denied" even though Im logged in as "admin"

I have a Qnap 509.

All steps before that works OK.

Any tips?? I really really want Funambole to work on my qnap.

tonijj
Know my way around
Posts: 133
Joined: Sat Nov 21, 2009 6:52 pm

Re: SyncML server

Post by tonijj » Sat Mar 13, 2010 1:04 am

Well, I heard from some reliable sources that QNAP is about to release a Funambol QPKG :)

le_cerf
Starting out
Posts: 16
Joined: Thu Apr 30, 2009 9:08 pm

Re: SyncML server

Post by le_cerf » Tue Mar 30, 2010 9:54 pm

Please, release:))

User avatar
AndyChuo
Experience counts
Posts: 2396
Joined: Thu Sep 13, 2007 11:56 am
Location: Taipei, Taiwan

Re: SyncML server

Post by AndyChuo » Tue Apr 06, 2010 3:38 am

Hi guys,

The v8.5.0 beta has touched down.

Andy
=============================================================>>>
TS-659-Pro [RAID6] rtorrent+SABnzbdplus+SickBeard+Couchpotato [Best PVR] Plex+PMS [Ultimate Streamer]
Apple iPad [Best Tablet] HTC One M8 [Mobile Phone] Samsung UA46ES6100 [My Screen] KRK Rokit 6 [Audio Speakers]
Chrome Cast [Screen Casting] Philips Hue [Personal Lighing]
Buffalo WZR-1750DHP [My Wifi Hub] D-Link DGS-1005D [Gbit Network]
=============================================================>>>

M20554443
New here
Posts: 4
Joined: Tue Apr 20, 2010 4:40 pm

Re: SyncML server

Post by M20554443 » Thu Apr 22, 2010 3:08 pm

phreichmuth wrote:Synthesis (http://www.synthesis.com) seem to have a quite small syncml server which runs with very low need of performance. They have put opensource some parts of their software in the syncEvolution project.
Probably that's a way to get a syncml server on a NAS?


Hi there,

"starting with SyncEvolution 1.0 alpha, SyncEvolution can act as a SyncML server"
http://syncevolution.org/development/http-server-howto

SyncEvolution 1.0 beta 3 has been released yesterday. I think this would be a more lightwight solution compared to Funambol. Any thoughts about using it on QNAP devices?

kawreh
New here
Posts: 8
Joined: Fri Jan 29, 2010 12:05 am

Re: SyncML server

Post by kawreh » Wed Aug 04, 2010 6:22 am

What is the status for Java, Funambol, SyncML server and SyncEvolution for QNAP ARM devices? Anything working?
I have a TS-219P I'd really like to run a SyncML server on to sync with Android/ Ubuntu/ Vista/ iOS applications.
-Anybody? -QNAPAndy?

svn
Getting the hang of things
Posts: 63
Joined: Mon Oct 20, 2008 3:24 am

Re: SyncML server

Post by svn » Sat Sep 04, 2010 6:14 pm

Hi guys!

Can some one tell me why I can't run Funambol unattended (in the background)? I have succeded in installing Funambol on a TS-219 pro, I also entered the lines in the qpkg.conf. A icon for Funambol is showing on the qpkg page, but after reboot funambol isn't running, while when using ssh and starting funambol (sh funambol start) it runs FINE till I close the ssh session offcourse...

best regards, Sven

svn
Getting the hang of things
Posts: 63
Joined: Mon Oct 20, 2008 3:24 am

Re: SyncML server

Post by svn » Sat Sep 04, 2010 6:54 pm

Ok, for everybody who wants to run Funambol on a ARM device (you need at least 256 MB ram, I doubt if that works, better have 512 MB) i've done the following:

1 INSTALL JAVA

* place the file ejre-1_6_0_10-fcs-b42-linux-armv5-sflt-eabi-headless-10_jun_2010.tar.gz in the Public directory
* instal JRE 6 QPKG for ARM on the NAS
* enable the JRE QPKG from the NAS admin console

2 INSTALL FUNAMBOL

* Change the administration port number from 8080 to 8090 (funambol uses 8080)
* Copy the funambol bin file to the QNAP Pubilc folder
* login to your nas with telnet or ssh
* go to the MD0_DATA share (on TS219p): # cd /share/MD0_DATA
* Make an opt directory: # mkdir opt
* Install funambol (note: there could be a new version): # /share/Public/funambol-8.0.2.bin
* You will see a License agreement, agree to the license terms.
* modify the install directory to: /share/MD0_DATA/opt
* Funambol starts to install the server, you may get an error message about a checksum, ignore it.
* It finally asks if you want to run the server, answer no
* Copy the startup script: # cp /share/MD0_DATA/opt/Funambol/bin/funambol /etc/init.d/
* Modify the startup script: # vi /etc/init.d/funambol
* Change line 4 to, FUNAMBOL_HOME=/share/MD0_DATA/opt/Funambol
* Exit vi: (ESC) :wq
* Now you can start and stop the server
* To start: # sh /etc/init.d/funambol start
* You can check if the service is running by typing 'ps -a | grep funam', you will see something like this:
[/share] # ps -a | grep funam
1454 admin 528 R grep funam
24214 admin 27960 S /usr/local/jre/bin/java -Dfile.encoding=UTF-8 -Dfunam
24242 admin 69824 S /usr/local/jre/bin/java -Xmx512M -Dfunambol.debug=fal
24254 admin 30852 S /usr/local/jre/bin/java -Dfile.encoding=UTF-8 -Dfunam
24269 admin 29404 S /usr/local/jre/bin/java -Dfile.encoding=UTF-8 -Dfunam
* You can download and install funambol admin for windows to manage the funambol server
* To stop the service: # sh /etc/init.d/funambol stop

3 START FUNAMBOL AT BOOT
well, this part wasn't working for me.. so please help :)

If you want the server to start at boot, you need to add some lines at the end in /etc/config/qpkg.conf :

[Funambol]
Name = Funambol
Version = 8.0.2
Enable = TRUE
Shell = /share/MD0_DATA/opt/Funambol/bin/funambol

An funambol icon will show in the QPKG admin page!

As you can see I merged the instructions for installing JRE and Tobbe's instruction. For running funambol in the background I still have no sollution. I see the icon in de QPKG admin page, but after boot Funambol isn't running :'(

svn
Getting the hang of things
Posts: 63
Joined: Mon Oct 20, 2008 3:24 am

Re: SyncML server

Post by svn » Mon Sep 06, 2010 5:50 pm

Hi guys!

I'm getting pretty desperate by now. I'm out of ideas, the solution by adding the funambol script to the qpkg.conf is not working for me, I guess because you have to give "start" command and I'm not sure if this is done. so I tried the following:

- add a line to the autorun.sh (not working):
sh /share/MD0_DATA/opt/Funambol/bin/funambol start

- tried to use daemon_mgr:
/sbin/daemon_mgr funambol start "/share/MD0_DATA/opt/Funambol/bin/funambol start &"

the last one seems to do someting, it starts funambol directly and puts a daemon in the /etc/daemon_mgr.conf. But as soon as I exit the ssh session, funambol also goes down.... AAAARGH!!! I'm about to burst in tears!!! Can someone tell what I'm doing wrong???


Best regards, Sven

pilzinho
First post
Posts: 1
Joined: Wed Mar 03, 2010 5:14 am

Re: SyncML server

Post by pilzinho » Sat Sep 11, 2010 9:47 pm

i finally got funambol to work on my 219p and thought i post my approach here since i too encountered lots of the problems mentioned here in the forums.
since the "simple groupware" is mentioned as a prerequisite i went over to there web site:
http://www.simple-groupware.de/cms/
and there one can find very good documentation about installing simple groupware as well as the integration with funambol :)

start here: http://www.simple-groupware.de/cms/Installation
there's a point: "Installation with Linux (e.g. Debian 4/5)". that's what you wanna do.
copy the 'sgs_installer.php' file to <QWeb>/sgs and open the file in your browser. make sure that the directory is writeable.
i then got an error message like this: "Error: file-check [2]".
if it happens to you too just open the 'sgs_installer.php' file in an editor and search for 'file-check'.
then uncomment the file size check like this:
if (!file_exists($source) /*or filesize($source) < 5*1024*1024*/)
like mentioned in this forum post:
http://groups.google.com/group/simple-groupware/browse_thread/thread/73b9bd46d3b3080e/9dc7871fbb1c8962?lnk=gst&q=error+file-check#9dc7871fbb1c8962
after all that everything should install just fine and simple groupware is up and running.

then head over to the syncml server installation guide:
http://www.simple-groupware.de/cms/InstallationSyncML
there's a point called "Installation with Linux and MySQL (Funambol v7/v8)". just follow these instructions.
download the newest linux server bundle from funambol.
install it like described by svn two posts back.
then follow the instructions on the simple groupware page again.
make sure to set the same mysql porperties (especially the database) for funambol as you did for simple groupware.

and all that finally did it for me. i already synced my contacts from thunderbird to the server and now trying
to get it to work on my ipod touch.
connector programs as well as further documentation can be found on the funambol website.

for further info on funambol its best do download the "Funambol Installation and Administration Guide" from here:
https://www.forge.funambol.org/download ... #runserver

tacitus
New here
Posts: 6
Joined: Sun Dec 25, 2011 6:42 pm

Re: SyncML server

Post by tacitus » Mon Dec 26, 2011 1:50 am

Hi there!

I installed funambol (new version 10.0.3) on my qnap 419p... it works fine... till I log out with the ssh- shell, then the funambol server stopped :(
I have to login with ssh again and start the server ...and so on.
Are there any solutions to keep the server running?!

Thanks a lot!

Tacitus

ththth000
First post
Posts: 1
Joined: Mon Dec 26, 2011 3:45 pm

Re: SyncML server

Post by ththth000 » Mon Dec 26, 2011 8:37 pm

add a line to the autorun.sh (not working):
sh /share/MD0_DATA/opt/Funambol/bin/funambol start

http://www.lv000tw.com

Post Reply

Return to “Features Wanted”