Created
February 14, 2017 17:00
-
-
Save wesruv/57b928ec9e1eb0b4f113032e50e6867e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@c59867f065b6:/var/www/html# make clean && make install | |
curl -XDELETE 'http://couchdb:5984/lullabot/' \ | |
&& curl -XDELETE 'http://couchdb:5984/lullabot_preview/' \ | |
&& curl -XDELETE 'http://elasticsearch:9200/lullabot/' \ | |
&& echo "DROP database IF EXISTS lullabot" | mysql -u root -proot -h mysql \ | |
&& chmod 755 docroot/sites/default \ | |
&& chmod 755 docroot/sites/default/settings.php \ | |
&& rm -f settings.php \ | |
&& echo "\n" | |
{"ok":true} | |
{"ok":true} | |
{"acknowledged":true} | |
curl -XPUT 'http://couchdb:5984/lullabot/' \ | |
&& curl -XPUT 'http://couchdb:5984/lullabot_preview/' \ | |
&& curl -XPUT 'http://elasticsearch:9200/lullabot/' \ | |
&& echo "create database lullabot" | mysql -u root -proot -h mysql \ | |
&& chmod 755 docroot/sites/default \ | |
&& cp docker/web/settings.php docroot/sites/default/settings.php \ | |
&& cd docroot \ | |
&& mkdir -p sites/default/files \ | |
&& drush cache-clear drush \ | |
&& chmod 777 sites/default/files \ | |
&& drush syncdb-i \ | |
&& drush syncfiles-i \ | |
&& drush rr \ | |
&& drush cc all | |
{"ok":true} | |
{"ok":true} | |
{"acknowledged":true}'drush' cache was cleared. [success] | |
Loaded alias @lullabot.dev from file [notice] | |
/var/www/html/docroot/../drush/aliases/lullabot.aliases.drushrc.php | |
ssh -o PasswordAuthentication=no lulladev.com 'env COLUMNS=106 drush --backend=2 --verbose [notice] | |
--yes --root=/var/www/edit.lulladev.com/docroot --uri=http://edit.lulladev.com sql-conf | |
--all 2>&1' 2>&1 | |
The authenticity of host 'lulladev.com (69.164.221.229)' can't be established. | |
ECDSA key fingerprint is 4f:24:15:8d:89:a6:dd:80:bb:fd:4c:a7:98:66:e3:ed. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Enter passphrase for key '/root/.ssh/id_rsa': | |
/usr/local/bin/php /root/.composer/vendor/drush/drush/drush.php --php=/usr/local/bin/php [notice] | |
--backend=2 --verbose --yes --root=/var/www/html/docroot --uri=http://default sql-conf --all | |
2>&1 | |
You will destroy data in lullabot and replace with data from lulladev.com/lullabot_edit. | |
Do you really want to continue? (y/n): y | |
Starting to create database on Destination. [ok] | |
/usr/local/bin/php /root/.composer/vendor/drush/drush/drush.php --php=/usr/local/bin/php [notice] | |
--backend=2 --verbose --yes --strict=0 --root=/var/www/html/docroot --uri=http://default | |
sql-create --create-db --structure-tables-key=common 2>&1 | |
Creating database lullabot. Any possible existing database will be dropped! | |
Do you really want to continue? (y/n): y | |
Executing: mysql --defaults-extra-file=/tmp/drush_P7ll4I --database=information_schema --host=mysql --port=3306 --silent < /tmp/drush_Sz14YT | |
Command dispatch complete [notice] | |
Starting to dump database on Source. [ok] | |
ssh -o PasswordAuthentication=no lulladev.com 'env COLUMNS=106 drush --backend=2 --verbose [notice] | |
--yes --strict=0 --root=/var/www/edit.lulladev.com/docroot --uri=http://edit.lulladev.com | |
sql-dump --create-db --structure-tables-key=common --gzip --result-file | |
--skip-tables-key=common 2>&1' 2>&1 | |
Enter passphrase for key '/root/.ssh/id_rsa': | |
Executing: mysql --defaults-extra-file=/tmp/drush_kqEsE6 --database=lullabot_edit --host=localhost --silent < /tmp/drush_g1xkga | |
Calling system((mysqldump --defaults-extra-file=/tmp/drush_cfuT42 lullabot_edit --host=localhost --no-autocommit --single-transaction --opt -Q --ignore-table=lullabot_edit.blocked_ips --ignore-table=lullabot_edit.cache --ignore-table=lullabot_edit.cache_bootstrap --ignore-table=lullabot_edit.cache_features --ignore-table=lullabot_edit.cache_field --ignore-table=lullabot_edit.cache_filter --ignore-table=lullabot_edit.cache_form --ignore-table=lullabot_edit.cache_htmlpurifier --ignore-table=lullabot_edit.cache_image --ignore-table=lullabot_edit.cache_libraries --ignore-table=lullabot_edit.cache_menu --ignore-table=lullabot_edit.cache_page --ignore-table=lullabot_edit.cache_path --ignore-table=lullabot_edit.cache_token --ignore-table=lullabot_edit.cache_update --ignore-table=lullabot_edit.cache_views --ignore-table=lullabot_edit.cache_views_data --ignore-table=lullabot_edit.ctools_css_cache --ignore-table=lullabot_edit.ctools_object_cache --ignore-table=lullabot_edit.flood --ignore-table=lullabot_edit.queue --ignore-table=lullabot_edit.sessions && mysqldump --defaults-extra-file=/tmp/drush_cfuT42 lullabot_edit --host=localhost --no-data --no-autocommit --single-transaction --opt -Q blocked_ips cache cache_bootstrap cache_features cache_field cache_filter cache_form cache_htmlpurifier cache_image cache_libraries cache_menu cache_page cache_path cache_token cache_update cache_views cache_views_data ctools_css_cache ctools_object_cache flood queue sessions) | gzip -f > /home/wruvalcaba/drush-backups/lullabot_edit/20170214165718/lullabot_edit_20170214_165718.sql.gz); | |
Database dump saved to [success] | |
/home/wruvalcaba/drush-backups/lullabot_edit/20170214165718/lullabot_edit_20170214_165718.sql.gz | |
Command dispatch complete [notice] | |
Starting to discover temporary files directory on Destination. [ok] | |
/usr/local/bin/php /root/.composer/vendor/drush/drush/drush.php --php=/usr/local/bin/php [notice] | |
--backend=2 --verbose --yes --root=/var/www/html/docroot --uri=http://default core-status 2>&1 | |
/usr/local/bin/php /root/.composer/vendor/drush/drush/drush.php --php=/usr/local/bin/php [notice] | |
--backend=2 --yes --verbose --root=/var/www/html/docroot --uri=http://default core-rsync | |
'@lullabot.dev:/home/wruvalcaba/drush-backups/lullabot_edit/20170214165718/lullabot_edit_20170214_165718.sql.gz' | |
'@self:/tmp/lullabot_edit_20170214_165718.sql.gz' --remove-source-files 2>&1 | |
Loaded alias @lullabot.dev from file [notice] | |
/var/www/html/docroot/../drush/aliases/lullabot.aliases.drushrc.php | |
You will delete files in /tmp/lullabot_edit_20170214_165718.sql.gz and replace with data from lulladev.com:/home/wruvalcaba/drush-backups/lullabot_edit/20170214165718/lullabot_edit_20170214_165718.sql.gz | |
Do you really want to continue? (y/n): y | |
Calling system(rsync -e 'ssh ' -akzv --exclude=".git" --exclude=".gitignore" --exclude=".hg" --exclude=".hgignore" --exclude=".hgrags" --exclude=".bzr" --exclude=".bzrignore" --exclude=".bzrtags" --exclude=".svn" --stats --progress --remove-source-files lulladev.com:/home/wruvalcaba/drush-backups/lullabot_edit/20170214165718/lullabot_edit_20170214_165718.sql.gz /tmp/lullabot_edit_20170214_165718.sql.gz); | |
Enter passphrase for key '/root/.ssh/id_rsa': | |
receiving incremental file list | |
lullabot_edit_20170214_165718.sql.gz | |
4,976,681 100% 9.75MB/s 0:00:00 (xfr#1, to-chk=0/1) | |
Number of files: 1 (reg: 1) | |
Number of created files: 1 (reg: 1) | |
Number of deleted files: 0 | |
Number of regular files transferred: 1 | |
Total file size: 4,976,681 bytes | |
Total transferred file size: 4,976,681 bytes | |
Literal data: 4,976,681 bytes | |
Matched data: 0 bytes | |
File list size: 93 | |
File list generation time: 0.159 seconds | |
File list transfer time: 0.000 seconds | |
Total bytes sent: 164 | |
Total bytes received: 4,902,398 | |
sent 164 bytes received 4,902,398 bytes 891,374.91 bytes/sec | |
total size is 4,976,681 speedup is 1.02 | |
Command dispatch complete [notice] | |
Copying dump file from Source to Destination. [ok] | |
Starting to import dump file onto Destination database. [ok] | |
/usr/local/bin/php /root/.composer/vendor/drush/drush/drush.php --php=/usr/local/bin/php [notice] | |
--backend=2 --verbose --yes --strict=0 --root=/var/www/html/docroot --uri=http://default | |
sql-query --create-db --structure-tables-key=common | |
--file=/tmp/lullabot_edit_20170214_165718.sql.gz --file-delete 2>&1 | |
Executing: gzip -d /tmp/lullabot_edit_20170214_165718.sql.gz | |
Executing: mysql --defaults-extra-file=/tmp/drush_ceXx5h --database=lullabot --host=mysql --port=3306 --silent < /tmp/lullabot_edit_20170214_165718.sql | |
Query failed. [error] | |
Command dispatch complete [notice] | |
Command dispatch complete [notice] | |
Command drush --verbose --yes sql-sync @lullabot.dev @self --create-db failed. [error] | |
Makefile:28: recipe for target 'install' failed | |
make: *** [install] Error 1 | |
root@c59867f065b6:/var/www/html# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment