# AWX Job failed

**URL:** <https://forum.ansible.com/t/awx-job-failed/35826>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 6, 2021, 8:00am UTC](https://forum.ansible.com/t/awx-job-failed/35826 "2021-10-06T08:00:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhu\_sridhar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@prabhu\_sridhar](https://forum.ansible.com/u/prabhu_sridhar)\
**Post date:** [October 6, 2021, 8:00am UTC](https://forum.ansible.com/t/awx-job-failed/35826/1 "2021-10-06T08:00:09Z")

</div>

Hi

AWX version 11.2.0

Jobs failed with below error. can someone pls let me know how to resolve the error.

Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py”, line 1355, in run self.pre\_run\_hook(self.instance, private\_data\_dir) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py”, line 1959, in pre\_run\_hook job.project.scm\_type, job\_revision File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py”, line 2340, in make\_local\_copy source\_branch = git\_repo.create\_head(tmp\_branch\_name, scm\_revision) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/repo/base.py”, line 386, in create\_head return Head.create(self, path, commit, force, logmsg) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/refs/symbolic.py”, line 543, in create return cls.\_create(repo, path, cls.\_resolve\_ref\_on\_create, reference, force, logmsg) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/refs/symbolic.py”, line 510, in \_create ref.set\_reference(target, logmsg) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/refs/symbolic.py”, line 326, in set\_reference assure\_directory\_exists(fpath, is\_file=True) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/util.py”, line 177, in assure\_directory\_exists os.makedirs(path) File “/var/lib/awx/venv/awx/lib64/python3.6/os.py”, line 220, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/var/lib/awx/projects/\_265\_\_pr\_abc/.git/refs/heads/awx\_internal

Regards  
Prabhu

---

<div class="post-metadata">

**Author:** ![ffirg](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ffirg/32/10029_2.png) [@ffirg](https://forum.ansible.com/u/ffirg)\
**Post date:** [October 6, 2021, 9:23am UTC](https://forum.ansible.com/t/awx-job-failed/35826/2 "2021-10-06T09:23:13Z")

</div>

Please update to a newer version, there have been something like 15 since 11.2  
Looks like your project sync has got in a mess. Maybe some has altered the project down at the filesystem level.  
I hope you’re pulling in the project from a git source.
