Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collect and develop error checking #56

Open
philstark opened this issue Aug 22, 2013 · 6 comments
Open

collect and develop error checking #56

philstark opened this issue Aug 22, 2013 · 6 comments
Milestone

Comments

@philstark
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

@philstark
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

@philstark
Copy link
Collaborator Author

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 added a commit that referenced this issue Aug 30, 2013
- Added split logs per-user accessible in WHM "Review Copied Accounts"

Issue #59
- After action summary framework added.

Issue #56
- Added a simple [does the account exist on the destination] final
error check.

General
- minor bug fixes and improvements as spotted.
@philstark
Copy link
Collaborator Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant