easy-deploy-bundle icon indicating copy to clipboard operation
easy-deploy-bundle copied to clipboard

Error during release folder creation

Open shm-vadim opened this issue 7 years ago • 5 comments

Hello!

Always on deploying i have such error...

[user@host] Executing command: "(export APP_ENV=prod; export _release_path="/home/u28053/data/www/u28053.s1.radisol.org/releases/$(date +%Y%m%d%H%M%S)" && mkdir -p $_release_path && echo $_release_path)" | err :: date: extra operand 'Y'

But, when i copy this command in my console, there is no any errors. And all work correctly. And nothing i can do with it...

Could someone explain me, what happens, and what i should do?

I work in win7, may be it's importent.

shm-vadim avatar Jun 07 '18 12:06 shm-vadim

This looks like the date command on the server you are deploying to isn't standard. What do you get from date --version?

It should read something like date (GNU coreutils) 8.25

YetiCGN avatar Jul 04 '18 10:07 YetiCGN

I got: date (GNU coreutils) 8.22

shm-vadim avatar Jul 04 '18 10:07 shm-vadim

Then it might be a problem with escaping when issuing the remote command.

YetiCGN avatar Jul 04 '18 11:07 YetiCGN

And what can help me with it? Or there is no chance to make it works?

shm-vadim avatar Jul 04 '18 11:07 shm-vadim

Same issue for me with date (GNU coreutils) 8.23

no solution yet?

If I put the command in a SSH shell by hand, it works perfectly

alealbert avatar Jul 08 '20 10:07 alealbert