Open kynan opened 8 years ago
I have now pushed the upgrade and deployed to http://dashboard.taarifa.org
There were 2 main issues with deploying:
pip
fails due to a InsecurePlatformWarning
.I had to disable the collectstatic
task since this task calls manage.py
, which fails because it cannot authenticate against the MongoDB database. This was a chicken-egg problem: we can't authenticate because we need to upgrade but we can't upgrade because we can't authenticate... Fortunately we don't need collectstatic
, so I left it disabled:
heroku config:set DISABLE_COLLECTSTATIC=1
Tentatively fixed in e6453b0
There is a pending pull request nicolaiarocci/eve#740, which is required to restore full functionality.
The problem is that schemas are now validated. Our rather unusual use of schemas for dynamic endpoints is tripped up by this and it doesn't make much sense to add exceptions for all cases.
MongoLab recently upgraded all client databases to MongoDB 3.0, which introduces a new default authentication scheme and requires a MongoDB 3.0 and SCRAM-SHA-1-compatible driver for authentication.