Demo Server 2.3.0

Hello, having trouble to run demo server:

Creating integration230_mender-gui_1_4b9335dd528b … done
Creating integration230_mender-elasticsearch_1_4309b5c40743 … done
Creating integration230_minio_1_7d97eeac20bc … done
Creating integration230_mender-redis_1_7e26e6d0aebb … done
Creating integration230_mender-mongo_1_30cda881b9b1 … done
Creating integration230_mender-useradm_1_56daa776cb7e … done
Creating integration230_mender-create-artifact-worker_1_ec4c17a15843 … done
Creating integration230_mender-workflows-server_1_8e477cfb4f1a … done
Creating integration230_mender-inventory_1_63fcfeab5bc4 … done
Creating integration230_mender-conductor_1_a47a07641787 … done
Creating integration230_mender-device-auth_1_3ec7fb897048 … done
Creating integration230_storage-proxy_1_f8d61b584c53 … done
Creating integration230_mender-deployments_1_6e7c6cf8454c … done
Creating integration230_mender-api-gateway_1_4aba646fbdba … done
Creating a new user…
Error: No such container: integration230_mender-useradm_1
docker exec error: 1

f971a3694dda mendersoftware/api-gateway:2.1.0 “/entrypoint.sh” 4 minutes ago Up 4 minutes 80/tcp, 0.0.0.0:443->443/tcp integration230_mender-api-gateway_1_baff9a06a615
acd3eb71c615 mendersoftware/deployments:1.9.0 “/entrypoint.sh --co⌔ 4 minutes ago Up 4 minutes 8080/tcp integration230_mender-deployments_1_ebdde34e7ee8
440dd4d88601 openresty/openresty:1.13.6.2-0-alpine “/usr/local/openrest⌔ 4 minutes ago Up 4 minutes 0.0.0.0:9000->9000/tcp integration230_storage-proxy_1_cab9f64c837e
32605c26bbe1 mendersoftware/deviceauth:2.2.0 “/usr/bin/deviceauth⌔ 4 minutes ago Up 4 minutes 8080/tcp integration230_mender-device-auth_1_6555c7a6038e
8e46a3afcf0e mendersoftware/mender-conductor:1.6.0 “/srv/start_conducto⌔ 4 minutes ago Up 4 minutes (healthy) 0.0.0.0:8080->8080/tcp, 8090/tcp integration230_mender-conductor_1_960390ad2873
ceb7cfb4323d mendersoftware/inventory:1.7.0 “/usr/bin/inventory ⌔ 4 minutes ago Up 4 minutes 8080/tcp integration230_mender-inventory_1_92e4c7f3e31a
2fc30f024d75 mendersoftware/useradm:1.10.0 “/usr/bin/useradm --⌔ 4 minutes ago Up 4 minutes 8080/tcp integration230_mender-useradm_1_577b9e087812
6e66404cca8a mendersoftware/workflows:1.0.0 “/usr/bin/workflows ⌔ 4 minutes ago Up 4 minutes 8080/tcp integration230_mender-workflows-server_1_aa43d1b0d666
23cee4b21d09 mendersoftware/create-artifact-worker:1.0.0 “/usr/bin/workflows ⌔ 4 minutes ago Up 4 minutes 8080/tcp integration230_mender-create-artifact-worker_1_6f2017edf96c
81a264a02f05 mongo:3.6 “docker-entrypoint.s⌔ 4 minutes ago Up 4 minutes 27017/tcp integration230_mender-mongo_1_353324f2329f
53ac27732497 redis:5-alpine3.8 “/redis/entrypoint.sh” 4 minutes ago Up 4 minutes 6379/tcp integration230_mender-redis_1_147824f4647a
138ae158b453 minio/minio:RELEASE.2018-09-25T21-34-43Z “/usr/bin/docker-ent⌔ 4 minutes ago Up 4 minutes (healthy) 9000/tcp integration230_minio_1_889f39169949
962129dea08e elasticsearch:6.8.6 “/usr/local/bin/dock⌔ 4 minutes ago Up 4 minutes 9200/tcp, 9300/tcp integration230_mender-elasticsearch_1_bfa24d385c1f
ec4f6ab1a08a mendersoftware/gui:2.3.0 “/entrypoint.sh nginx” 4 minutes ago Up 4 minutes 80/tcp integration230_mender-gui_1_9f7adfdb4e9a

docker logs integration230_mender-useradm_1_577b9e087812
time=“2020-03-13T15:43:15Z” level=info msg=“User Administration Service, version unknown starting up” file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:15Z” level=info msg=“running migrations in single tenant mode” file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:15Z” level=info msg=“automigrate is ON, will apply migrations” file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:15Z” level=info msg=“migrating useradm” file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:15Z” level=info msg=“applying migration from version 0.0.0 to 0.1.0” db=useradm file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:15Z” level=info msg=“setting up prod middleware” file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:15Z” level=info msg=“listening on :8080” file=entry.go func=“logrus.(*Entry).Logf” line=313
time=“2020-03-13T15:43:45Z” level=warning msg=“Failed to extract identity from header: unknown authorization method Basic” file=entry.go func=“logrus.(*Entry).Logf” line=313 request_id=27d490f4-06e3-4b10-97a6-56320df4139e
time=“2020-03-13T15:43:45Z” level=error msg=unauthorized file=entry.go func=“logrus.(*Entry).Error” line=296 request_id=27d490f4-06e3-4b10-97a6-56320df4139e
time=“2020-03-13T15:43:45Z” level=info msg=“401 768Îźs POST /api/management/v1/useradm/auth/login HTTP/1.0 - curl/7.58.0” file=entry.go func=“logrus.(*Entry).Info” line=284 request_id=27d490f4-06e3-4b10-97a6-56320df4139e

Many thanks for guidance.
Rostislav

@spinarr Hello, can you please tell me the version number of your docker-compose?

$ docker-compose --version

I suspect you are using docker-compose version 1.23.0 or 1.23.1, which appends hashes to containers name. This behaviour has been reverted in 1.23.2. If this is the case, can you please upgrade (or downgrade) your docker-compose and try again?

Yes. Many thanks.

Hello,

in order to connect the device to our running demo server do we need to distribute certificates to the device client?

Many thanks
Rostislav

For the demo server we do have a set of certificates that you need to use, it can be found here.

It depends a bit on how you are installing the Mender client, as these might already be installed on your device.

Great, one of our device is in demo server.

Is there a way to name devices in the image so that when they appear in dashboard we have a way to distinguish them?

Thanks.
Rostislav

You would typically customize the Device identity to achieve this. Let me know if it needs additional clarifications.