Sc00by
October 22, 2019, 8:41pm
1
I am following the guide:
https://xibo.org.uk/docs/setup/xibo-2-1-0-with-docker-on-ubuntu-18-04
but on running docker-compose up -d I am receiving the error
Syntax error: redirection unexpected
I can’t find anything online about this so I’m a bit stuck. It’s a clean install and I am following the guide word for word.
Could someone help please?
DanBW
October 24, 2019, 3:17pm
2
Thank you for your message. can you confirm what happens if you try sudo docker-compose up -d
instead?
Many Thanks.
I got the same error using 'sudo docker-compose up -d. I think a docker composer update broke it. I installed an older version of docker-compose at it worked.
Try
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-'uname -s’-‘uname -m’ -o /usr/local/bin/docker-compose
JBraham
November 20, 2019, 9:09pm
4
I ran into the exact same error today,
The solution was to remove ‘uname -s’ - ‘uname -m’ out of the curl installation step and replace it with the specific version.
So this:
curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-`uname -s-
uname -m` -o /usr/local/bin/docker-compose
Becomes this:
curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose
As soon as I did that everything worked as expected.