Closed tazeverywhere closed 3 years ago
Sry. I missed your post.
The problem is that you have some comment in your .env file and there is first part of command export $(cat .env | xargs)
which exports all vars from .env but it does not support comments.
The fastest solution is to remove comments from your .env file.
You can also try to export only the var we actually need there which is PATH.
set('db_default', [
'ignore_tables_out' => [],
'post_sql_in' => '',
'post_command' => ['export $(cat .env | grep PATH | xargs) && {{local/bin/deployer}} db:import:post_command:wp_domains']
]);
Hi, no problem for the miss :) thank you for your help, it makes sense. I will try that ! cheers, Sylvain
sorry, late feedback, problem solved, thx again for the tips 👍
Hi @kszymukowicz ,
Sorry, I have again an error and didn't found the answer.
When I do to do a
dep db:push staging -vv
(ordep db:copy development --options=target:staging
),I have an error :
Any idea where the problem could come ? (It was all ok before upgrading to the deployer-extended-wordpress-composer 4.x version that use deployer v.6)
Thanks for your help, cheers, Sylvain