maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   HOWTO: Syncevolution with N900 (https://talk.maemo.org/showthread.php?t=40278)

petibub 2011-01-23 20:44

Re: HOWTO: Syncevolution with N900
 
I found the solution: "slow sync" and httpS in the syncURL were required...

Thanks for the help.

TTLucian 2011-01-26 12:56

Re: HOWTO: Syncevolution with N900
 
Yes "https" and "Slow sync" worked for me too!!! :D

txapelgorri 2011-02-03 19:25

Re: HOWTO: Syncevolution with N900
 
Hi there:

I can't figure out why my N900 can sync only from the server (Funambol with SOGo) right to the N900, but not the other way: if I get added some "todo" at my N900, when I run syncevolution, that task doesn't propagate to the server :confused:

This only happens with tasks (todos), but for calendars (events).

Thanks in advance, Ibon.

andreash22 2011-02-06 18:16

Re: HOWTO: Syncevolution with N900
 
Just for Information:

Im using SyncEvolution for about two month now in combination with Horde 3.3.11, Turba 2.3.5 and Kronolith 2.2. Works really good.
Only thing I could not manage until now is contact photo sync.
Everything else is ok, also recurring events.

SyncEvolution is a great piece of software :)

regards,
Andreas

ejasmudar 2011-02-24 08:47

Re: HOWTO: Syncevolution with N900
 
I am not able to sync with myFunambol Portal. It asks for first time sync mode and then goes on with the synchronising message with no apparent progress. I am getting 22002 after i cancel it.

Syncing with google, I get "memo:uri not configured" error.

Somebody, plaase help me.

borghal 2011-03-23 09:41

Re: HOWTO: Syncevolution with N900
 
I love syncevolution and it works very reliable with memotoo.

However a single sync lasts 10 minutes with the CPU at maximum. I've got 407 contacts and 2150 calendar entries and this was a normal sync with no changes. I only sync calendar and contacts.

Is this long duration common for others, too?

sub7 2011-04-05 10:56

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by ejasmudar (Post 954371)
I am not able to sync with myFunambol Portal. It asks for first time sync mode and then goes on with the synchronising message with no apparent progress. I am getting 22002 after i cancel it.

Syncing with google, I get "memo:uri not configured" error.

Somebody, plaase help me.

i have the same problem, someone has resolved?

caco3 2011-04-12 15:02

Re: HOWTO: Syncevolution with N900
 
Hi all
I just wrote a tutorial for egroupware and syncevolution: http://talk.maemo.org/showthread.php?t=72046

Maruzko 2011-05-04 13:54

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by petibub (Post 917255)
Thanks for the settings, drangina.

With your settings I get the error 20043. When I change the SyncURL to https I get the error 401.

Am I doing something wrong?

I also had various fatal errors when trying to sync with Google.
Note I;m only syncing the Contacts, nothing else.

For syncing with Google Contacts I simply chose the built in Google template.

Entered in:
Username: <yourname> "leave out @gmail.com"
Password: <your password> "ensure first letter is not capital"

Only Contacts is chosen to be synced by default so I made no other changes.

On the first sync it asks what type: I chose "Slow sync" and that worked fine.

With 300 contacts it took less than 2 mins.

snevi 2011-06-21 00:25

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by neufena (Post 664322)
I guess you're using the gui. It auto capitalises the username and password, for Google the password is case sensitive so check if that;s the problem, it was for me and I felt so stupid when I noticed!

OMG!!! this is the answer i've been looking for weeks, i notice the capitalization on user name but did not notice the capitalization on the password!! thank u very much!!

ivgalvez 2011-09-06 14:53

Re: HOWTO: Syncevolution with N900
 
For me the synchronization for Contacts works mostly fine but some of the contacts get duplicates (not only when synchronizing but also when connected to Google Talk). I think it's related to having multiple phone/email entries and I remembered to read something related to that but now I cannot find it. Any info about how to fix it?

Sometimes a contact gets its address duplicated, one with dots at the end of each field and the other without them.

The last issue I found is that Goolge Talk accounts change to Jabber accounts from time to time.

By the way, I've seen new packaged entering the repos, any changelog?

medheman 2011-09-11 19:49

Re: HOWTO: Syncevolution with N900
 
hi 2 all,
i have a problem with the installation ov synevolution. it's not possible, missing lib "libpcre3" installation of this lib with apt-get install libpcre3 shows that it's again not possible because it's not valid anymore
ca i get some help here?

caco3 2011-09-11 19:51

Re: HOWTO: Syncevolution with N900
 
On your N900, go to this page: http://maemo.org/packages/package_in...6.7-1osso1+r1/
And click on the libpcre3_6.7-1osso1+r1_armel.deb
It should get downloaded and installed.

medheman 2011-09-12 20:17

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by caco3 (Post 1086423)
On your N900, go to this page: http://maemo.org/packages/package_in...6.7-1osso1+r1/
And click on the libpcre3_6.7-1osso1+r1_armel.deb
It should get downloaded and installed.

hello, thanks for the fast given tip ...
but: i tried to install it, it is not possible
"installation not possible, lib is not compatible"
any new advice ?
thanks in advance

caco3 2011-09-14 21:39

Re: HOWTO: Syncevolution with N900
 
can you try to install it in the terminal?
(You will need root rights for that, please check the forum for help)
then install it with
dpkg -i /var/cache/apt/archives/libpcre3_6.7-1osso1+r1_armel.deb
The file might have another version number!

gilead 2011-09-15 19:37

Re: HOWTO: Syncevolution with N900 (contact fields are lost)
 
Hi,

I installed a funambol server on my home server and want to use it to sync my contacts between Evolution (on Ubuntu Laptop) and N900. After the first slow-sync between these clients (using syncevolution with GUI client) and funambol I got a long list of contacts with many duplicates on my N900. I corrected all errors and removed all duplicates. Then I used syncevolution on N900 with option "Refresh from Client" to replace all contacts on funambol server with this good contacts list from N900.

All contacts are written to funambol server but many fields are missing. There is at most one e-mail address per contact and postal address is completly missing. Other fields (name, avatar, some phone numbers etc) arrive as expected.

Any idea why so many fields are lost?

Thank you for help, gilead

caco3 2011-09-15 22:21

Re: HOWTO: Syncevolution with N900
 
I am not sure which fields are supported in the sync. I.E. my skype contacts are not getting synced!

gilead 2011-09-17 19:01

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by caco3 (Post 1089226)
I am not sure which fields are supported in the sync. I.E. my skype contacts are not getting synced!

Its not only a problem of Skype contacts for me. I entered a lot of data manually (e.g. postal addresses) and theses are not synced at all to the funambol server.

Is it a problem of funambol, syncevolution or some settings on my side? I don't know and have no more ideas to find out.

Regards, gilead

medheman 2011-09-25 18:57

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by caco3 (Post 1088550)
can you try to install it in the terminal?
(You will need root rights for that, please check the forum for help)
then install it with
dpkg -i /var/cache/apt/archives/libpcre3_6.7-1osso1+r1_armel.deb
The file might have another version number!

thanks a lot, works now very well, terminal was no problem ;-)

narcisgarcia 2012-09-28 11:27

Re: HOWTO: Syncevolution with N900
 
An easy way to synchronize Maemo Calendar with a CalDAV service:

1. With the extras-devel repository enabled, install the package syncevolution-frontend

2. Open the SyncEvolution application

3. Tap on "Sync services", and press "Add new service". Next.

4. Give a name to this subscription, select "Google calendar" template, and Next.

5. Replace the "Sync URL" for the right one of your existing remote account. Fill username and password in Account boxes if necessary.

6. Ignore the "Database configuration is not currently available for this service type" warning. Next, Finish.

* Tested with DAViCal server software

narcisgarcia 2012-10-11 19:04

Re: HOWTO: Syncevolution with N900
 
Also contacts can be syncronized via CardDAV with the Yahoo template.

xvan 2012-12-19 05:20

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by narcisgarcia (Post 1279418)
Also contacts can be syncronized via CardDAV with the Yahoo template.

Could you explain how to use that with gmail contacts?
It's important after the winter cleanning.

I couldn't make it work.
I couldn't even configure it following the howto wiki

I was able to configure Carddav with version 1.2.2 only.

I used:
Code:

syncevolution --configure \
              username=user@gmail.com \
              password=<password> \
              addressbook/backend=carddav \
              addressbook/database=https://google.com//m8/carddav/principals/__uids__/user@gmail.com/lists/default/ \
              target-config@webdav \
              addressbook

syncevolution --configure \
              --template SyncEvolution_Client \
              syncURL=local://@webdav \
              username= \
              password= \
              webdav \
              addressbook

then I disabled the SSL certificates verification in
Code:

sed -i 's/.*SSLVerifyServer.*/SSLVerifyServer = 0/' /home/user/.config/syncevolution/*/peers/*/config.ini
syncevolution version >= 1.2.99 fails at configuration

what works is to configure with 1.2.2 , then updgrade to 1.3, then make the first sync...

It doesn't sync images...

narcisgarcia 2012-12-19 07:58

Re: HOWTO: Syncevolution with N900
 
I don't know if Gmail is compatible with CardDAV protocol. If so, the procedure should be the same as I described.

don_falcone 2012-12-19 09:01

Re: HOWTO: Syncevolution with N900
 
Google uses CalDAV and CardDAV v3 right now, v2 is marked as deprecated but not omitted for now...

LaptopU 2013-03-14 07:28

Re: HOWTO: Syncevolution with N900
 
I read this morning CalDAV API is being removed later this year by Google - http://www.theregister.co.uk/2013/03...etires_reader/ - any possibility of Google Calendar API being used on SyncEvolution?

xvan 2013-04-22 09:01

Re: HOWTO: Syncevolution with N900
 
It doesn't matter what Google winter cleaning says. c*dav should stay because there are a lot of old iphones still around.

I finally put together some dark magic and made Google Carddav work again...

The SSL bug prevents the configuration connection to be made from the phone... so the trick is to set up the configuration in another place (a pc), then copy it to the phone.

IN THE PC tested with syncevolution 1.3.99.3
Code:

syncevolution --keyring=no --configure \
              username=<user>@gmail.com \
              password=<password> \
              addressbook/backend=carddav \
              addressbook/database=https://google.com//m8/carddav/principals/__uids__/default/lists/default/ \
              target-config@webdav \
              addressbook

Then copy the folder in the pc ~/.config/syncevolution/webdav to the same same place in your phone... with openssh you can make.
Code:

scp -r ~/.config/syncevolution/webdav  user@<wifi-phone-ip>:/home/user/.config/syncevolution/webdav
IN THE PHONE tested with syncevolution 1.3.99.3
Code:

syncevolution --configure \
              --template SyncEvolution_Client \
              syncURL=local://@webdav \
              username= \
              password= \
              webdav \
              addressbook

Then disable the certificate verification:
Code:

sed -i 's/.*SSLVerifyServer.*/SSLVerifyServer = 0/' /home/user/.config/syncevolution/*/peers/*/config.ini
Backup all your conctacts.

Open the Syncevolution-Frontend.
Open the webdav configuration, go to "edit service", configure the sync to Refresh-from-server (slowsync failed for me twice).
Upon success, you can configure it to "normal-sync".

Other combinations of syncevolution versions (pc - phone), might work, because each one fails at a different step.

I took the last pc version from here.
I also had to compile the 1.3.99 version for maemo. Until the repository is updated, you can download syncevolution from here.

nokiabot 2013-04-22 09:46

Re: HOWTO: Syncevolution with N900
 
Good job:)

xvan 2013-05-20 10:07

Re: HOWTO: Syncevolution with N900
 
Old Google carddav database url:
Code:

addressbook/database=https://google.com//m8/carddav/principals/__uids__/default/lists/default/
Doesn't work anymore. It has to be replaced by:
Code:

addressbook/database=https://google.com/carddav/v1/principals/[username]%40gmail.com/lists/default/
where [username] is the gmail user.

I sniffed it from IOS6.1, so it should last for a while

nodevel 2013-08-31 08:40

Re: HOWTO: Syncevolution with N900
 
Hey, thanks for this tutorial - it's very appreciated.

However, I have one little note:

I tried to follow the tutorial on the N9 and it went fine - I skipped the step where you disable certificate verification and it synchronized all the contacts without any problems (I even didn't have to use the computer).

On the N900 it fails if I don't disable the verification (as expected).

So does N9 have a newer certificate for Google services than N900? Could it be imported?

Helmuth 2013-11-02 15:38

Re: HOWTO: Syncevolution with N900
 
I wasted now 2 hours with this stuff...

...was anyone able to sync adressbook and calendar to fruux.com using SyncEvolution?

m4r0v3r 2013-11-17 15:41

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by Helmuth (Post 1383960)
I wasted now 2 hours with this stuff...

...was anyone able to sync adressbook and calendar to fruux.com using SyncEvolution?

am attempting this, we'll see how it goes

m4r0v3r 2013-11-17 16:11

Re: HOWTO: Syncevolution with N900
 
i checked here for the google URL https://developers.google.com/google-apps/carddav/


what i have so far

syncevolution --keyring=no --configure \ username=[insert] \ password=[insert] \ addressbook/backend=carddav \

addressbook/backend=carddav addressbook/database=https://www.googleapis.com/carddav/v1/principals/[insertusername]@googlemail.com/lists/default \target-config@webdav


also in the syncevolution config in /home/user/.config/syncevolution/webdav/peers/target-config/config.ini make sure SSLVerifyServer is 0.

http://talk.maemo.org/showpost.php?p...&postcount=186

thats where i got the syncevolution from for my n900, also many thanks to that guy because its what this is all based off. I get stuck on this

Quote:

[INFO] addressbook: looking for databases...
[INFO] addressbook: okay
[INFO] calendar: looking for databases...
Since the API am using am guessing doesnt have the calender :(

edit: so now am running

Quote:

addressbook/backend=carddav addressbook/database=https://www.googleapis.com/carddav/v1/principals/[insertusername]@googlemail.com/lists/default \target-config@webdav addressbook
and it works for that point but next step on pc was to run

Quote:

syncevolution --sync slow webdav
Quote:

[INFO] Configuration "webdav" does not exist.
[ERROR] Cannot proceed with sync without a configuration.
And on the PC it synced, but on my N900 i receive the error above.

btw all these commands must be on a single line

so now am running

Quote:

syncevolution --sync slow target-config
i get this

invalid tag <syncmodeextensions> at line 2103 col 4
invalid tag <syncmodeextensions> at line 2103 col 4
[ERROR] unsupported transport type is specified in the configuration

Synchronization failed, see /home/user/.cache/syncevolution/target_+config@webdav-2013-11-17-17-34/syncevolution-log.html for details.

Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
| | LOCAL | REMOTE | FLI |
| Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| addressbook | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| start Sun Nov 17 17:34:14 2013, duration 0:01min |
| fatal error (local, status 10500) |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
First ERROR encountered: unsupported transport type is specified in the configuration


ignore all this. I actually got it to work using xvans method and an updated link from the google api, but i ran it all on the n900

m4r0v3r 2013-11-17 19:28

Re: HOWTO: Syncevolution with N900
 
so long story short heres what I did to make it work

Quote:

syncevolution --keyring=no --configure \ username=[fullusername] \ password=[password] \ addressbook/backend=carddav \
Quote:

addressbook/backend=carddav addressbook/database=https://www.googleapis.com/carddav/v1/principals/[fullusername]/lists/default \target-config@webdav \addressbook
Quote:

syncevolution --configure --template SyncEvolution_Client \syncURL=local://@webdav \username=[fullusername]\password=[password] \webdav \ addressbook
go to the syncevolution frontend/gui and sync with refresh from server and boom i had contacts. For all materials I refered to xvans post and the majority of the credit should go to him. :)

mindstate 2013-11-20 01:48

Re: HOWTO: Syncevolution with N900
 
i still couldnt get it to sync using your instructions m4r0v3r

m4r0v3r 2013-11-20 02:34

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by mindstate (Post 1387616)
i still couldnt get it to sync using your instructions m4r0v3r

hmm odd, any errors or what?

mindstate 2013-12-08 15:49

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by m4r0v3r (Post 1387620)
hmm odd, any errors or what?


Nokia-N900:~# syncevolution --keyring=no --configure \ username=hghsron@gmail.com \ password=password \ addressbook/backend=carddav \
> addressbook/backend=carddav addressbook/database=https://www.googleapis.com/carddav/v1/principals/hghsron@gmail.com/lists/default \target-config@webdav \addressbook
[INFO] addressbook: looking for databases...
[INFO] addressbook: backend failed: transport problem: PROPFIND: Neon error code 1, no HTTP status: Server certificate verification failed: issuer is not trusted
[ERROR] addressbook: backend failed: transport problem: PROPFIND: Neon error code 1, no HTTP status: Server certificate verification failed: issuer is not trusted

sHaggY_caT 2014-04-30 02:13

Re: HOWTO: Syncevolution with N900
 
How it's work with ToDo apps? What's apps are supported? Or how I can write todo apps with support SyncEvolution?

sHaggY_caT 2014-04-30 12:16

Re: HOWTO: Syncevolution with N900
 
Quote:

Originally Posted by tarek (Post 467613)

.config/syncevolution/sync1/sources/todo/config.ini
Code:

sync = two-way
type = maemo-tasks
evolutionsource = id:1
uri = task2


Anybody can help me, how it is work? What is task2?

sHaggY_caT 2014-04-30 13:15

Re: HOWTO: Syncevolution with N900
 
I think, I understood: It is inside task manager (in maemo calendar)

But... It's don't permit create tasks without set time of task :(

I will try install alternative calendar and try tasks and integration with syncevolution

sHaggY_caT 2014-04-30 15:15

Re: HOWTO: Syncevolution with N900
 
I install Qalendar, but in this software tasks also must include date.
Try use tasks, and ignore date information.

Qalendar also fine work with syncevolution: it is syncing Calendar, Contacts and defective tasks

Also, Qalendar not set 15 minutes interval of notification, it is very good


All times are GMT. The time now is 14:36.

vBulletin® Version 3.8.8