root@ubuntu:/home/robust2/mender-server/integration-2.3.0# ./demo up
Starting the Mender demo environment…
integration230_mender-mongo_1 is up-to-date
integration230_minio_1 is up-to-date
integration230_mender-gui_1 is up-to-date
integration230_mender-redis_1 is up-to-date
integration230_mender-elasticsearch_1 is up-to-date
integration230_mender-create-artifact-worker_1 is up-to-date
integration230_mender-inventory_1 is up-to-date
integration230_mender-useradm_1 is up-to-date
integration230_mender-workflows-server_1 is up-to-date
Starting integration230_storage-proxy_1 …
integration230_mender-conductor_1 is up-to-date
integration230_mender-device-auth_1 is up-to-date
Starting integration230_storage-proxy_1 … error
ERROR: for integration230_storage-proxy_1 Cannot start service storage-proxy: driver failed programming external connectivity on endpoint integration230_storage-proxy_1 (a8271e285e352a97c4ca0010ef8516a7ce394fcfd1e2780b961dfd5da508f15d): Bind for 0.0.0.0:9000 failed: port is already allocated
ERROR: for storage-proxy Cannot start service storage-proxy: driver failed programming external connectivity on endpoint integration230_storage-proxy_1 (a8271e285e352a97c4ca0010ef8516a7ce394fcfd1e2780b961dfd5da508f15d): Bind for 0.0.0.0:9000 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
Failed to start docker compose
Bind for 0.0.0.0:9000 failed: port is already allocated. I listened to open ports to check this, but 9000 ports are not used. Do you have any solution suggestions about the error?
Thanks
I did not fully understand what you mean. But when I run “docker-compose ps” command, I get an error message like this:
> robust2@ubuntu:~/mender-server/integration-2.3.0$ docker-compose up
> ERROR: Service 'mender-deployments' depends on service 'storage-proxy' which is undefined.
It looks like you have two server instances running. I suspect it is the demo config and your production config. If you do the following, and then inspect the “docker ps” output, you should not have any Mender related ones left:
cd
./demo stop
cd <path to production server directory"
./run stop
I couldn’t solve the problem, I still get the error from storage-proxy. However, after doing what you said, I was able to run demo environment and add my virtual machines to the Devices section. The error does not currently prevent the Mender server from running. Thank you for your help. But I have one more question:
With the demo environment installed, I want to update any binary files running on end devices. For example, while a running executable (binaryXXX) is on 1.0.0 release, I want to upgrade it to 1.0.1 with Mender. Is it possible to do this in demo environment? Can you help me if possible??