CpanelInc / cPMigration

13 stars 57 forks source link

collect and develop error checking #56

Open philstark opened 11 years ago

philstark commented 11 years ago

The framework is in place for error checking. Only, we don't have a collection of errors to look for.

Consider this a collection thread

philstark commented 11 years ago

Error : Unknown table engine 'InnoDB' error : Corrupt

warn [pkgacct] lugaimmo_oscl843: mysqldump: Got error: 1286: Unknown table engine 'InnoDB' when using LOCK TABLES

warn [pkgacct] lugaimmo_oscl843: mysqldump failed -- database may be corrupt (802 bytes) warn [pkgacct] Failed to dump database lugaimmo_oscl843

philstark commented 11 years ago

NOTICE -- There were errors logged during this transfer. Please read cpmove-hillcrest/pkgacct.log for details.

philstark commented 11 years ago

this can happen in phase 4 (restore pkg)

Extracting Domain....DoneGenerating Account.... Account Creation Status: failed (Sorry, a mysql user with the name wrenlnp already exists.)checked 19 files.....

philstark commented 11 years ago

scp: /home/cpmove-vydemo.tar.gz: No such file or directory

philstark commented 11 years ago

NOTE: This issue will go from milestone 1.1 to no milestone. This issue will be an ongoing issue and will remain open indefinitely.

philstark commented 11 years ago

This happens.

MySQL error: Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead. at /tmp/.perl-ppk-1EJoJF/lib/Cpanel/DB/MySQL.pm line 102 Cpanel::DB::MySQL::query('Cpanel::DB::MySQL=HASH(0x2921620)', '\x{a} select\x{a} su.*,\x{a} su....', 'CODE(0x2922178)') called at /tmp/.perl-ppk-1EJoJF/lib/Cpanel/Foreign/Plesk/Account.pm line 87 Cpanel::Foreign::Plesk::Account::each_account('Cpanel::Foreign::Plesk::Account', 'CODE(0x22dcf18)', 'Cpanel::Foreign::Plesk::Environment=HASH(0x22dce58)') called at /tmp/.perl-ppk-1EJoJF/lib/Cpanel/Foreign/Account.pm line 48 Cpanel::Foreign::Account::each_account('Cpanel::Foreign::Account', 'CODE(0x22dcf18)', 'Cpanel::Foreign::Plesk::Environment=HASH(0x22dce58)') called at /tmp/.perl-ppk-1EJoJF/scripts/main.pl line 48

Looks like it occurs at updateuserdomains_universal an is preventing an account list from getting generated (as reported by jcnewton):

root@vps [~/cpmigrations]# ./cpmig.sh -s x.x.x.x cPMigration version 1.1.1

Enter source (x.x.x.x) root password: The Source server is Plesk! Setting up scripts, Updating user domains Generating accounts lists... cPMigration After-Action Report

Accounts that were migrated:

Accounts that were not migrated (see logs)