Closed swissclash79 closed 2 years ago
Hi and thanks for the additional context, this is important. It seems that in your case (IT environment: Ubuntu 20.04 LTS running in a VM on a MacBook Pro (M1)) the MariaDB container is not starting up properly and the SEB Server connection error to the DB is just a side effect of none running DB server.
The MariaDB docker image is not created by the SEB Server setup but just fetched from the Docker-Hub repository ("mariadb/server:10.5"). Usually the MariaDB image works with the setup given in the docker-compose file within native linux and windows machines. But we have never tested it on Mac or even Ubuntu VM on Mac.
So you have to figure out first, why the mariadb/server:10.5 image is not working within your setup and throwing the above error. My first assumption is, that since the mariadb container uses some docker volume, there is going something wrong with that since this is a MacOS filesystem mapped to a VM, mapped to a container... Please try to check the volume creation on docker side with:
docker volume ls
and docker volume inspect seb-server-mariadb
If this gives no clue, i suggest to try to install SEB Server on native Mac with Docker Desktop for Mac.
Hi and thanks for the additional context, this is important. It seems that in your case (IT environment: Ubuntu 20.04 LTS running in a VM on a MacBook Pro (M1)) the MariaDB container is not starting up properly and the SEB Server connection error to the DB is just a side effect of none running DB server.
The MariaDB docker image is not created by the SEB Server setup but just fetched from the Docker-Hub repository ("mariadb/server:10.5"). Usually the MariaDB image works with the setup given in the docker-compose file within native linux and windows machines. But we have never tested it on Mac or even Ubuntu VM on Mac.
So you have to figure out first, why the mariadb/server:10.5 image is not working within your setup and throwing the above error. My first assumption is, that since the mariadb container uses some docker volume, there is going something wrong with that since this is a MacOS filesystem mapped to a VM, mapped to a container... Please try to check the volume creation on docker side with:
docker volume ls
anddocker volume inspect seb-server-mariadb
If this gives no clue, i suggest to try to install SEB Server on native Mac with Docker Desktop for Mac.
Hi Andreas
Thanks for your quick answer! Here is the output of the suggested commands:
ubuntu@seb-server-ubuntu:~/sebserver/seb-server-setup/docker/demo/basic$ docker volume ls
DRIVER VOLUME NAME
local basic_seb-server-logs
local basic_seb-server-mariadb-data
ubuntu@seb-server-ubuntu:~/sebserver/seb-server-setup/docker/demo/basic$ docker volume inspect basic_seb-server-mariadb-data
[
{
"CreatedAt": "2022-05-19T08:52:17+02:00",
"Driver": "local",
"Labels": {
"com.docker.compose.project": "basic",
"com.docker.compose.version": "2.5.0",
"com.docker.compose.volume": "seb-server-mariadb-data"
},
"Mountpoint": "/var/lib/docker/volumes/basic_seb-server-mariadb-data/_data",
"Name": "basic_seb-server-mariadb-data",
"Options": null,
"Scope": "local"
}
]
I successfully installed SEB Server on my MacBook Pro natively, so it seems your assumption was correct.
Describe the bug I tried to install a demo instance for SEB Server and followed the instructions https://seb-server-setup.readthedocs.io/en/latest/install-demo.html#basic-demo.
I successfully built the Docker images but when I try to start SEB Server (Step 5: Start the services) I get the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior SEB Server is up and running.
Setup (please complete the following information):
Additional context When I view the log of the MariaDB container it shows the following errors: