Digest for awx-project@googlegroups.com - 4 updates in 2 topics

Hi,
On Ubuntu (Ubuntu 20.04.5 LTS), I tried running the playbook to set up AWX. The ‘create preload data’ task is failing with the below error. Could you please let me know how to resolve this?
Note - in the inventory file, the following is set - create_preload_data=True

TASK [local_docker : Create Preload data] *******************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “cmd”: [“docker”, “exec”, “awx_task”, “bash”, “-c”, “/usr/bin/awx-manage create_preload_data”], “delta”: “0:00:24.925299”, “end”: “2022-10-03 14:31:28.403543”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2022-10-03 14:31:03.478244”, “stderr”: “Traceback (most recent call last):\n File "/usr/bin/awx-manage", line 8, in \n sys.exit(manage())\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/init.py", line 154, in manage\n execute_from_command_line(sys.argv)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line\n utility.execute()\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute\n self.fetch_command(subcommand).run_from_argv(self.argv)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv\n self.execute(*args, **cmd_options)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute\n output = self.handle(*args, **options)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/create_preload_data.py", line 41, in handle\n ‘username’: superuser.username\nAttributeError: ‘NoneType’ object has no attribute ‘username’”, “stderr_lines”: [“Traceback (most recent call last):”, " File "/usr/bin/awx-manage", line 8, in “, " sys.exit(manage())”, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/init.py", line 154, in manage", " execute_from_command_line(sys.argv)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line”, " utility.execute()“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute”, " self.fetch_command(subcommand).run_from_argv(self.argv)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv”, " self.execute(*args, **cmd_options)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute”, " output = self.handle(*args, **options)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/create_preload_data.py", line 41, in handle”, " ‘username’: superuser.username", “AttributeError: ‘NoneType’ object has no attribute ‘username’”], “stdout”: “”, “stdout_lines”: }

Thanks
Saravanan