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

DB_HOST=172.17.0.17

DB_PORT=3306

Only if you use external Redis

REDIS_CACHE=redis://172.17.0.17:6379

REDIS_QUEUE=redis://172.17.0.17:6379

REDIS_SOCKETIO=redis://172.17.0.17:6379

---- 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:

image

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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.