No function after update 3 to 4

CMS Version

4.1.1

Installation Method

Docker

Operating System

Debian 10

Issu

Hello,
I have performed a Docker update from version 3.3.12 to version 4.1.1.
The system worked great before.
As always, I copied the cms_custom-ports.yml.template and entered the port 8080:80 in the cms_custom-ports.yml file.

Now I get the following error message in the browser:
Fatal Error - sorry this shouldn’t happen.
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for cms-db failed: Name or service not known

With the docker ps command I see that xibo-cms-db_1 and xibo-cms-xmr_1 are constantly restarting.

What can I do?

Hi Marcel,

What state is the xibo_db container?

Do you know the docker logs commands?

Signed up, just to share

I had the same issue on Xibo in Docker on Ubuntu

I was coming from a 4 year old installation with a 3.0.2 → 3.3.12 → 4.1.2

And i had a few issues along the way

what i did was the following

Update Ubuntu
Update docker and docker compose
Update from 3.0.2 → 3.3.12 → 4.1.2

I had the following problems

Going from 3.3.12 → 4.1.2 with an old version of docker and docker compose will give the issues you descripe

Updating to the new version of docker and docker compose. Makes the following guide not work (the upgrading part):

In docker compose v2, this command is obsolete “docker-compose up -d” and replaced by “docker compose up -d”