Opencart install Script on virtualmin Pro

hi guys,
Having a problem running an automated installer script on a sub virtual server.

-primary server is domain.com (has wordpress website on it)
-sub virtual server is shop.domain.com (trying to install opencart)

I am able to do this manually, however, i just want to see if there is a way in order to install opencart using the automated script that does not throw the following error…

*Found https://github.com:443/opencart/opencart/releases/download/3.0.3.2/opencart-3.0.3.2.zip in cache ..*
  • Configuring webserver PHP settings …*

  • … already done.*

  • Restarting PHP-FPM server …*

  • … done*

  • Now installing OpenCart version 3.0.3.2 …*

  • Database setup failed*

  • More information on using this script can be found at http://www.opencart.com/.*

  • … installation was only partially complete.*

  • Re-loading Webmin …*

  • … done*

The database has actually been created in Virtualmin, however, tables are empty.