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

Tobias Gablunsky t.gablunsky at cbxnet.de
Fri Aug 2 01:55:00 -05 2019


Hi Michael,

You actually seem to have a version 0.0.6 deployed. With this version I get a new error message:

######################################

┌──────────────────────────────────────────────────────────────┐
│ Easy Migrate Helper: Easily Migrate between BlueOnyx Servers │
└──────────────────────────────────────────────────────────────┘

# Checking connection to Source Platform: ltr2

[SSH_OK] SSH connection successfully established.

[SOURCE_OK]: Source System (ltr2.cbxnet.de) is a BlueOnyx 5208R and is supported by Easy Migrate.

[MIGRATION_START] Starting Migration of Vsite www.mordvinov.org
ERROR: Error during run of '/usr/sausalito/bin/em-helper.pl --vsites' on source server. 
SSH error: $VAR1 = 'ssh slave failed: timed out';

######################################

Well this is pointing into a new direction now. Does it help you in finding the reason?

Schöne Grüße,
Tobias


> -----Original Message-----
> From: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of
> Michael Stauber
> Sent: Friday, August 02, 2019 1:12 AM
> To: blueonyx at mail.blueonyx.it
> Subject: [BlueOnyx:23069] Re: "Easy Migrate" released \o/
> 
> 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
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list