X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=151.210.230.157; envelope-from=<surgemail-support@netwinsite.com>;
X-Received: from mail1 (151.210.230.157 [151.210.230.157])
by netwin.co.nz (SurgeMail 7.5b) with ESMTP (TLS) id 30234258-1391920
for <surgemail-list@netwin.co.nz>; Sun, 03 Jan 2021 10:31:08 +0000
X-Return-Path: surgemail-support
From: Surgemail Support (Marijn)
To: <surgemail-list@netwin.co.nz>
Subject: Re: [SurgeMail List] CardDev Sync Contacts
Date: Sun, 03 Jan 2021 10:31:08 +0000
Message-ID: <5ff19cec.139e.d1ec2700.50e649db@netwin.co.nz>
In-Reply-To: <5fea6ca0.2d0.1798.67b4@html.com.au>
MIME-Version: 1.0
X-Originating-IP: 151.210.230.157
X-Mailer: SurgeWeb - Ajax Webmail Client
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: : 0.000000
X-Info: aspam skipped due to (g_smite_skip_relay)
X-Encryption: SSL encrypted
X-IP-stats: Incoming Last 0, First 18, in=52, out=0, spam=0 ip=151.210.230.157
List-Unsubscribe: <mailto:surgemail-list-leave@netwin.co.nz?subject=unsubscribe>
X-Mailing-List: surgemail-list@netwin.co.nz
List-ID: <surgemail-list@netwin.co.nz>
Precedence: bulk
Reply-To: surgemail-list@netwin.co.nz
Content-Transfer-Encoding: quoted-printable
Hi
Sorry for the delayed response. I have been almost entirely out of internet range for a week!
Check the scripts/abk.php file as to which file was previously being accessed as the carddav database. The default as per instructions is surgemail/scripts/data/abkdb.sqlite although it could just as easily be using surgemail/scripts/data/caldb.sqlite or some other file.
If using caldb.sqlite, the calendar database migration will already have done the addressbook migration so step 4 is not needed.
If you are using some other file copy it to surgemail/scripts/data/abkdb.sqlite and step 4 below should work to do the database upgrade to surgemail/scripts/data/abkdb_v2.sqlite
Regardless of how you do the upgrade, and what the name of the final file is, you will need to make sure surgemail/scripts/abk_v2.php accesses the correct database file.
Let me know what results that yields thanks. If needed send me a listing of the surgemail/scripts directory for further comment.
Marijn
On Tuesday 29/12/2020 at 12:39 pm, Tom Cross wrote:
Hi Marijn
The only sqlite files in Surgemail are caldb_v2.sqlite
No abkdb_v2.sqlite
The Cal functions are working OK.
The Card functions are not.
regards
tom cross
partner HTMLnet
e: tomc@html.com.au
m: 0418 295 336
[ Image ]
On Monday 28/12/2020 at 14:39:01, Tom Cross wrote:
Hi Marijn
When I run the tellmail in step 4, it returns it cannot find the files.
regards
tom cross
partner HTMLnet
e: tomc@html.com.au
m: 0418 295 336
[ Image ]
--- Original message ---
Subject: Re: [SurgeMail List] CardDev Sync Contacts
From: Surgemail Support (Marijn) <surgemail-support@netwinsite.com>
To: <surgemail-list@netwin.co.nz>
Date: Tuesday, 15/12/2020 12:39:06
The carddav functionality should now be functional with the latest caldav / sabredav in surgemail.
You will need to:
1) be running surgemail binary version 7.5b18+
2) run the calendar "Update Current Install" button to get the latest version of the files in surgemail/phplib/*_v2 directories (this is safe to rerun in terms of already running caldav)
3) copy the surgemail/phplib/netwin_v2/abk_v2.php to surgemail/scripts/abk_v2.php
4) Lastly to explicitly upgrade the old abk database (surgemail/scripts/data/abkdb.sqlite) to the new database (surgemail/scripts/data/abkdb_v2.sqlite) run this tellmail command:
tellmail abkdb_migrate
What platform were you on? I have just placed very latest linux64, windows32 and windows 64 builds in the specials directory.
Let us know how that goes thanks, and I'll make sure I update the instructions page too in the next day or so :-)
Marijn
On Monday 07/12/2020 at 2:38 pm, Tom Cross wrote:
Hi
In the instructions
the folder Netwin is used.
We have Netwin and Netwin_v2
Do we use the _v2?
regards
tom cross
partner HTMLnet
e: tomc@html.com.au
m: 0418 295 336
[ Image ]