When `prerun.py` runs when starting the CKAN container the `init_db()` function fails when running `ckan -c ckan.ini db upgrade`. Running `ckan -c ckan.ini db init` works This fails on the **master** branch only. The **ckan-2.10.4** branch is fine This is the change when the command was changed [use upgrade db rather than init db](https://github.com/ckan/ckan-docker-base/pull/53) Here is the error:  