| Author |  | 
      
        | paddy78 Newbie
 
  
 
 Joined: 20 April 2014
 Location: Germany
 Online Status: Offline
 Posts: 4
 | 
          Hi,
           | Posted: 20 April 2014 at 3:33am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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:
           | Posted: 20 April 2014 at 7:00am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | /migration/contacts.php?rev=1 |  |  |  
 Hope this helps!
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | paddy78 Newbie
 
  
 
 Joined: 20 April 2014
 Location: Germany
 Online Status: Offline
 Posts: 4
 | 
          Hi,
           | Posted: 22 April 2014 at 8:20am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  |