Skip to content

Internal Server Error on macOS Big Sur 11.2

I'm getting the following error on a machine running macOS Big Sur 11.2.

Bootstrapping XXX.XX.XXX.XX
 [XXX.XX.XXX.XX] -----> Installing Chef Omnibus (stable/16.7.61)
 [XXX.XX.XXX.XX] downloading https://omnitruck.cinc.sh/install.sh
  to file /tmp/install.sh.4163/install.sh
 [XXX.XX.XXX.XX] trying curl...
 [XXX.XX.XXX.XX] mac_os_x 11.2 x86_64
 [XXX.XX.XXX.XX] Getting information for cinc stable 16.7.61 for mac_os_x...
 [XXX.XX.XXX.XX] downloading https://omnitruck.cinc.sh/stable/cinc/metadata?v=16.7.61&p=mac_os_x&pv=11.2&m=x86_64
  to file /tmp/install.sh.4168/metadata.txt
 [XXX.XX.XXX.XX] trying curl...
 [XXX.XX.XXX.XX] <h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1>
 [XXX.XX.XXX.XX]
 [XXX.XX.XXX.XX] downloaded metadata file is corrupted or an uncaught error was encountered in downloading the file...
Version: 16.7.61

 [XXX.XX.XXX.XX] Please file a Bug Report at https://gitlab.com/cinc-project/mixlib-install/issues
 [XXX.XX.XXX.XX] Alternatively, feel free to open a Support Ticket at https://gitlab.com/groups/cinc-project/-/issues
 [XXX.XX.XXX.XX] More Cinc support resources can be found at https://www.cinc.sh/support

 [XXX.XX.XXX.XX] Please include as many details about the problem as possible i.e., how to reproduce
 [XXX.XX.XXX.XX] the problem (if possible), type of the Operating System and its version, etc.,
 [XXX.XX.XXX.XX] and any other relevant details that might help us with troubleshooting.

 [XXX.XX.XXX.XX] Starting the first Cinc Client Client run...
 [XXX.XX.XXX.XX] /tmp/chef_2EtNIk/bootstrap.sh: line 241: chef-client: command not found
ERROR: The following error occurred on XXX.XX.XXX.XX:
ERROR: -----> Installing Chef Omnibus (stable/16.7.61)
     downloading https://omnitruck.cinc.sh/install.sh
       to file /tmp/install.sh.4163/install.sh
     trying curl...
     mac_os_x 11.2 x86_64
     Getting information for cinc stable 16.7.61 for mac_os_x...
     downloading https://omnitruck.cinc.sh/stable/cinc/metadata?v=16.7.61&p=mac_os_x&pv=11.2&m=x86_64
       to file /tmp/install.sh.4168/metadata.txt
     trying curl...
     <h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1><h1>Internal Server Error</h1>
     downloaded metadata file is corrupted or an uncaught error was encountered in downloading the file...
     Version: 16.7.61

     Please file a Bug Report at https://gitlab.com/cinc-project/mixlib-install/issues
     Alternatively, feel free to open a Support Ticket at https://gitlab.com/groups/cinc-project/-/issues
     More Cinc support resources can be found at https://www.cinc.sh/support

     Please include as many details about the problem as possible i.e., how to reproduce
     the problem (if possible), type of the Operating System and its version, etc.,
     and any other relevant details that might help us with troubleshooting.

     Starting the first Cinc Client Client run...
      /tmp/chef_2EtNIk/bootstrap.sh: line 241: chef-client: command not found

I can see the internal error being thrown when accessing the metadata URL in my browser: https://omnitruck.cinc.sh/stable/cinc/metadata?v=16.7.61&p=mac_os_x&pv=11.2&m=x86_64

The same issues also occurs when specifying the latest version: https://omnitruck.cinc.sh/stable/cinc/metadata?v=16.10.17&p=mac_os_x&pv=11.2&m=x86_64

However, if I substitute the macOS version 11.2 with 11.0, I do get a response back: https://omnitruck.cinc.sh/stable/cinc/metadata?v=16.7.61&p=mac_os_x&pv=11.0&m=x86_64

Would the metadata generation code require updating for newer macOS versions?