[BlueOnyx:27281] Easy Migrate errors : Exceptions not handled ...kindof

Rodrigo Ordoñez Licona Xnet.mx rordonez at xnet.com.mx
Fri Oct 11 12:18:55 -05 2024


Hi

We are migrating from a 5209 to a 5211, running easymigrate on the new
server,


And during the migration a user fails with disk used as "empty"

Log output of failure:
Oct  5 19:07:53 web cced(smd)[105707]: client
0:handlers/base/disk/userusage.pl: SET  456 . Disk used = ""
Oct  5 19:07:53 web cced(smd)[105707]: client
0:handlers/base/disk/userusage.pl: SET 456.Disk failed (-5)

However we noticed the easy-migrate.pl  has these lines
if ($key eq 'Disk') {
                    if ($User_NameSpace->{'used'} eq "") {
                        $User_NameSpace->{'used'} = '0';
                    }
                    if ($User_NameSpace->{'over_quota'} eq "") {
                        $User_NameSpace->{'over_quota'} = '0';
                    }
                }

But they are not changing  a "" to a '0'

The user has space used in the old server not sure why its coming back empty

Any pointers to continue migration successfully without deleting the user on
the old server (which is our current workaround)

Regards

Rodrigo O
Xnet





More information about the Blueonyx mailing list