Cannot install runner for chef automate

I am not able to add a running by running the automate-ctl install runner command.

Here are the errors:

I followed this guide: https://learn.chef.io/modules/deploy-infrastructure/rhel/opsworks/add-a-runner#/

Here is the error from the logs: ERROR: knife search failed: invalid index name or query

Here is the error from the output:
Preflight check…
Fetching Chef Server certificates for local use.
Verifying no legacy runners exist for this name.
Failed to register ec2-XX-XX-XX-XX.compute-1.amazonaws.com with Chef Server.

rpm -qa |grep -e automate -e chef
automate-1.6.99-1.el6.x86_64
chef-server-core-12.15.6-1.el7.x86_64

automate server is in AWS using opsworks, runner is a RHEL 7.4 node in ec2

Please see my gist for the full error output.