Errors configuring Gitlab with non-bundled web server

I have

  1. installed gitlab and made sure it was running correctly (via local ip)
  2. installed nginx and made sure it was running correctly (default shows via local ip) I then followed https://docs.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server and set

nginx['enable'] = false

web_server['external_users'] = ['www-data']

I then created website (file) in /etc/nginx/sites-available/ with https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/support/nginx/gitlab (changing YOUR_SERVER_FQDN to git.ironfractal.xyz). I also changed lines 22 and 117 for Omnibus. I then did
sudo ln -s /etc/nginx/sites-available/website to /etc/nginx/sites-enabled/
after reloading nginx i get a 502. When i reconfigure gitlab i get
`execute[start postgresql] action run
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running
[execute] fail: postgresql: runsv not running

================================================================================
Error executing action `run` on resource 'execute[start postgresql]'
================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-ctl start postgresql ----
STDOUT: fail: postgresql: runsv not running
STDERR: 
---- End output of /opt/gitlab/bin/gitlab-ctl start postgresql ----
Ran /opt/gitlab/bin/gitlab-ctl start postgresql returned 1

Resource Declaration:
---------------------
# In /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/enable.rb

205: execute 'start postgresql' do
206:   command %(/opt/gitlab/bin/gitlab-ctl start postgresql)
207:   retries 20
208:   action :nothing
209:   not_if { pg_helper.is_running? }
210: end

Compiled Resource:
------------------
# Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/postgresql/recipes/enable.rb:205:in `from_file'

execute("start postgresql") do
  action [:nothing]
  default_guard_interpreter :execute
  command "/opt/gitlab/bin/gitlab-ctl start postgresql"
  backup 5
  declared_type :execute
  cookbook_name "postgresql"
  recipe_name "enable"
  domain nil
  user nil
  retries 20
  not_if { #code block }
end

System Info:
------------
chef_version=14.13.11
platform=ubuntu
platform_version=18.04
ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/chef-client
executable=/opt/gitlab/embedded/bin/chef-client

Recipe: gitlab::gitlab-rails

  • execute[clear the gitlab-rails cache] action run (skipped due to not_if)
    Recipe: gitaly::enable
  • runit_service[gitaly] action hup (up to date)

Running handlers:
There was an error running gitlab-ctl reconfigure:

execute[start postgresql] (postgresql::enable line 205) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of /opt/gitlab/bin/gitlab-ctl start postgresql ----
STDOUT: fail: postgresql: runsv not running
STDERR:
---- End output of /opt/gitlab/bin/gitlab-ctl start postgresql ----
Ran /opt/gitlab/bin/gitlab-ctl start postgresql returned 1

Running handlers complete
Chef Client failed. 72 resources updated in 01 minutes 04 seconds`