# awx\_task fails after migrations (celery related file error)

**URL:** <https://forum.ansible.com/t/awx-task-fails-after-migrations-celery-related-file-error/31971>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 14, 2020, 7:12pm UTC](https://forum.ansible.com/t/awx-task-fails-after-migrations-celery-related-file-error/31971 "2020-01-14T19:12:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javier\_Espinosa](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@Javier\_Espinosa](https://forum.ansible.com/u/Javier_Espinosa)\
**Post date:** [January 14, 2020, 7:12pm UTC](https://forum.ansible.com/t/awx-task-fails-after-migrations-celery-related-file-error/31971/1 "2020-01-14T19:12:27Z")

</div>

Installing on localhost with docker compose.

Install playbook runs successfully, containers are running, but when I get to the post-install part of the install instructions I see this on the log:

2020-01-14 19:06:16,369 ERROR celery.beat Removing corrupted schedule file ‘/var/lib/awx/beat.db’: error(11, ‘Resource temporarily unavailable’)  
Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib64/python3.6/site-packages/celery/beat.py”, line 485, in setup\_schedule  
self.\_store = self.\_open\_schedule()  
File “/var/lib/awx/venv/awx/lib64/python3.6/site-packages/celery/beat.py”, line 475, in \_open\_schedule  
return self.persistence.open(self.schedule\_filename, writeback=True)  
File “/usr/lib64/python3.6/shelve.py”, line 243, in open  
return DbfilenameShelf(filename, flag, protocol, writeback)  
File “/usr/lib64/python3.6/shelve.py”, line 227, in **init**  
Shelf. **init** (self, dbm.open(filename, flag), protocol, writeback)  
File “/usr/lib64/python3.6/dbm/ **init**.py”, line 94, in open  
return mod.open(file, flag, mode)

\_gdbm.error: [Errno 11] Resource temporarily unavailable

after which it’s stuck in a constant loop of printing:

2020-01-14 19:08:16,507 DEBUG awx.main.dispatch publish awx.main.tasks.cluster\_node\_heartbeat(4d6d2411-55e7-445b-909e-2b4e8e8dd135, queue=awx)  
[2020-01-14 19:08:16,507: DEBUG/Process-1] publish awx.main.tasks.cluster\_node\_heartbeat(4d6d2411-55e7-445b-909e-2b4e8e8dd135, queue=awx)  
2020-01-14 19:08:16,998 DEBUG awx.main.dispatch publish awx.main.tasks.awx\_k8s\_reaper(73494b65-ef89-4cac-8c9b-c35b87e0ba62, queue=awx)  
[2020-01-14 19:08:16,998: DEBUG/Process-1] publish awx.main.tasks.awx\_k8s\_reaper(73494b65-ef89-4cac-8c9b-c35b87e0ba62, queue=awx)  
2020-01-14 19:08:17,009 DEBUG awx.main.dispatch delivered 4d6d2411-55e7-445b-909e-2b4e8e8dd135 to worker[191] qsize 0  
2020-01-14 19:08:17,016 DEBUG awx.main.dispatch task 4d6d2411-55e7-445b-909e-2b4e8e8dd135 starting awx.main.tasks.cluster\_node\_heartbeat(_[])  
2020-01-14 19:08:17,021 DEBUG awx.main.tasks Cluster node heartbeat task.  
2020-01-14 19:08:17,038 DEBUG awx.main.dispatch delivered 73494b65-ef89-4cac-8c9b-c35b87e0ba62 to worker[193] qsize 0  
2020-01-14 19:08:17,042 DEBUG awx.main.dispatch publish awx.main.tasks.awx\_periodic\_scheduler(2932ca39-991a-4896-b505-9b14c6836b8e, queue=awx\_private\_queue)  
2020-01-14 19:08:17,045 DEBUG awx.main.dispatch task 73494b65-ef89-4cac-8c9b-c35b87e0ba62 starting awx.main.tasks.awx\_k8s\_reaper(_)  
[2020-01-14 19:08:17,042: DEBUG/Process-1] publish awx.main.tasks.awx\_periodic\_scheduler(2932ca39-991a-4896-b505-9b14c6836b8e, queue=awx\_private\_queue)  
2020-01-14 19:08:17,067 DEBUG awx.main.dispatch task 4d6d2411-55e7-445b-909e-2b4e8e8dd135 is finished  
2020-01-14 19:08:17,078 DEBUG awx.main.dispatch task 73494b65-ef89-4cac-8c9b-c35b87e0ba62 is finished  
2020-01-14 19:08:17,092 DEBUG awx.main.dispatch delivered 2932ca39-991a-4896-b505-9b14c6836b8e to worker[192] qsize 0  
2020-01-14 19:08:17,098 DEBUG awx.main.dispatch publish awx.main.scheduler.tasks.run\_task\_manager(0d5ee580-960a-43fb-ab19-107a3e6490e0, queue=awx\_private\_queue)  
2020-01-14 19:08:17,100 DEBUG awx.main.dispatch task 2932ca39-991a-4896-b505-9b14c6836b8e starting awx.main.tasks.awx\_periodic\_scheduler(_[])  
[2020-01-14 19:08:17,098: DEBUG/Process-1] publish awx.main.scheduler.tasks.run\_task\_manager(0d5ee580-960a-43fb-ab19-107a3e6490e0, queue=awx\_private\_queue)  
2020-01-14 19:08:17,118 DEBUG awx.main.tasks Starting periodic scheduler  
2020-01-14 19:08:17,125 DEBUG awx.main.tasks Last scheduler run was: 2020-01-14 19:07:47.097507+00:00  
2020-01-14 19:08:17,137 DEBUG awx.main.dispatch delivered 0d5ee580-960a-43fb-ab19-107a3e6490e0 to worker[191] qsize 0  
2020-01-14 19:08:17,142 DEBUG awx.main.dispatch task 0d5ee580-960a-43fb-ab19-107a3e6490e0 starting awx.main.scheduler.tasks.run\_task\_manager(_)  
2020-01-14 19:08:17,149 DEBUG awx.main.scheduler Running Tower task manager.  
2020-01-14 19:08:17,149 DEBUG awx.main.dispatch task 2932ca39-991a-4896-b505-9b14c6836b8e is finished  
2020-01-14 19:08:17,176 DEBUG awx.main.scheduler Starting Scheduler  
2020-01-14 19:08:17,226 DEBUG awx.main.dispatch task 0d5ee580-960a-43fb-ab19-107a3e6490e0 is finished

---

<div class="post-metadata">

**Author:** ![driCs](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@driCs](https://forum.ansible.com/u/driCs)\
**Post date:** [January 15, 2020, 12:54pm UTC](https://forum.ansible.com/t/awx-task-fails-after-migrations-celery-related-file-error/31971/2 "2020-01-15T12:54:54Z")

</div>

Hello,

I have the same error !

Install playbook runs successfully too , containers are running but there is this error in awx\_task (gdbm.error: [Errno 11] Resource temporarily unavailable) … **AND** the UI is not available

If someone can help us … 🙂

Thanks in advance !
