Closed Jeredriq closed 2 years ago
I am on webapp branch by the way
Hi,
I just tested this from scratch and it is working for me.
I just ran
docker-compose -f ota-ce.yaml up
And services started properly.
Make sure mariadb and kafka are started properly, if not you might need to stop all containers (docker-compose -f ota-ce.yaml down
) and try again.
Hi Simao,
Thanks a lot for answering so fast to my questions. I was following the Readme file with sbt. And it may be a really dumb question but docker-compose -f ota-ce.yaml up
gives the ERROR: manifest for uptane/ota-lith:latest not found: manifest unknown: manifest unknown
. Why could it be?
Hi,
It seems uptane/ota-lith:latest
was not built properly.
Can you show the output of sbt docker:publishLocal
?
You should see something like:
[info] Successfully built 66bfaeed0e3d
[info] Successfully tagged uptane/ota-lith:bb7ceca775c4b659ba421ab47a413d0f6546b532
[info] Successfully tagged uptane/ota-lith:latest
[info] Built image uptane/ota-lith with tags [bb7ceca775c4b659ba421ab47a413d0f6546b532, latest, bb7ceca775c4b659ba421ab47a413d0f6546b532]
[success] Total time: 128 s (02:08), completed 24 Nov 2021, 10:36:56
It was my bad, it worked with sbt docker:publishLocal
then docker-compose -f ota-ce.yaml up
Thanks!
For some reason, I can't obtain a connection from mariadb.
Then it gives
org.apache.kafka.common.KafkaException: Failed to construct kafka producer erroras can be expected. I've started my MariaDB and can see it running:
LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mysqld",pid=76075,fd=21)) `It may be something related to configuration so I am also putting it (ota-lith-ce.conf) here: Note that I have not changed anything, just downloaded the repo and did the steps following Readme file. I don't have treehub.storage.local.path = "/var/lib/ota-lith" as it says, its on desktop sp that may be causing it but I am not sure. I just assumed it will move it there when it runs correctly.