Author Topic: Upgrading to Global Address Book 2.01  (Read 4500 times)

Offline chaser

  • Jr. Member
  • **
  • Posts: 20
Upgrading to Global Address Book 2.01
« on: October 29, 2021, 08:59:44 AM »
Hi,

I recently tried upgrading from Global Address Book v1.11 to v2.01, but all the contacts disappear when I do that. If I revert back, they reappear. In the v2.01 config.inc.php file I've set the following to match the values in v1.11:

'name' => 'Global Addresses',
'user' => 'global_addressbook_user',

Can anyone tell me what I'm doing wrong?

Thanks

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Upgrading to Global Address Book 2.01
« Reply #1 on: October 30, 2021, 05:46:14 AM »
Check the users table in the database and see if there are 2 globaladdressbook users listed.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline chaser

  • Jr. Member
  • **
  • Posts: 20
Re: Upgrading to Global Address Book 2.01
« Reply #2 on: October 31, 2021, 05:50:10 PM »
Ah. I had the following 3 different users listed:

[global_addressbook_user]
_global_addressbook_user_
global_addressbook_user

I've updated the config.inc.php file to:

'user' => '[global_addressbook_user]',

which actually matched the username in the v1.11 config file (I had missed the square brackets when I had read it initially, duh) and that's fixed it! My contacts have re-appeared. Can I just delete the other two users from the table?

Edit 1: I've deleted the two unused global_addressbook_user entries from the table without any apparent issue!
Edit 2: I've corrected the 3 listed users in the table!

Thanks
« Last Edit: November 01, 2021, 08:29:32 AM by chaser »