Herokuの運用について質問です。

タイトルにあるようにherokuのスタックをcedar-14からheroku-18に変更すると動かなくなってしまいました。※cedar-14はEOLで、あと1年で失効するようです。

Python2.7、Flask、PostgreSQL、Flask-SQLAlchemyにてローカルでは動くアプリケーションです。同じコードでcedar-14でも動きます。スタックをheroku-18にするとgit-pushしたときビルドエラーになります。


db = SQLAlchemy(app)
db.metadata.bind = db.engine

ここでエラーになっている感じなのですが。

以下、エラー時のログです。

2019-05-03T01:45:29.000000+00:00 app[api]: Build started by user *********@gmail.com
2019-05-03T01:46:05.051301+00:00 heroku[web.1]: State changed from up to starting
2019-05-03T01:46:05.029494+00:00 heroku[web.1]: Restarting
2019-05-03T01:46:04.560897+00:00 app[api]: Deploy 26274533 by user *********@gmail.com
2019-05-03T01:46:04.560897+00:00 app[api]: Release v69 created by user ***********@gmail.com
2019-05-03T01:46:05.797024+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-05-03T01:46:05.808566+00:00 app[web.1]: [2019-05-03 10:46:05 +0000] [4] [INFO] Handling signal: term
2019-05-03T01:46:05.813077+00:00 app[web.1]: [2019-05-03 10:46:05 +0000] [10] [INFO] Worker exiting (pid: 10)
2019-05-03T01:46:05.813080+00:00 app[web.1]: [2019-05-03 10:46:05 +0000] [9] [INFO] Worker exiting (pid: 9)
2019-05-03T01:46:05.853517+00:00 app[web.1]: [2019-05-03 10:46:05 +0000] [4] [INFO] Shutting down: Master
2019-05-03T01:46:05.966474+00:00 heroku[web.1]: Process exited with status 0
2019-05-03T01:46:07.851213+00:00 heroku[web.1]: Starting process with command `gunicorn main:app --log-file -`
2019-05-03T01:46:09.082768+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-05-03T01:46:09.083199+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [4] [INFO] Listening at: http://0.0.0.0:14831 (4)
2019-05-03T01:46:09.083286+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [4] [INFO] Using worker: sync
2019-05-03T01:46:09.087516+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [11] [INFO] Booting worker with pid: 11
2019-05-03T01:46:09.119881+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [12] [INFO] Booting worker with pid: 12
2019-05-03T01:46:09.306679+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [11] [ERROR] Exception in worker process
2019-05-03T01:46:09.306683+00:00 app[web.1]: Traceback (most recent call last):
2019-05-03T01:46:09.306684+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2019-05-03T01:46:09.306685+00:00 app[web.1]:     worker.init_process()
2019-05-03T01:46:09.306687+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 129, in init_process
2019-05-03T01:46:09.306688+00:00 app[web.1]:     self.load_wsgi()
2019-05-03T01:46:09.306689+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
2019-05-03T01:46:09.306690+00:00 app[web.1]:     self.wsgi = self.app.wsgi()
2019-05-03T01:46:09.306691+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2019-05-03T01:46:09.306693+00:00 app[web.1]:     self.callable = self.load()
2019-05-03T01:46:09.306694+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
2019-05-03T01:46:09.306700+00:00 app[web.1]:     return self.load_wsgiapp()
2019-05-03T01:46:09.306701+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
2019-05-03T01:46:09.306702+00:00 app[web.1]:     return util.import_app(self.app_uri)
2019-05-03T01:46:09.306703+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/util.py", line 350, in import_app
2019-05-03T01:46:09.306704+00:00 app[web.1]:     __import__(module)
2019-05-03T01:46:09.306705+00:00 app[web.1]:   File "/app/main.py", line 44, in <module>
2019-05-03T01:46:09.306706+00:00 app[web.1]:     from app import app, db
2019-05-03T01:46:09.306707+00:00 app[web.1]:   File "/app/app.py", line 31, in <module>
2019-05-03T01:46:09.306709+00:00 app[web.1]:     db.metadata.bind = db.engine
2019-05-03T01:46:09.306710+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 937, in engine
2019-05-03T01:46:09.306711+00:00 app[web.1]:     return self.get_engine()
2019-05-03T01:46:09.306712+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 956, in get_engine
2019-05-03T01:46:09.306713+00:00 app[web.1]:     return connector.get_engine()
2019-05-03T01:46:09.306714+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 561, in get_engine
2019-05-03T01:46:09.306715+00:00 app[web.1]:     self._engine = rv = self._sa.create_engine(sa_url, options)
2019-05-03T01:46:09.306716+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 966, in create_engine
2019-05-03T01:46:09.306717+00:00 app[web.1]:     return sqlalchemy.create_engine(sa_url, **engine_opts)
2019-05-03T01:46:09.306719+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 435, in create_engine
2019-05-03T01:46:09.306720+00:00 app[web.1]:     return strategy.create(*args, **kwargs)
2019-05-03T01:46:09.306721+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
2019-05-03T01:46:09.306722+00:00 app[web.1]:     dbapi = dialect_cls.dbapi(**dbapi_args)
2019-05-03T01:46:09.306723+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 632, in dbapi
2019-05-03T01:46:09.306724+00:00 app[web.1]:     import psycopg2
2019-05-03T01:46:09.306725+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
2019-05-03T01:46:09.306726+00:00 app[web.1]:     from psycopg2._psycopg import (                     # noqa
2019-05-03T01:46:09.306743+00:00 app[web.1]: ImportError: /app/.heroku/python/lib/python2.7/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
2019-05-03T01:46:09.306834+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-05-03T01:46:09.327974+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [12] [ERROR] Exception in worker process
2019-05-03T01:46:09.327978+00:00 app[web.1]: Traceback (most recent call last):
2019-05-03T01:46:09.327979+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2019-05-03T01:46:09.327980+00:00 app[web.1]:     worker.init_process()
2019-05-03T01:46:09.327982+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 129, in init_process
2019-05-03T01:46:09.327983+00:00 app[web.1]:     self.load_wsgi()
2019-05-03T01:46:09.327984+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
2019-05-03T01:46:09.327985+00:00 app[web.1]:     self.wsgi = self.app.wsgi()
2019-05-03T01:46:09.327986+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2019-05-03T01:46:09.327988+00:00 app[web.1]:     self.callable = self.load()
2019-05-03T01:46:09.327989+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
2019-05-03T01:46:09.327990+00:00 app[web.1]:     return self.load_wsgiapp()
2019-05-03T01:46:09.327991+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
2019-05-03T01:46:09.327992+00:00 app[web.1]:     return util.import_app(self.app_uri)
2019-05-03T01:46:09.327993+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/util.py", line 350, in import_app
2019-05-03T01:46:09.327995+00:00 app[web.1]:     __import__(module)
2019-05-03T01:46:09.327996+00:00 app[web.1]:   File "/app/main.py", line 44, in <module>
2019-05-03T01:46:09.327997+00:00 app[web.1]:     from app import app, db
2019-05-03T01:46:09.327998+00:00 app[web.1]:   File "/app/app.py", line 31, in <module>
2019-05-03T01:46:09.327999+00:00 app[web.1]:     db.metadata.bind = db.engine
2019-05-03T01:46:09.328000+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 937, in engine
2019-05-03T01:46:09.328001+00:00 app[web.1]:     return self.get_engine()
2019-05-03T01:46:09.328002+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 956, in get_engine
2019-05-03T01:46:09.328003+00:00 app[web.1]:     return connector.get_engine()
2019-05-03T01:46:09.328004+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 561, in get_engine
2019-05-03T01:46:09.328005+00:00 app[web.1]:     self._engine = rv = self._sa.create_engine(sa_url, options)
2019-05-03T01:46:09.328007+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 966, in create_engine
2019-05-03T01:46:09.328008+00:00 app[web.1]:     return sqlalchemy.create_engine(sa_url, **engine_opts)
2019-05-03T01:46:09.328009+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 435, in create_engine
2019-05-03T01:46:09.328010+00:00 app[web.1]:     return strategy.create(*args, **kwargs)
2019-05-03T01:46:09.328011+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
2019-05-03T01:46:09.328012+00:00 app[web.1]:     dbapi = dialect_cls.dbapi(**dbapi_args)
2019-05-03T01:46:09.328013+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 632, in dbapi
2019-05-03T01:46:09.328014+00:00 app[web.1]:     import psycopg2
2019-05-03T01:46:09.328015+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
2019-05-03T01:46:09.328016+00:00 app[web.1]:     from psycopg2._psycopg import (                     # noqa
2019-05-03T01:46:09.328018+00:00 app[web.1]: ImportError: /app/.heroku/python/lib/python2.7/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
2019-05-03T01:46:09.328149+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [12] [INFO] Worker exiting (pid: 12)
2019-05-03T01:46:09.338644+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [4] [INFO] Shutting down: Master
2019-05-03T01:46:09.338768+00:00 app[web.1]: [2019-05-03 10:46:09 +0000] [4] [INFO] Reason: Worker failed to boot.
2019-05-03T01:46:09.449803+00:00 heroku[web.1]: State changed from starting to crashed
2019-05-03T01:46:09.461756+00:00 heroku[web.1]: State changed from crashed to starting
2019-05-03T01:46:09.412305+00:00 heroku[web.1]: Process exited with status 3
2019-05-03T01:46:11.000000+00:00 app[api]: Build succeeded
2019-05-03T01:46:13.733034+00:00 heroku[web.1]: Starting process with command `gunicorn main:app --log-file -`
2019-05-03T01:46:16.527100+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-05-03T01:46:16.528118+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [4] [INFO] Listening at: http://0.0.0.0:12016 (4)
2019-05-03T01:46:16.528385+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [4] [INFO] Using worker: sync
2019-05-03T01:46:16.538644+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [11] [INFO] Booting worker with pid: 11
2019-05-03T01:46:16.559446+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [12] [INFO] Booting worker with pid: 12
2019-05-03T01:46:16.867516+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [11] [ERROR] Exception in worker process
2019-05-03T01:46:16.867559+00:00 app[web.1]: Traceback (most recent call last):
2019-05-03T01:46:16.867565+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2019-05-03T01:46:16.867567+00:00 app[web.1]:     worker.init_process()
2019-05-03T01:46:16.867569+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 129, in init_process
2019-05-03T01:46:16.867570+00:00 app[web.1]:     self.load_wsgi()
2019-05-03T01:46:16.867572+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
2019-05-03T01:46:16.867573+00:00 app[web.1]:     self.wsgi = self.app.wsgi()
2019-05-03T01:46:16.867575+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2019-05-03T01:46:16.867577+00:00 app[web.1]:     self.callable = self.load()
2019-05-03T01:46:16.867578+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
2019-05-03T01:46:16.867580+00:00 app[web.1]:     return self.load_wsgiapp()
2019-05-03T01:46:16.867581+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
2019-05-03T01:46:16.867583+00:00 app[web.1]:     return util.import_app(self.app_uri)
2019-05-03T01:46:16.867585+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/util.py", line 350, in import_app
2019-05-03T01:46:16.867586+00:00 app[web.1]:     __import__(module)
2019-05-03T01:46:16.867587+00:00 app[web.1]:   File "/app/main.py", line 44, in <module>
2019-05-03T01:46:16.867589+00:00 app[web.1]:     from app import app, db
2019-05-03T01:46:16.867590+00:00 app[web.1]:   File "/app/app.py", line 31, in <module>
2019-05-03T01:46:16.867592+00:00 app[web.1]:     db.metadata.bind = db.engine
2019-05-03T01:46:16.867594+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 937, in engine
2019-05-03T01:46:16.867595+00:00 app[web.1]:     return self.get_engine()
2019-05-03T01:46:16.867597+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 956, in get_engine
2019-05-03T01:46:16.867598+00:00 app[web.1]:     return connector.get_engine()
2019-05-03T01:46:16.867600+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 561, in get_engine
2019-05-03T01:46:16.867602+00:00 app[web.1]:     self._engine = rv = self._sa.create_engine(sa_url, options)
2019-05-03T01:46:16.867606+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 966, in create_engine
2019-05-03T01:46:16.867608+00:00 app[web.1]:     return sqlalchemy.create_engine(sa_url, **engine_opts)
2019-05-03T01:46:16.867610+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 435, in create_engine
2019-05-03T01:46:16.867611+00:00 app[web.1]:     return strategy.create(*args, **kwargs)
2019-05-03T01:46:16.867613+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
2019-05-03T01:46:16.867615+00:00 app[web.1]:     dbapi = dialect_cls.dbapi(**dbapi_args)
2019-05-03T01:46:16.867616+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 632, in dbapi
2019-05-03T01:46:16.867618+00:00 app[web.1]:     import psycopg2
2019-05-03T01:46:16.867619+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
2019-05-03T01:46:16.867621+00:00 app[web.1]:     from psycopg2._psycopg import (                     # noqa
2019-05-03T01:46:16.867629+00:00 app[web.1]: ImportError: /app/.heroku/python/lib/python2.7/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
2019-05-03T01:46:16.867819+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [11] [INFO] Worker exiting (pid: 11)
2019-05-03T01:46:16.972527+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [12] [ERROR] Exception in worker process
2019-05-03T01:46:16.972532+00:00 app[web.1]: Traceback (most recent call last):
2019-05-03T01:46:16.972535+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2019-05-03T01:46:16.972537+00:00 app[web.1]:     worker.init_process()
2019-05-03T01:46:16.972539+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 129, in init_process
2019-05-03T01:46:16.972540+00:00 app[web.1]:     self.load_wsgi()
2019-05-03T01:46:16.972542+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
2019-05-03T01:46:16.972544+00:00 app[web.1]:     self.wsgi = self.app.wsgi()
2019-05-03T01:46:16.972546+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2019-05-03T01:46:16.972548+00:00 app[web.1]:     self.callable = self.load()
2019-05-03T01:46:16.972549+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
2019-05-03T01:46:16.972551+00:00 app[web.1]:     return self.load_wsgiapp()
2019-05-03T01:46:16.972553+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
2019-05-03T01:46:16.972555+00:00 app[web.1]:     return util.import_app(self.app_uri)
2019-05-03T01:46:16.972556+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/util.py", line 350, in import_app
2019-05-03T01:46:16.972558+00:00 app[web.1]:     __import__(module)
2019-05-03T01:46:16.972559+00:00 app[web.1]:   File "/app/main.py", line 44, in <module>
2019-05-03T01:46:16.972561+00:00 app[web.1]:     from app import app, db
2019-05-03T01:46:16.972562+00:00 app[web.1]:   File "/app/app.py", line 31, in <module>
2019-05-03T01:46:16.972564+00:00 app[web.1]:     db.metadata.bind = db.engine
2019-05-03T01:46:16.972566+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 937, in engine
2019-05-03T01:46:16.972567+00:00 app[web.1]:     return self.get_engine()
2019-05-03T01:46:16.972569+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 956, in get_engine
2019-05-03T01:46:16.972571+00:00 app[web.1]:     return connector.get_engine()
2019-05-03T01:46:16.972572+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 561, in get_engine
2019-05-03T01:46:16.972575+00:00 app[web.1]:     self._engine = rv = self._sa.create_engine(sa_url, options)
2019-05-03T01:46:16.972577+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py", line 966, in create_engine
2019-05-03T01:46:16.972579+00:00 app[web.1]:     return sqlalchemy.create_engine(sa_url, **engine_opts)
2019-05-03T01:46:16.972581+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 435, in create_engine
2019-05-03T01:46:16.972582+00:00 app[web.1]:     return strategy.create(*args, **kwargs)
2019-05-03T01:46:16.972584+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
2019-05-03T01:46:16.972586+00:00 app[web.1]:     dbapi = dialect_cls.dbapi(**dbapi_args)
2019-05-03T01:46:16.972588+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 632, in dbapi
2019-05-03T01:46:16.972589+00:00 app[web.1]:     import psycopg2
2019-05-03T01:46:16.972591+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
2019-05-03T01:46:16.972592+00:00 app[web.1]:     from psycopg2._psycopg import (                     # noqa
2019-05-03T01:46:16.972595+00:00 app[web.1]: ImportError: /app/.heroku/python/lib/python2.7/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
2019-05-03T01:46:16.972598+00:00 app[web.1]: [2019-05-03 10:46:16 +0000] [12] [INFO] Worker exiting (pid: 12)
2019-05-03T01:46:17.016397+00:00 app[web.1]: Traceback (most recent call last):
2019-05-03T01:46:17.016406+00:00 app[web.1]:   File "/app/.heroku/python/bin/gunicorn", line 11, in <module>
2019-05-03T01:46:17.016410+00:00 app[web.1]:     sys.exit(run())
2019-05-03T01:46:17.016438+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 61, in run
2019-05-03T01:46:17.016495+00:00 app[web.1]:     WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
2019-05-03T01:46:17.016518+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 223, in run
2019-05-03T01:46:17.016598+00:00 app[web.1]:     super(Application, self).run()
2019-05-03T01:46:17.016604+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/app/base.py", line 72, in run
2019-05-03T01:46:17.016682+00:00 app[web.1]:     Arbiter(self).run()
2019-05-03T01:46:17.016688+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 232, in run
2019-05-03T01:46:17.016746+00:00 app[web.1]:     self.halt(reason=inst.reason, exit_status=inst.exit_status)
2019-05-03T01:46:17.016751+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 345, in halt
2019-05-03T01:46:17.016821+00:00 app[web.1]:     self.stop()
2019-05-03T01:46:17.016826+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 393, in stop
2019-05-03T01:46:17.016925+00:00 app[web.1]:     time.sleep(0.1)
2019-05-03T01:46:17.016927+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 245, in handle_chld
2019-05-03T01:46:17.016971+00:00 app[web.1]:     self.reap_workers()
2019-05-03T01:46:17.016978+00:00 app[web.1]:   File "/app/.heroku/python/lib/python2.7/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2019-05-03T01:46:17.017061+00:00 app[web.1]:     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2019-05-03T01:46:17.017128+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2019-05-03T01:46:17.116035+00:00 heroku[web.1]: State changed from starting to crashed
2019-05-03T01:46:17.093470+00:00 heroku[web.1]: Process exited with status 1