[BlueOnyx:23069] Re: "Easy Migrate" released \o/

Michael Stauber mstauber at blueonyx.it
Thu Aug 1 18:12:15 -05 2019


Hi Tobias,

> the output is one line, 24820 characters long. Saved to a file that file has 24821 byte.

I just created a script that auto-created 120 additional Vsites on a
5209R that already had 20 Vsites.

I then tried to import a single Vsite:

----------------------------------------------------------------------
CT-4e767594 /# /usr/sausalito/sbin/easy-migrate.pl --source
5209r.smd.net --p 22 --ip 38.114.102.21 --vsites banana.smd.net
┌──────────────────────────────────────────────────────────────┐
│ Easy Migrate Helper: Easily Migrate between BlueOnyx Servers │
└──────────────────────────────────────────────────────────────┘

# Checking connection to Source Platform: 5209r.smd.net

[SSH_OK] SSH connection successfully established.

[SOURCE_OK]: Source System (5209r.smd.net) is a BlueOnyx 5209R and is
supported by Easy Migrate.

[MIGRATION_START] Starting Migration of Vsite banana.smd.net
mysqldump: Got error: 1049: "Unknown database 'zzzzzzzzzzzzz'" when
selecting the database
mysqldump: Got error: 1049: "Unknown database 'vsite_site3_db'" when
selecting the database
mysqldump: Got error: 1049: "Unknown database 'vsite_site5_db'" when
selecting the database
[INFO] Vsite banana.smd.net created.
[INFO] Configuring NameSpace 'USERWEBS' 'SiteStats' 'REDIRECT' 'CGI'
'Java' 'SSI' 'DNS' 'MYSQL_Vsite' 'UserDefaults' 'PHPVsite' 'Shell'
'Disk' 'Nginx' 'FTPNONADMIN' 'PHP' 'subdomains'

[WARN] Several NameSpace's of this Vsite could not be set. You might not
have the PKGs for these installed: prestashop, b2evolution, moodle,
sugarcrm, drupal, tcexam, mediawiki, limesurvey, oscmax, racktables,
dolphin, dalbum, template, webtrees, cmsmadesimple, xoops,
Compass_webapps, tiki, osticket, roundcubemail, kimai, eramba,
waphpMyAdmin, e107, lepton, phpbb, smf, wordpress, bandwidthmeter,
magento, ac, mantisbt, webcalendar, solbackup, coppermine, gallery,
owncloud, opencart


[INFO] Importing Files of Vsite banana.smd.net
[INFO] Starting RSYNC from 5209r.smd.net:22:/home/.sites/90/site11/web/
to /home/.sites/90/site11/web/
[INFO] Starting RSYNC from 5209r.smd.net:22:/home/.sites/90/site11/sql/
to /home/.sites/90/site11/sql/
[INFO] Starting RSYNC from
5209r.smd.net:22:/home/.sites/90/site11/awstats/ to
/home/.sites/90/site11/awstats/
[INFO] Starting RSYNC from
5209r.smd.net:22:/home/.sites/90/site11/php.d/ to
/home/.sites/90/site11/php.d/
[INFO] Starting RSYNC from
5209r.smd.net:22:/home/.sites/90/site11/webapps_backup/ to
/home/.sites/90/site11/webapps_backup/
[INFO] Starting RSYNC from
5209r.smd.net:22:/home/.sites/90/site11/webalizer/ to
/home/.sites/90/site11/webalizer/
[INFO] Starting RSYNC from 5209r.smd.net:22:/home/.sites/90/site11/logs/
to /home/.sites/90/site11/logs/
[INFO] Configured NameSpace 'SSL' of Vsite banana.smd.net.
[INFO] Importing 'vsite_ObUwNw2_db' SQL database of Vsite banana.smd.net

Done!
----------------------------------------------------------------------

I also ran "/usr/sausalito/bin/em-helper.pl > /tmp/out.txt" and checked
how big the resulting file was. It turned out to be a whopping 1.8 MB
and easy-migrate.pl on the source server had no issues with that.

So I'm afraid that the size of the dump isn't the problem. In which case
another unknown issue is throwing a wrench into things in your case.

I've just published easy-migrate v0.0.5-1, which fixes another issue.
I've added some more debugging lines to it and would appreciate it if
you try again. This time around we should be able to see exactly which
error "$ssh->capture()" runs into.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list