Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Update 6.5.2 -> 7.2.0 Contacts missing Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
paddy78
Newbie
Newbie


Joined: 20 April 2014
Location: Germany
Online Status: Offline
Posts: 4
Posted: 20 April 2014 at 3:33am | IP Logged Quote paddy78

Hi,

I have upgraded WebMail Lite from version 6.5.2 to 7.2 according to

http://www.afterlogic.com/wiki/Upgrading_instructions_(WebMail_Lite_7)

Everything works fine but all the contacts are missing. I have checked the database and all contacts are in the table "adav_cards". I guess the new storage table is "awm_addr_book"

The Wiki says the migration/contacts.php-Script should only be executed when updating from versions below 6.5. Is that right? Though I have tried running the script and according to the log file some SQL queries are executed but there are still no contacts in the new table.

What is the best way to migare the contacts (About 3.500 contacts in 107 mailboxes)
Back to Top View paddy78's Profile Search for other posts by paddy78
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 20 April 2014 at 7:00am | IP Logged Quote Igor

In this case, a different migration script should be used, you can download it here. Since you have run the original script, you need to delete data/migration file as data stored there are going to conflict with the new script. The script itself needs to be run with the parameter added as follows:

Code:
/migration/contacts.php?rev=1


Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
paddy78
Newbie
Newbie


Joined: 20 April 2014
Location: Germany
Online Status: Offline
Posts: 4
Posted: 22 April 2014 at 8:20am | IP Logged Quote paddy78

Hi,

thanks for your help.

About 40 contacts have been migrated. The log says:

10:23:29.04] From storage: sabredav
[10:23:29.04] To storage: db
[10:23:29.04] Process domain: Default
[10:23:29.04] Users count: 107
[10:23:29.04] Process user: 1 - xxxx
[10:23:29.04] Skip user: xxxx
[10:23:29.04] --------------------
[10:23:29.04] Process user: 2 - xxxx
[10:23:29.04] Skip user: xxxx
[10:23:29.04] --------------------
[10:23:29.04] Process user: 3 - xxxx
[10:23:29.04] Skip user: xxxx
[10:23:29.04] --------------------
[10:23:29.04] Process user: 4 - xxxx
[10:23:29.04] Skip user: xxxx
[10:23:29.04] --------------------
[10:23:29.04] Process user: 5 - xxxx
[10:23:29.04] Skip user: xxxx
[10:23:29.04] --------------------
[10:23:29.04] Process user: 6 - xxxx
[10:23:29.04] Skip user: xxxx
[10:23:29.04] --------------------
[10:23:29.04] Process user: 7 - xxxx
[10:23:29.11] Contacts count: 0
[10:23:29.11] --------------------


So it stops after contact #7. Why are some users skipped? I also got some PHP warnings:

Warning: Invalid argument supplied for foreach() in /srv/www/mail7/webmail7/libraries/afterlogic/common/managers/maincontacts/storages/sabredav/storage.php on line 555

Just warnings though, I guess those happens when no contacts are stored for the user.
Back to Top View paddy78's Profile Search for other posts by paddy78
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide