Just wanted to let you know I got a Nokia N9 to sync succesfully with a
private Funambol 9 server using Ove Kåven's repository.

For reference my notes below (some superfluous but better too much than
not enough):

Thanks a lot, Patrick, Ove and Justus for writing syncevolution, the N9
port and the message with details.

Regards,
Reinier

9:48 13-1-2012

Install syncevolution on Nokia N9
Backed up contacts and calendar from thunderbird
from:
http://people.debian.org/~ovek/harmattan/README

# Requirements: developer mode
devel-su
cd /etc/apt/sources.list.d/
# create and edit syncevolution.list using the nano editor.
# use vi or something if you're smarter than me ;)
nano syncevolution.list
# development version of Ove's syncevolution package
deb http://people.debian.org/~ovek/harmattan/ ./
deb-src http://people.debian.org/~ovek/harmattan/ ./

apt-get install syncevolution

exit #back to normal user
syncevolution --help # as normal user

syncevolution shows:
mkcal = KCalExtended = MeeGo Calendar:
   ???? (/home/user/.calendar/db)
   Notes (/home/user/.calendar/db)
   Personal (/home/user/.calendar/db) <default>
   ???? (/home/user/.calendar/db)

#Set up:
#show existing templates
syncevolution --template ?
#create config based on myfunambol
syncevolution --configure funambol
cd /home/user/.config/syncevolution/

#find out which file to edit for settings:
grep -r -i syncurl *
#edit settings:
nano /home/user/.config/syncevolution/default/peers/funambol/config.ini
change
syncURL = http://my.funambol.com/sync
to
syncurl = http://<hostname private funambol server>/sync

username <my username>
password <my password>
### *** todo: if we get timeouts look at disabling printChanges and
dumpData (based on syncevolution mailing list January 2012)

#don't fill up system with logs:
nano /home/user/.config/syncevolution/default/config.ini
# maxlogdirs = 10
# don't fill up the system, 5 is ok:
maxlogdirs = 5

#list local items just for info:
syncevolution --print-items funambol addressbook
syncevolution --print-items funambol calendar

#delete existing local calendar (I had some rubbish there)
# of course, don't do this if your phone contacts should overrule your
funambol contacts
# did not seem to work with
#syncevolution --delete-items funambol calendar *
# we'll deal with it later

# Delete local phone contacts using phone's Contacts GUI

# First sync:
syncevolution funambol
# gives
[INFO] todo: inactive
[INFO] memo: inactive
[INFO] addressbook: starting first time sync, two-way
[INFO] calendar: starting first time sync, two-way
[INFO] addressbook: first time sync done unsuccessfully
[ERROR] addressbook: unexpected slow sync (local, status 22000)
[INFO] calendar: first time sync done unsuccessfully
[ERROR] calendar: unexpected slow sync (local, status 22000)
[ERROR] error code from Synthesis engine local, status 20048

Synchronization failed, see
/home/user/.cache/syncevolution/funambol-2012-01-13-12-06/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  |
|   slow, 0 KB sent by client, 0 KB received                          |
|   unexpected slow sync (local, status 22000)                        |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|      calendar |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
|      slow, 0 KB sent by client, 0 KB received                       |
|      unexpected slow sync (local, status 22000)                     |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|       start Fri 13 Jan 2012 12:06:13 PM CET, duration 0:07min       |
|             unexpected slow sync (local, status 22000)              |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
First ERROR encountered: unexpected slow sync (local, status 22000)

Doing a slow synchronization may lead to duplicated items or
lost data when the server merges items incorrectly. Choosing
a different synchronization mode may be the better alternative.
Restart synchronization of affected source(s) with one of the
following sync modes to recover from this problem:
    slow, refresh-from-server, refresh-from-client

Analyzing the current state:
    syncevolution --status funambol addressbook calendar

Running with one of the three modes:
    syncevolution --sync [slow|refresh-from-server|refresh-from-client]
funambol addressbook calendar

# so, do a forced sync from server (note: I didn't have important stuff
in phone calendar/addressbook)
syncevolution --sync refresh-from-server funambol addressbook calendar

#check log in ~/.cache/syncevolution; seems ok

# check normal sync:
syncevolution funambol

#second sync after modifying calendar, contact remotely: works

#went into funambol admin tool and explicitly set timezone and
conversion for N9 client. Don't know if that is necessary
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to