Closed rastitkac closed 3 years ago
PS: Thank you for this awesome tool ❤️
Hello there!
Sorry for the bug in the doctor
about the .env
: it's known and tracked here in the issue tracker, but since I'm working on a humongous refactor branch I left behind a couple of bugfixes.
I read your issue (thanks for the thorough report) and I'm afraid this is not properly a Wordmove's bug. As we read in your own snippet
▬▬ Pulling Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
local | mysqldump --host=[secret] --user=rastitkac --result-file="[secret]/wp-content/local-backup-1596799964.sql" wordmove
mysqldump: unknown variable 'column-statistics=0'
wordmove is invoking that command in your local environment and the command is just fine AFAIK. It's your mysqldump
apparently having something to complain 😄
Lurking on the web, I think you could try to pass to mysqldump
through the movefile.yml
the flag --column-statistics=0
(ref). you find our docs about how to passing options here.
Let us know and good luck!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug When running a DB operation (both pull and push) I get the error:
Wordmove command
wordmove pull -e dev -d
orwordmove push -e dev -d
Expected behavior I would expect that the operation finishes with success.
movefile.yml
ENV Variables are loaded correctly from .env file
Exception/trace
Environment (please complete the following information):
Doctor
wordmove doctor
is not green but i think it has an unrelated issue with .env usage▬▬ Using Movefile: ./movefile.yml ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Validating movefile section: global ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Validating movefile section: local ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Validating movefile section: dev ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Validating movefile section: prod ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Using Movefile: ./movefile.yml ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Checking local database commands and connection ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Checking local wp-cli installation ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Checking rsync ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬ Checking SSH client ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬