jadwigo / bolt-deployer-recipe Goto Github PK
View Code? Open in Web Editor NEWA recipe to deploy https://bolt.cm sites with https://deployer.org
License: MIT License
A recipe to deploy https://bolt.cm sites with https://deployer.org
License: MIT License
I can't seem to get this to work when I try my first deployment I get this:
✈︎ Deploying development on xxx.xxxx.xxx
✔ Executing task deploy:prepare
✔ Executing task deploy:lock
➤ Executing task db:snapshot
✔ Executing task deploy:failed
✔ Executing task deploy:unlock
In Client.php line 99:
The command "cd /home/dfe && (/usr/bin/mysqldump --defaults-extra-file=/home/dfe/snapshots/.my.cnf bolt_deployer > /home/dfe/snapshots/0.sql)" fail
ed.
Exit Code: 2 (Misuse of shell builtins)
Host Name: mystic.com
================
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
deploy [-p|--parallel] [-l|--limit LIMIT] [--no-hooks] [--log LOG] [--roles ROLES] [--hosts HOSTS] [-o|--option OPTION] [--] [<stage>]
I did some digging and I think your script is trying to send the credentials on localhost, because if I try to execute mysql with just user and password I get that error 2002.
However when I execute mysqldump with -h hostname I can connect fine on my server, so I am not sure the mysql_host value is being used at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.