ActiDoo / gamification-engine-dokku

Heroku/Dokku deployable application for the gamification engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heroku Deploy not working

cybrpimp opened this issue · comments

When deploying on Heroku, the following error occurs...

The log shows the APP was created successful, but nothing ever creates in the instances and it also shows an error.

`
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-apt.git
=====> Detected Framework: Apt
-----> Detected Aptfile or Stack changes, flushing cache
-----> Adding custom repositories
-----> Updating apt caches
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://apt.postgresql.org trusty-pgdg InRelease [56.5 kB]
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:4 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:5 http://archive.ubuntu.com trusty-security/main amd64 Packages [1,032 kB]
Get:6 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [201 kB]
Get:7 http://archive.ubuntu.com trusty-security/universe amd64 Packages [378 kB]
Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,460 kB]
Get:9 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [671 kB]
Get:10 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:11 http://archive.ubuntu.com trusty/main amd64 Packages [1,743 kB]
Get:12 http://archive.ubuntu.com trusty/universe amd64 Packages [7,589 kB]
Fetched 13.3 MB in 2s (5,366 kB/s)
Reading package lists...
-----> Fetching .debs for memcached
Reading package lists...
Building dependency tree...
Suggested packages:
libcache-memcached-perl libmemcached
The following NEW packages will be installed:
memcached
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 67.3 kB of archives.
After this operation, 230 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-security/main memcached amd64 1.4.14-0ubuntu9.3 [67.3 kB]
Fetched 67.3 kB in 0s (215 kB/s)
Download complete and in download only mode
-----> Fetching .debs for libmemcached-dev
Reading package lists...
Building dependency tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

   The following packages have unmet dependencies:
    libmemcached-dev : Depends: libsasl2-dev but it is not going to be installed

E: Unable to correct problems, you have held broken packages.
-----> Fetching .debs for python-memcache
Reading package lists...
Building dependency tree...
Suggested packages:
memcached
The following NEW packages will be installed:
python-memcache
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.9 kB of archives.
After this operation, 101 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main python-memcache all 1.53-1build1 [16.9 kB]
Fetched 16.9 kB in 0s (77.7 kB/s)
Download complete and in download only mode
-----> Installing memcached_1.4.14-0ubuntu9.3_amd64.deb
-----> Installing python-memcache_1.53-1build1_all.deb
-----> Writing profile script
-----> Rewrite package-config files
=====> Downloading Buildpack: https://github.com/cyberdelia/heroku-geo-buildpack.git
=====> Detected Framework: geos/gdal/proj
Using geos version:
Using gdal version:
Using proj version:
/tmp/buildpackOeviJ/bin/compile: line 74: [: too many arguments
/tmp/buildpackOeviJ/bin/compile: line 80: [: too many arguments
/tmp/buildpackOeviJ/bin/compile: line 86: [: too many arguments
-----> Vendoring geo libraries done
=====> Downloading Buildpack: https://github.com/ryandotsmith/nginx-buildpack.git
=====> Detected Framework: nginx-buildpack
-----> nginx-buildpack: Installed nginx/1.5.7 to app/bin
-----> nginx-buildpack: Added start-nginx to app/bin
-----> nginx-buildpack: Default mime.types copied to app/config/
-----> nginx-buildpack: Custom config found in app/config.
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-python.git
=====> Detected Framework: Python
! Python has released a security update! Please consider upgrading to python-3.6.12
Learn More: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing python-3.6.0
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
mv: missing destination file operand after ‘/tmp/build_722f5389_/.heroku/python/include/’
Try 'mv --help' for more information.
mv: missing destination file operand after ‘/tmp/build_722f5389_/.heroku/python/lib/’
Try 'mv --help' for more information.
sed: can't read /tmp/build_722f5389_/.heroku/python/sqlite3/usr/lib/x86_64-linux-gnu/pkgconfig/sqlite3.pc: No such file or directory
mv: missing destination file operand after ‘/tmp/build_722f5389_/.heroku/python/bin/’
Try 'mv --help' for more information.
-----> Installing requirements with pip
Collecting uWSGI==2.0.12
Downloading uwsgi-2.0.12.tar.gz (784 kB)
Collecting gamification-engine[auth,pushes,testing]==0.2.2
Downloading gamification-engine-0.2.2.tar.gz (59 kB)
Collecting pyramid
Downloading pyramid-1.10.4-py2.py3-none-any.whl (325 kB)
Collecting pyramid_chameleon
Downloading pyramid_chameleon-0.3.tar.gz (28 kB)
Collecting pyramid_debugtoolbar
Downloading pyramid_debugtoolbar-4.6.1-py2.py3-none-any.whl (345 kB)
Collecting pyramid_tm
Downloading pyramid_tm-2.4-py2.py3-none-any.whl (15 kB)
Collecting SQLAlchemy
Downloading SQLAlchemy-1.3.20-cp36-cp36m-manylinux2010_x86_64.whl (1.3 MB)
Collecting transaction
Downloading transaction-3.0.0-py2.py3-none-any.whl (47 kB)
Collecting zope.sqlalchemy
Downloading zope.sqlalchemy-1.3-py2.py3-none-any.whl (21 kB)
Collecting waitress
Downloading waitress-1.4.4-py2.py3-none-any.whl (58 kB)
Collecting pytz
Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting dogpile.cache
Downloading dogpile.cache-1.0.2.tar.gz (351 kB)
Collecting pyramid_dogpile_cache
Downloading pyramid_dogpile_cache-0.0.4.tar.gz (5.2 kB)
Collecting Flask>=0.10.1
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting flask-admin
Downloading Flask-Admin-1.5.6.tar.gz (1.7 MB)
Collecting psycopg2
Downloading psycopg2-2.8.6.tar.gz (383 kB)
Collecting pymemcache
Downloading pymemcache-3.4.0-py2.py3-none-any.whl (49 kB)
Collecting mock
Downloading mock-4.0.2-py3-none-any.whl (28 kB)
Collecting alembic
Downloading alembic-1.4.3-py2.py3-none-any.whl (159 kB)
Collecting raven
Downloading raven-6.10.0-py2.py3-none-any.whl (284 kB)
Collecting jsl
Downloading jsl-0.2.4.tar.gz (21 kB)
Collecting jsonschema
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting pyparsing
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting argon2
Downloading argon2-0.1.10.tar.gz (28 kB)
Collecting tapns3
Downloading tapns3-3.0.0.tar.gz (11 kB)
Collecting python-gcm
Downloading python-gcm-0.4.tar.gz (10 kB)
Collecting testing.postgresql
Downloading testing.postgresql-1.3.0-py2.py3-none-any.whl (8.9 kB)
Collecting testing.redis
Downloading testing.redis-1.1.1-py2.py3-none-any.whl (6.4 kB)
Collecting names
Downloading names-0.3.0.tar.gz (789 kB)
Collecting plaster-pastedeploy
Downloading plaster_pastedeploy-0.7-py2.py3-none-any.whl (7.8 kB)
Collecting plaster
Downloading plaster-1.0-py2.py3-none-any.whl (14 kB)
Collecting translationstring>=0.4
Downloading translationstring-1.4-py2.py3-none-any.whl (15 kB)
Collecting webob>=1.8.3
Downloading WebOb-1.8.6-py2.py3-none-any.whl (114 kB)
Collecting venusian>=1.0
Downloading venusian-3.0.0-py3-none-any.whl (13 kB)
Collecting zope.deprecation>=3.5.0
Downloading zope.deprecation-4.4.0-py2.py3-none-any.whl (10 kB)
Collecting zope.interface>=3.8.0
Downloading zope.interface-5.1.2-cp36-cp36m-manylinux2010_x86_64.whl (236 kB)
Collecting hupper>=1.5
Downloading hupper-1.10.2-py2.py3-none-any.whl (26 kB)
Collecting Chameleon
Downloading Chameleon-3.8.1.tar.gz (93 kB)
Collecting pyramid-mako>=0.3.1
Downloading pyramid_mako-1.1.0-py2.py3-none-any.whl (14 kB)
Collecting Pygments
Downloading Pygments-2.7.1-py3-none-any.whl (944 kB)
Collecting repoze.lru
Downloading repoze.lru-0.7-py3-none-any.whl (10 kB)
Collecting decorator>=4.0.0
Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting stevedore>=3.0.0
Downloading stevedore-3.2.2-py3-none-any.whl (42 kB)
Collecting itsdangerous>=0.24
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Jinja2>=2.10.1
Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting click>=5.1
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting Werkzeug>=0.15
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting wtforms
Downloading WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
Collecting six
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting python-dateutil
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting Mako
Downloading Mako-1.1.3-py2.py3-none-any.whl (75 kB)
Collecting python-editor>=0.3
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting importlib-metadata; python_version < "3.8"
Downloading importlib_metadata-2.0.0-py2.py3-none-any.whl (31 kB)
Collecting pyrsistent>=0.14.0
Downloading pyrsistent-0.17.3.tar.gz (106 kB)
Collecting attrs>=17.4.0
Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB)
Collecting requests
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting testing.common.database
Downloading testing.common.database-2.0.3-py2.py3-none-any.whl (10 kB)
Collecting pg8000>=1.10
Downloading pg8000-1.16.6-py3-none-any.whl (24 kB)
Collecting redis
Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting PasteDeploy>=2.0
Downloading PasteDeploy-2.1.1-py2.py3-none-any.whl (17 kB)
Collecting pbr!=2.1.0,>=2.0.0
Downloading pbr-5.5.0-py2.py3-none-any.whl (106 kB)
Collecting MarkupSafe>=0.23
Downloading MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl (27 kB)
Collecting zipp>=0.5
Downloading zipp-3.3.1-py3-none-any.whl (5.3 kB)
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting scramp==1.2.0
Downloading scramp-1.2.0-py3-none-any.whl (6.3 kB)
Building wheels for collected packages: uWSGI, gamification-engine, pyramid-chameleon, dogpile.cache, pyramid-dogpile-cache, flask-admin, psycopg2, jsl, argon2, tapns3, python-gcm, names, Chameleon, pyrsistent
Building wheel for uWSGI (setup.py): started
Building wheel for uWSGI (setup.py): finished with status 'done'
Created wheel for uWSGI: filename=uWSGI-2.0.12-py3-none-any.whl size=4581629 sha256=8cb43a38c6bc52c606061629fad53aa5b6de209f82f67906cdacb97fb801db23
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/f3/1f/c8/c2614b0fb1aeab267b58150b4cd909ec66c4f9d53d882c63af
Building wheel for gamification-engine (setup.py): started
Building wheel for gamification-engine (setup.py): finished with status 'done'
Created wheel for gamification-engine: filename=gamification_engine-0.2.2-py3-none-any.whl size=77498 sha256=6d66d970f1a3c9510833b9eda3ecbc24f1060c402bc2972db9e94c7564ca3b88
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/6e/ef/dc/01c0b87574760a2d1bfd7653c524550e18f6bac1ac81176fc7
Building wheel for pyramid-chameleon (setup.py): started
Building wheel for pyramid-chameleon (setup.py): finished with status 'done'
Created wheel for pyramid-chameleon: filename=pyramid_chameleon-0.3-py3-none-any.whl size=14406 sha256=8fbc3e52c053984dd26a5d0187d93ad0920d762e9e670a2c89f042e7e44da65a
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/38/78/be/01c28ec42b82debc5238251c21466bdb5e3e08c666f45e058b
Building wheel for dogpile.cache (setup.py): started
Building wheel for dogpile.cache (setup.py): finished with status 'done'
Created wheel for dogpile.cache: filename=dogpile.cache-1.0.2-py3-none-any.whl size=45484 sha256=b4ba8d2dd6a6a2d47d49bfcb95c2378e06e02b29100522e485ee5b97b3f4034e
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/be/92/43/387b688346d5737d6df69684d281822252d924a42f03abd202
Building wheel for pyramid-dogpile-cache (setup.py): started
Building wheel for pyramid-dogpile-cache (setup.py): finished with status 'done'
Created wheel for pyramid-dogpile-cache: filename=pyramid_dogpile_cache-0.0.4-py3-none-any.whl size=5618 sha256=ca52977a7b67717df736f51053944980ea6b3fbcc10e37fa1ed94bf699d5763d
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/a4/ba/d9/94369f0e984b6eaba967642fe3f80e6033d9996f84326e677f
Building wheel for flask-admin (setup.py): started
Building wheel for flask-admin (setup.py): finished with status 'done'
Created wheel for flask-admin: filename=Flask_Admin-1.5.6-py3-none-any.whl size=1865194 sha256=e9a8cbb10754c6360eba0144566964f78d2cc917346ad7be8166c322d8bb2843
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/c4/f1/12/c7db7a105ab03314d5f12c26ed435b45c32ae86625366cccf0
Building wheel for psycopg2 (setup.py): started
Building wheel for psycopg2 (setup.py): finished with status 'done'
Created wheel for psycopg2: filename=psycopg2-2.8.6-cp36-cp36m-linux_x86_64.whl size=383837 sha256=8ab3af9ab844d32bd702ae8dad0edc9f56755e893fa6c64070636edcb174c865
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/cb/74/1b/4b65077db4eb0d85763050e60c5921398d2858945558352dd8
Building wheel for jsl (setup.py): started
Building wheel for jsl (setup.py): finished with status 'done'
Created wheel for jsl: filename=jsl-0.2.4-py3-none-any.whl size=26229 sha256=5c5671c1e90470bee1b42c883d98cf310a199ba32b92a26690a0b76008e40b7d
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/cd/a2/d3/058763276cbdd9d8715b61d8ab1f572aad1cc4007273c20f6c
Building wheel for argon2 (setup.py): started
Building wheel for argon2 (setup.py): finished with status 'done'
Created wheel for argon2: filename=argon2-0.1.10-cp36-cp36m-linux_x86_64.whl size=54566 sha256=bbd54915b220a67ccc2ec8f14e8f4af4ee6c4b579fe23742af715f31b8e32c63
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/2b/3f/27/02badb539423db353cf38cb804e2c51af5f28f21d125e09944
Building wheel for tapns3 (setup.py): started
Building wheel for tapns3 (setup.py): finished with status 'done'
Created wheel for tapns3: filename=tapns3-3.0.0-py3-none-any.whl size=8065 sha256=c53e79d50cb01cab498d336343d50649cba31315e1954aaaf55a8c2f46a7448b
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/46/2a/9a/32d0c368e88911358e37d37187f3265694bc2864518903b1c0
Building wheel for python-gcm (setup.py): started
Building wheel for python-gcm (setup.py): finished with status 'done'
Created wheel for python-gcm: filename=python_gcm-0.4-py3-none-any.whl size=11894 sha256=68d995b8f60efbeff0ef222eb2188bb79eb288afa5110c69c86c191f51048923
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/e0/9e/42/14c9dba7a6510eb5ff2e714e98e6c6d0222c6a7a1826580e26
Building wheel for names (setup.py): started
Building wheel for names (setup.py): finished with status 'done'
Created wheel for names: filename=names-0.3.0-py3-none-any.whl size=803689 sha256=ccac4a97698cc76577cbb1add2ff6d11e35110bfd4ec5ca3783d8eccab3c5d88
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/bc/0a/39/6248e200b3403f09f9251d10b1cfef7b52e4c16135ae09a9ba
Building wheel for Chameleon (setup.py): started
Building wheel for Chameleon (setup.py): finished with status 'done'
Created wheel for Chameleon: filename=Chameleon-3.8.1-py3-none-any.whl size=74213 sha256=fbec975701fe76de72d5ccb528d0d7bf797e07b2da1578d51ea748b7d42f3022
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/61/33/82/60af73d13acb950daa552067c8e1880ffb4a641fe21dc4c5d3
Building wheel for pyrsistent (setup.py): started
Building wheel for pyrsistent (setup.py): finished with status 'done'
Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp36-cp36m-linux_x86_64.whl size=114947 sha256=903db6c93783ae2acd07caf098444b05463e540ee86d0d71f354ab9c4799e002
Stored in directory: /tmp/pip-ephem-wheel-cache-e91l5t4w/wheels/34/13/19/294da8e11bce7e563afee51251b9fa878185e14f4b5caf00cb
Successfully built uWSGI gamification-engine pyramid-chameleon dogpile.cache pyramid-dogpile-cache flask-admin psycopg2 jsl argon2 tapns3 python-gcm names Chameleon pyrsistent
Installing collected packages: uWSGI, plaster, PasteDeploy, plaster-pastedeploy, translationstring, webob, venusian, zope.deprecation, zope.interface, hupper, pyramid, Chameleon, pyramid-chameleon, MarkupSafe, Mako, pyramid-mako, Pygments, repoze.lru, pyramid-debugtoolbar, transaction, pyramid-tm, SQLAlchemy, zope.sqlalchemy, waitress, pytz, decorator, zipp, importlib-metadata, pbr, stevedore, dogpile.cache, pyramid-dogpile-cache, itsdangerous, Jinja2, click, Werkzeug, Flask, wtforms, flask-admin, psycopg2, six, pymemcache, mock, python-dateutil, python-editor, alembic, raven, jsl, pyrsistent, attrs, jsonschema, pyparsing, argon2, tapns3, idna, urllib3, certifi, chardet, requests, python-gcm, testing.common.database, scramp, pg8000, testing.postgresql, redis, testing.redis, names, gamification-engine
Successfully installed Chameleon-3.8.1 Flask-1.1.2 Jinja2-2.11.2 Mako-1.1.3 MarkupSafe-1.1.1 PasteDeploy-2.1.1 Pygments-2.7.1 SQLAlchemy-1.3.20 Werkzeug-1.0.1 alembic-1.4.3 argon2-0.1.10 attrs-20.2.0 certifi-2020.6.20 chardet-3.0.4 click-7.1.2 decorator-4.4.2 dogpile.cache-1.0.2 flask-admin-1.5.6 gamification-engine-0.2.2 hupper-1.10.2 idna-2.10 importlib-metadata-2.0.0 itsdangerous-1.1.0 jsl-0.2.4 jsonschema-3.2.0 mock-4.0.2 names-0.3.0 pbr-5.5.0 pg8000-1.16.6 plaster-1.0 plaster-pastedeploy-0.7 psycopg2-2.8.6 pymemcache-3.4.0 pyparsing-2.4.7 pyramid-1.10.4 pyramid-chameleon-0.3 pyramid-debugtoolbar-4.6.1 pyramid-dogpile-cache-0.0.4 pyramid-mako-1.1.0 pyramid-tm-2.4 pyrsistent-0.17.3 python-dateutil-2.8.1 python-editor-1.0.4 python-gcm-0.4 pytz-2020.1 raven-6.10.0 redis-3.5.3 repoze.lru-0.7 requests-2.24.0 scramp-1.2.0 six-1.15.0 stevedore-3.2.2 tapns3-3.0.0 testing.common.database-2.0.3 testing.postgresql-1.3.0 testing.redis-1.1.1 transaction-3.0.0 translationstring-1.4 uWSGI-2.0.12 urllib3-1.25.10 venusian-3.0.0 waitress-1.4.4 webob-1.8.6 wtforms-2.3.3 zipp-3.3.1 zope.deprecation-4.4.0 zope.interface-5.1.2 zope.sqlalchemy-1.3
Using release configuration from last framework (Python).
-----> Discovering process types
Procfile declares types -> mc, web
-----> Compressing...
Done: 73.4M
-----> Launching...
Released v9
https://lgi-actidoo.herokuapp.com/ deployed to Heroku
_ __ _ _ ______ ____ _
| | /_ | || | | / __ | |
___ ___ | | __ _ _ __ | | || | | | | | | | |
/ / _ / _ |/ _ | '|
| |
| | __|| | | | |
| (
| __/ (
| | (| | | | | | | | || || | |____
__|_,|_,|| || || |_/|____|
This application is still using the Cedar-14 stack for which the end-of-life window began May 1, 2019:
https://devcenter.heroku.com/changelog-items/1603
The end-of-life window ends on November 2, 2020 after which Cedar-14 will no longer
receive security updates and Cedar-14 app builds will be disabled.
Please upgrade to the latest stack by following these instructions:
https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack

`