Can't Install Thingsboard

I need to install Thingsboard on an Ubuntu 18.04 server, so I ran through the first set of installation steps (link here). When I ran docker-update-service.sh with this piece of code:

set -e

source compose-utils.sh

ADDITIONAL_COMPOSE_ARGS=$(additionalComposeArgs) || exit $?

docker-compose -f docker-compose.yml $ADDITIONAL_COMPOSE_ARGS pull $@
docker-compose -f docker-compose.yml $ADDITIONAL_COMPOSE_ARGS up -d --no-deps --build $@

I got this…

root@ip-172-31-47-109:/home/ubuntu/thingsboard/docker# ./docker-update-service.sh 
Pulling zookeeper (zookeeper:3.5)...
3.5: Pulling from library/zookeeper
Digest: sha256:d11c88cdaabdbca82a6a1f1eccd78939bc1c8f5b03b42168e55aada38a156cc2
Status: Image is up to date for zookeeper:3.5
Pulling tb-web-ui1 (thingsboard/tb-web-ui:latest)...
latest: Pulling from thingsboard/tb-web-ui
Digest: sha256:853424fc884632bcf226b052c8ebece61bdbb207e8363602534416610546b374
Status: Image is up to date for thingsboard/tb-web-ui:latest
Pulling tb-web-ui2 (thingsboard/tb-web-ui:latest)...
latest: Pulling from thingsboard/tb-web-ui
Digest: sha256:853424fc884632bcf226b052c8ebece61bdbb207e8363602534416610546b374
Status: Image is up to date for thingsboard/tb-web-ui:latest
Pulling redis (redis:4.0)...
4.0: Pulling from library/redis
Digest: sha256:b16c2623b557d300199014a53754d697c8f92f6e4e062923c26890fcf72a05e5
Status: Image is up to date for redis:4.0
Pulling kafka (wurstmeister/kafka:latest)...
latest: Pulling from wurstmeister/kafka
Digest: sha256:fd2d7a5b48d3f88500e725f3758b27b2220894762a31a0079aff3046f34716b5
Status: Image is up to date for wurstmeister/kafka:latest
Pulling tb-http-transport1 (thingsboard/tb-http-transport:latest)...
latest: Pulling from thingsboard/tb-http-transport
Digest: sha256:3ce7e12b5fa358ec21ee2cab47b789bf83792e092d53e11ebd8e02434c5dbb73
Status: Image is up to date for thingsboard/tb-http-transport:latest
Pulling tb-http-transport2 (thingsboard/tb-http-transport:latest)...
latest: Pulling from thingsboard/tb-http-transport
Digest: sha256:3ce7e12b5fa358ec21ee2cab47b789bf83792e092d53e11ebd8e02434c5dbb73
Status: Image is up to date for thingsboard/tb-http-transport:latest
Pulling tb-js-executor (thingsboard/tb-js-executor:latest)...
latest: Pulling from thingsboard/tb-js-executor
Digest: sha256:9e362d8436d2a151b20412e9c16d684bd9572e4ce867c895206aab4d5b7c958b
Status: Image is up to date for thingsboard/tb-js-executor:latest
Pulling tb-mqtt-transport2 (thingsboard/tb-mqtt-transport:latest)...
latest: Pulling from thingsboard/tb-mqtt-transport
Digest: sha256:7ce7a87ee9948ca94a8d0d864535270d0d5d99d7f2f0c6f3c6641e81f222157d
Status: Image is up to date for thingsboard/tb-mqtt-transport:latest
Pulling tb-mqtt-transport1 (thingsboard/tb-mqtt-transport:latest)...
latest: Pulling from thingsboard/tb-mqtt-transport
Digest: sha256:7ce7a87ee9948ca94a8d0d864535270d0d5d99d7f2f0c6f3c6641e81f222157d
Status: Image is up to date for thingsboard/tb-mqtt-transport:latest
Pulling tb-coap-transport (thingsboard/tb-coap-transport:latest)...
latest: Pulling from thingsboard/tb-coap-transport
Digest: sha256:f17d4c0bb53eed1e9393af8d768993ff8f539a93c9b3476e7425c48e6badc5e9
Status: Image is up to date for thingsboard/tb-coap-transport:latest
Pulling postgres (postgres:9.6)...
9.6: Pulling from library/postgres
Digest: sha256:7d7b5025f343ed2c9edeb9d93742a8303c24c3c108c02d012e32714f27fb2f4b
Status: Image is up to date for postgres:9.6
Pulling tb2 (thingsboard/tb-node:latest)...
latest: Pulling from thingsboard/tb-node
Digest: sha256:83e22decac17b5524e60d485ef0b07d1f9fd7c2d5912d544cb1d606aad77eada
Status: Image is up to date for thingsboard/tb-node:latest
Pulling tb1 (thingsboard/tb-node:latest)...
latest: Pulling from thingsboard/tb-node
Digest: sha256:83e22decac17b5524e60d485ef0b07d1f9fd7c2d5912d544cb1d606aad77eada
Status: Image is up to date for thingsboard/tb-node:latest
Pulling haproxy (xalauc/haproxy-certbot:1.7.9)...
1.7.9: Pulling from xalauc/haproxy-certbot
Digest: sha256:526989f38ee6f709d7c56fad61be3c2d79270c406d92f4cc3f9b5bf4f1fb08c3
Status: Image is up to date for xalauc/haproxy-certbot:1.7.9
docker_zookeeper_1 is up-to-date
docker_tb-web-ui1_1 is up-to-date
docker_tb-web-ui2_1 is up-to-date
docker_redis_1 is up-to-date
docker_postgres_1 is up-to-date
Starting docker_kafka_1 ... 
Starting docker_kafka_1 ... error

ERROR: for docker_kafka_1  Cannot start service kafka: driver failed programming external connectivity on endpoint docker_kafka_1 (6542680a1a1cee30abce1673bd6e5190ca2cfaf3844a69e9921a567c9920d5f5): Bind for 0.0.0.0:9092 failed: port is already allocated

ERROR: for kafka  Cannot start service kafka: driver failed programming external connectivity on endpoint docker_kafka_1 (6542680a1a1cee30abce1673bd6e5190ca2cfaf3844a69e9921a567c9920d5f5): Bind for 0.0.0.0:9092 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.