nginx-rtmp-monitoring
nginx-rtmp-monitoring copied to clipboard
Error when installing chmod + x setup.sh && ./setup.sh
./setup.sh: 5: ./setup.sh: Syntax error: "(" unexpected
sed: -e expression #1, char 59: unterminated s' command sed: -e expression #1, char 73: unterminated
s' command
sed: -e expression #1, char 75: unterminated s' command sed: -e expression #1, char 71: unterminated
s' command
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services
key, or omit the version
key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
ubuntu 18.04
upgrade docker and docker-compose. its bug in docker it self. check this maybe helping you.
https://stackoverflow.com/questions/42139982/version-in-docker-compose-yml-is-unsupported-you-might-be-seeing-this-error
the same problem is observed on ubuntu, I have not found a solution yet UPD: обновление docker-compose до самой последней версии не помогло
This will fix it!
$ sudo apt-get remove docker-compose $ sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose $ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
This will fix it!
$ sudo apt-get remove docker-compose $ sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose $ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Not working on Docker 19.03.12 with Ubuntu 20.04 (Digital Ocean Droplet)