Hello,
I’m looking into the same thing.
In the CSV we do have entries like this where existing acl_account ID is used for another user after the migration
,10764,user.name1,S-1-5-21-239752359-961613262-1525784148-1676,1676
,10439,user.name2,S-1-5-21-239752359-961613262-1525784148-10764,10764
admin/admin-cli.php ends unexpectedly with sql error like this:
Invalid SQL: UPDATE egw_acl SET acl_account= CASE acl_account WHEN -10015 THEN -515 WHEN -10012 THEN -512 WHEN -10013
... snip...
WHEN 10754 THEN 1672 WHEN 10718 THEN 1673 WHEN 10211 THEN 1674 WHEN 10491 THEN 1675 WHEN 10764 THEN 1676
... SNIP ...
WHEN 10439 THEN 10764 WHEN 10618 THEN 10765
... SNIP ...
WHEN 10501 THEN 10689 END WHERE acl_account IN (-10015,-10012,-10013,
... SNIP ...
10211,10491,10764,10215,
... SNIP ...
10909,10439,10618,
... SNIP ...
10415,10501)
Duplicate entry 'addressbook-run-10764' for key 'egw_acl_appname_location_account' (1062)
We have too many instances of this to comfortably handle it manually.
Reordering rows in the CSV file is not helping with this.
Deleting corresponding rows from the egw_acl table for no longer active users reduces number of its occurences but we still need to find out how to overcome this for the active users.
This looks to me either like a mysql configuration issue or like a bug.
Can you share some tips please?
Greetings
Peter