# getting redis error for ansible tower upgrade through docker

**URL:** <https://forum.ansible.com/t/getting-redis-error-for-ansible-tower-upgrade-through-docker/32896>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 9, 2020, 11:07am UTC](https://forum.ansible.com/t/getting-redis-error-for-ansible-tower-upgrade-through-docker/32896 "2020-05-09T11:07:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramesh\_k](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@ramesh\_k](https://forum.ansible.com/u/ramesh_k)\
**Post date:** [May 9, 2020, 11:07am UTC](https://forum.ansible.com/t/getting-redis-error-for-ansible-tower-upgrade-through-docker/32896/1 "2020-05-09T11:07:04Z")

</div>

Hi,

I am upgrading ansible tower from 7.0.0 to 11.0.0 through Docker-Compose file, now when I run the docker-compose up command, I am getting below error. please help me what is the mistake I am doing hear in the configuration.

**ValueError: Redis URL must specify one of the followingschemes (redis://, rediss://, unix://)**  
task\_1 | 2020-05-09 11:00:41,341 INFO exited: callback-receiver (exit status 1; not expected)  
task\_1 | 2020-05-09 11:00:42,344 INFO spawned: ‘callback-receiver’ with pid 1276  
task\_1 | 2020-05-09 11:00:43,345 INFO success: callback-receiver entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
web\_1 | 2020-05-09 11:00:43,549 WARNING awx.main.analytics.broadcast\_websocket (‘Unsupported URI scheme’, ‘amqp’)  
task\_1 | 2020-05-09 11:00:43,977 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1282  
task\_1 | 2020-05-09 11:00:43,977 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1282  
task\_1 | 2020-05-09 11:00:43,982 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1283  
task\_1 | 2020-05-09 11:00:43,982 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1283  
task\_1 | 2020-05-09 11:00:43,986 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1284  
task\_1 | 2020-05-09 11:00:43,986 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1284  
task\_1 | 2020-05-09 11:00:43,991 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1285  
task\_1 | 2020-05-09 11:00:43,991 WARNING awx.main.commands.run\_callback\_receiver scaling up worker pid:1285  
task\_1 | Traceback (most recent call last):

**below is my compose file:**

version: ‘2’  
services:

web:  
image: ansible/awx\_web:11.0.0  
container\_name: awx\_web  
depends\_on:

- redis
- memcached  
ports:
- “80:8052”
- “443:8443”  
hostname: awxweb  
user: root  
restart: unless-stopped  
volumes:
- “/var/lib/awx/SECRET\_KEY:/etc/tower/SECRET\_KEY”
- “/var/lib/awx/environment.sh:/etc/tower/conf.d/environment.sh”
- “/var/lib/awx/credentials.py:/etc/tower/conf.d/credentials.py”
- “/var/lib/awx/projects:/var/lib/awx/projects:rw”
- “/var/lib/awx/projects/nginx.conf:/etc/nginx/nginx.conf:rw”

dns:

- 10.204.226.77
- 10.204.226.111  
environment:  
http\_proxy:  
https\_proxy:  
no\_proxy:

task:  
image: ansible/awx\_task:11.0.0  
container\_name: awx\_task  
depends\_on:

- redis
- memcached
- web  
hostname: awx  
user: root  
restart: unless-stopped  
volumes:
- “/var/lib/awx/SECRET\_KEY:/etc/tower/SECRET\_KEY”
- “/var/lib/awx/environment.sh:/etc/tower/conf.d/environment.sh”
- “/var/lib/awx/credentials.py:/etc/tower/conf.d/credentials.py”
- “/var/lib/awx/projects:/var/lib/awx/projects:rw”  
dns:
- 10.204.226.77
- 10.204.226.111  
environment:  
http\_proxy:  
https\_proxy:  
no\_proxy:  
redis:  
image: redis:6.0-rc4-alpine3.11  
container\_name: tools\_redis\_1  
environment:  
REDIS\_PASSWORD: password  
ports:
- “6379:6379”  
volumes:
- “/var/lib/awx/redis.conf:/usr/local/etc/redis/redis.conf”
- “/var/lib/awx/redis\_socket\_standalone:/var/run/redis/”  
command: [“/usr/local/etc/redis/redis.conf”]  
memcached:  
image: “memcached:alpine”  
container\_name: awx\_memcached  
restart: unless-stopped  
environment:  
http\_proxy:  
https\_proxy:  
no\_proxy:

**and In environment.sh file I have done the below configuration:**  
REDIS\_URL=redis://ansible-ro.rbkm0e.ng.0002.use1.cache.amazonaws.com:6379  
REDIS\_PORT=6379  
REDIS\_SOCKET=/var/lib/awx/redis.sock  
REDIS\_PASSWORD=password
