Thank you so much for the assistance, the deeper problem was associated with
- Postgres 9.5
- Out of shared memory error, both of which were solved with the help of other community posts.
dhis2 works like a charm.
For thr second error, I had to navigate to the postgres.conf file and change max_locks_per_transaction to 1024, this made my PostgreSQL work.