# Table 'dreamfactory.cors\_config' doesn't exist on Fresh Installation

**URL:** <https://community.dreamfactory.com/t/table-dreamfactory-cors-config-doesnt-exist-on-fresh-installation/3715>\
**Category:** GitHub Installers\
**Created:** [March 15, 2017, 12:26pm UTC](https://community.dreamfactory.com/t/table-dreamfactory-cors-config-doesnt-exist-on-fresh-installation/3715 "2017-03-15T12:26:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sosukeinu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/sosukeinu/32/959_2.png) [@sosukeinu](https://community.dreamfactory.com/u/sosukeinu)\
**Post date:** [March 15, 2017, 12:26pm UTC](https://community.dreamfactory.com/t/table-dreamfactory-cors-config-doesnt-exist-on-fresh-installation/3715/1 "2017-03-15T12:26:10Z")

</div>

Hello,  
I’ve fought and fought over the past few days trying to get DF installed as a part of a docker-compose stack. I’m using basically the same compose file that comes from the official DF github. The only real difference is that I noticed the .env file was not being created in the root directory, so I needed to create a custom [entrypoint.sh](http://entrypoint.sh) that echoed my environment variables instead of using sed substitution. I get the “create a new user page” and i verify that the DB is seeded (I have no way of knowing whether it is seeded correctly), but my user is created. After that, All I get is a white page with a 500 server error, and an error in the logs that says

`[2017-03-15 12:06:22] production.ALERT: Could not get cors config from DB - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dreamfactory.cors_config' doesn't exist (SQL: select * from`cors\_config`where`enabled`= 1)`

within nginx this is the log that reports 500 error

`mnginx.1 | e[0mdreamfactory.app 172.22.0.1 - - [15/Mar/2017:12:10:57 +0000] "GET /api/v2/system/environment HTTP/1.1" 500 134 "http://dreamfactory.app/dreamfactory/dist/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"`

Any help of direction would be greatly appreciated.
