Table 'dreamfactory.cors_config' doesn't exist on Fresh Installation


#1

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 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 * fromcors_configwhereenabled= 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.