Make_supervisor error

I am at a forest for the trees moment I think. I have a new development environment loaded and I am wanting to set up supervisor conf files for this environment but I am getting errors on the make_supervisor step

the error I am getting is below I would normally use the deploy folder for the template folders but the cloud repository has replaced it…correct?

Any ideas on what I may have miss-configured?

the command used is this
for i in ‘ls /home/commcarehq/commcare-hq/commcare-cloud/fab/fab/services/templates/’; do /home/commcarehq/commcare-hq/bin/python manage.py make_supervisor_conf --conf_file $i --conf_destination services/supervisor --params ‘{“project”:“commcarehq”, “environment”: “prod”, “code_current”: “/home/commcarehq/commcare-hq/”, “django_bind”: “127.0.0.1”, “django_port”: 8000, “flower_port”: 5555, “log_dir”:"/tmp", “virtualenv_current”:"/home/commcarehq/", “sudo_user”: “commcarehq”, “celery_params”: {“concurrency”: 1}}’; done

which I have ran as the commcarehq user in the home/commcarehq/commcare-hq folder…

perhaps i should run this as another superuser?

commcarehq@devops:~/commcare-hq$ for i in ‘ls /home/commcarehq/commcare-hq/commcare-cloud/fab/fab/services/templates/’;
do /home/commcarehq/commcare-hq/bin/python manage.py make_supervisor_conf --conf_file $i --conf_destination services/s
upervisor --params ‘{“project”:“commcarehq”, “environment”: “prod”, “code_current”: “/home/commcarehq/commcare-hq/”, “d
jango_bind”: “127.0.0.1”, “django_port”: 8000, “flower_port”: 5555, “log_dir”:"/tmp", “virtualenv_current”:"/home/commc
arehq/", “sudo_user”: “commcarehq”, “celery_params”: {“concurrency”: 1}}’; done
/home/commcarehq/commcare-hq/local/lib/python2.7/site-packages/couchdbkit/resource.py:26: ImportWarning: Not importing directory ‘/home/commcarehq/commcare-hq/restkit’: missing init.py
from restkit import Resource, ClientResponse
/home/commcarehq/commcare-hq/local/lib/python2.7/site-packages/restkit/conn.py:14: ImportWarning: Not importing directory ‘/home/commcarehq/commcare-hq/socketpool’: missing init.py
from socketpool import Connector
/home/commcarehq/commcare-hq/local/lib/python2.7/site-packages/kombu/transport/django/models.py:29: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
queue = models.ForeignKey(Queue, related_name=‘messages’)
/home/commcarehq/commcare-hq/local/lib/python2.7/site-packages/captcha/fields.py:4: RemovedInDjango20Warning: Importing from django.core.urlresolvers is deprecated in favor of django.urls.
from django.core.urlresolvers import reverse, NoReverseMatch
2018-01-30 05:24:38,536 INFO Raven is not configured (logging is disabled). Please see the documentation for more information.
usage: manage.py make_supervisor_conf [-h] [–version] [-v {0,1,2,3}]
[–settings SETTINGS]
[–pythonpath PYTHONPATH] [–traceback]
[–no-color] [–conf_file CONF_FILE]
[–conf_destination CONF_DESTINATION]
[–conf_destination_filename CONF_DESTINATION_FILENAME]
[–params PARAMS]
manage.py make_supervisor_conf: error: unrecognized arguments: /home/commcarehq/commcare-hq/commcare-cloud/fab/fab/services/templates/
commcarehq@devops:~/commcare-hq$