Setup failed Could not start up: Failed to update global settings

I installed frappe through docker, the database used mariadb10.4 in the host system (not in the docker container), the redis server did the same, only the web server used nginx in the container, the installation command is as follows:

Generate YAML

docker compose -f compose.yaml -f overrides/compose.noproxy.yaml config > ~/gitops/docker-compose.yml

Start containers

docker compose --project-name xindeng -f ~/gitops/docker-compose.yml up -d

The following screenshot shows the database and redis configuration in the.env file:

----- start -----

Only if you use external database



Only if you use external Redis




---- end —

The installation of the command end is normal, but an error occurred when I opened the website with the browser for initialization. The error message is as follows:

Setup failed: Could not start up: Failed to update global settings

The error is shown below:


Could you tell me why I made this mistake?

The problem has been solved. My redis service configuration is incorrect. Please remove the redis:// part.