cant install: aow_workflow table does not exist mysql error 1446

Basically as the title says, I am running into this error.

Sat Aug 12 00:06:18 2017 [5496][-none-][FATAL] Query Failed: SELECT id FROM aow_workflow WHERE aow_workflow.flow_module = ‘ACLActions’ AND aow_workflow.status = ‘Active’ AND (aow_workflow.run_when = ‘Always’ OR aow_workflow.run_when = ‘On_Save’ OR aow_workflow.run_when = ‘Create’) AND aow_workflow.deleted = 0 : MySQL error 1146: Table ‘crm.aow_workflow’ doesn’t exist
Sat Aug 12 00:06:18 2017 [5496][-none-][FATAL]

This repeats itself for quite some time. I am not a linux noob and I have followed the general installation guide to the letter. Permissions appear to be correct and ownership is correct.

PHP version 7.0.

Running on Ubuntu 14.04 with virtualmin as controller.

I have been pulling my hair out with this for over 6 hours now and would appreciate anyone with a fresh pair of eyes on the subject.

I know this problem has been run into before by some users of this forum, some of whom had varied success with some solutions and many of whom had no success with anything. I have even tried with setting all permissions to 777 and still nothing seems to want to work.

Any help is greatly appreciated.