Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployment fails #64

Closed
slackmage opened this issue Dec 6, 2019 · 2 comments · Fixed by #68
Closed

deployment fails #64

slackmage opened this issue Dec 6, 2019 · 2 comments · Fixed by #68

Comments

@slackmage
Copy link

Scroll to the bottom for the error

C:\Users\User\Downloads\wharf-master>git push dokku master
Enumerating objects: 52, done.
Counting objects: 100% (52/52), done.
Delta compression using up to 8 threads
Compressing objects: 100% (48/48), done.
Writing objects: 100% (52/52), 37.13 KiB | 1.86 MiB/s, done.
Total 52 (delta 0), reused 0 (delta 0)
remote: -----> Cleaning up...
remote: -----> Building wharf from dockerfile...
remote: Sending build context to Docker daemon 139.8kB
remote: Step 1/8 : FROM python:3.6
remote: 3.6: Pulling from library/python
remote: 16ea0e8c8879: Pulling fs layer
remote: 50024b0106d5: Pulling fs layer
remote: ff95660c6937: Pulling fs layer
remote: 9c7d0e5c0bc2: Pulling fs layer
remote: 29c4fb388fdf: Pulling fs layer
remote: 49a8841b38a3: Pulling fs layer
remote: c4a74b0ecce5: Pulling fs layer
remote: 3e19e7d95a0c: Pulling fs layer
remote: c6c6b4054fe6: Pulling fs layer
remote: 9c7d0e5c0bc2: Waiting
remote: 29c4fb388fdf: Waiting
remote: 49a8841b38a3: Waiting
remote: c4a74b0ecce5: Waiting
remote: 3e19e7d95a0c: Waiting
remote: c6c6b4054fe6: Waiting
remote: ff95660c6937: Verifying Checksum
remote: ff95660c6937: Download complete
remote: 50024b0106d5: Verifying Checksum
remote: 50024b0106d5: Download complete
remote: 16ea0e8c8879: Verifying Checksum
remote: 16ea0e8c8879: Download complete
remote: 49a8841b38a3: Verifying Checksum
remote: 49a8841b38a3: Download complete
remote: 9c7d0e5c0bc2: Verifying Checksum
remote: 9c7d0e5c0bc2: Download complete
remote: 3e19e7d95a0c: Verifying Checksum
remote: 3e19e7d95a0c: Download complete
remote: 16ea0e8c8879: Pull complete
remote: c4a74b0ecce5: Verifying Checksum
remote: c4a74b0ecce5: Download complete
remote: c6c6b4054fe6: Verifying Checksum
remote: c6c6b4054fe6: Download complete
remote: 50024b0106d5: Pull complete
remote: ff95660c6937: Pull complete
remote: 29c4fb388fdf: Verifying Checksum
remote: 29c4fb388fdf: Download complete
remote: 9c7d0e5c0bc2: Pull complete
remote: 29c4fb388fdf: Pull complete
remote: 49a8841b38a3: Pull complete
remote: c4a74b0ecce5: Pull complete
remote: 3e19e7d95a0c: Pull complete
remote: c6c6b4054fe6: Pull complete
remote: Digest: sha256:47e547af7ffcc2f5d1e5c76a96f4122943c4631d10bb3a0375e870fd95799107
remote: Status: Downloaded newer image for python:3.6
remote: ---> 5bf410ee7bb2
remote: Step 2/8 : WORKDIR /app
remote: ---> Running in 2503c2f09b58
remote: Removing intermediate container 2503c2f09b58
remote: ---> a1fc57a8fd2a
remote: Step 3/8 : COPY requirements.txt /app
remote: ---> 637d0106a52a
remote: Step 4/8 : RUN pip install -r requirements.txt
remote: ---> Running in 189cc3c8f3e1
remote: Collecting amqp==2.3.2
remote: Downloading https://files.pythonhosted.org/packages/7f/cf/12d4611fc67babd4ae250c9e8249c5650ae1933395488e9e7e3562b4ff24/amqp-2.3.2-py2.py3-none-any.whl (48kB)
remote: Collecting asn1crypto==0.24.0
remote: Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
remote: Collecting bcrypt==3.1.4
remote: Downloading https://files.pythonhosted.org/packages/b8/09/905ec939994e2c49dcffff72f823802557f166b3815ea54c1db3671eed42/bcrypt-3.1.4-cp36-cp36m-manylinux1_x86_64.whl (54kB)
remote: Collecting billiard==3.5.0.3
remote: Downloading https://files.pythonhosted.org/packages/82/55/76f4e786141b7174926cdffa7a155aeea316b729118fb48ec548f3c6754f/billiard-3.5.0.3-py3-none-any.whl (89kB)
remote: Collecting celery[redis]==4.1.1
remote: Downloading https://files.pythonhosted.org/packages/99/fa/4049b26bfe71992ecf979acd39b87e55b493608613054089d975418015b7/celery-4.1.1-py2.py3-none-any.whl (394kB)
remote: Collecting certifi==2018.4.16
remote: Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
remote: Collecting cffi==1.11.5
remote: Downloading https://files.pythonhosted.org/packages/6d/c0/47db8f624f3e4e2f3f27be03a93379d1ba16a1450a7b1aacfa0366e2c0dd/cffi-1.11.5-cp36-cp36m-manylinux1_x86_64.whl (421kB)
remote: Collecting chardet==3.0.4
remote: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
remote: Collecting cryptography==2.3
remote: Downloading https://files.pythonhosted.org/packages/c2/fa/fa9a8933c285895935d1392922fe721e9cb1b2c1881d14f149213a227ee3/cryptography-2.3-cp34-abi3-manylinux1_x86_64.whl (2.1MB)
remote: Collecting dj-database-url==0.5.0
remote: Downloading https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl
remote: Collecting django-celery-results==1.0.1
remote: Downloading https://files.pythonhosted.org/packages/8d/82/4ede39c945811ffea9de29c5d312e1ab84352c3b01a290f9dce81614567d/django_celery_results-1.0.1-py2.py3-none-any.whl
remote: Collecting django-jinja-bootstrap-form==4.2.3
remote: Downloading https://files.pythonhosted.org/packages/89/89/6ada8afd2606d3ffefd2543a70acab2fee3d5a617406de3f599ee118f502/django_jinja_bootstrap_form-4.2.3-py36-none-any.whl
remote: Collecting django-jinja==2.4.1
remote: Downloading https://files.pythonhosted.org/packages/a3/0c/df6197ae0ce8bd0f1701929ff3448c5384ca258c2ebfb4244d09e82f0bf3/django_jinja-2.4.1-py2.py3-none-any.whl
remote: Collecting django-redis==4.9.0
remote: Downloading https://files.pythonhosted.org/packages/d5/3c/184b7a962f2aa5e49388ced9664a308b8d1b9864dc6afe7adb2a8302b5c4/django_redis-4.9.0-py2.py3-none-any.whl
remote: Collecting django==2.1.11
remote: Downloading https://files.pythonhosted.org/packages/8c/49/d5038239995594281478bf209f8d93524ad342d500009a697b27f884668a/Django-2.1.11-py3-none-any.whl (7.3MB)
remote: Collecting gitdb2==2.0.3
remote: Downloading https://files.pythonhosted.org/packages/e0/95/c772c13b7c5740ec1a0924250e6defbf5dfdaee76a50d1c47f9c51f1cabb/gitdb2-2.0.3-py2.py3-none-any.whl (63kB)
remote: Collecting gitpython==2.1.10
remote: Downloading https://files.pythonhosted.org/packages/ac/c9/96d7c86c623cb065976e58c0f4898170507724d6b4be872891d763d686f4/GitPython-2.1.10-py2.py3-none-any.whl (449kB)
remote: Collecting humanize==0.5.1
remote: Downloading https://files.pythonhosted.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9/humanize-0.5.1.tar.gz
remote: Collecting idna==2.6
remote: Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)
remote: Collecting jinja2==2.10.1
remote: Downloading https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl (124kB)
remote: Collecting kombu==4.2.1
remote: Downloading https://files.pythonhosted.org/packages/97/61/65838c7da048e56d549e358ac19c0979c892e17dc6186610c49531d35b70/kombu-4.2.1-py2.py3-none-any.whl (177kB)
remote: Collecting markupsafe==1.0
remote: Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz
remote: Collecting paramiko==2.4.2
remote: Downloading https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl (193kB)
remote: Collecting psycopg2-binary==2.7.5
remote: Downloading https://files.pythonhosted.org/packages/3f/4e/b9a5cb7c7451029f67f93426cbb5f5bebedc3f9a8b0a470de7d0d7883602/psycopg2_binary-2.7.5-cp36-cp36m-manylinux1_x86_64.whl (2.7MB)
remote: Collecting pyasn1==0.4.3
remote: Downloading https://files.pythonhosted.org/packages/a0/70/2c27740f08e477499ce19eefe05dbcae6f19fdc49e9e82ce4768be0643b9/pyasn1-0.4.3-py2.py3-none-any.whl (72kB)
remote: Collecting pycparser==2.18
remote: Downloading https://files.pythonhosted.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz (245kB)
remote: Collecting pynacl==1.2.1
remote: Downloading https://files.pythonhosted.org/packages/77/03/927e4cdbd821f929392608ddb2220a9548ce164c52047e90fadd20786fd8/PyNaCl-1.2.1-cp36-cp36m-manylinux1_x86_64.whl (692kB)
remote: Collecting pytz==2018.4
remote: Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB)
remote: Collecting redis==2.10.6
remote: Downloading https://files.pythonhosted.org/packages/3b/f6/7a76333cf0b9251ecf49efff635015171843d9b977e4ffcf59f9c4428052/redis-2.10.6-py2.py3-none-any.whl (64kB)
remote: Collecting requests==2.20.1
remote: Downloading https://files.pythonhosted.org/packages/ff/17/5cbb026005115301a8fb2f9b0e3e8d32313142fe8b617070e7baad20554f/requests-2.20.1-py2.py3-none-any.whl (57kB)
remote: Collecting selenium==3.141.0
remote: Downloading https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl (904kB)
remote: Collecting six==1.11.0
remote: Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
remote: Collecting smmap2==2.0.3
remote: Downloading https://files.pythonhosted.org/packages/e3/59/4e22f692e65f5f9271252a8e63f04ce4ad561d4e06192478ee48dfac9611/smmap2-2.0.3-py2.py3-none-any.whl
remote: Collecting timeout-decorator==0.4.1
remote: Downloading https://files.pythonhosted.org/packages/07/1c/0d9adcb848f1690f3253dcb1c1557b6cf229a93e724977cb83f266cbd0ae/timeout-decorator-0.4.1.tar.gz
remote: Collecting urllib3==1.24.3
remote: Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
remote: Collecting vine==1.1.4
remote: Downloading https://files.pythonhosted.org/packages/10/50/5b1ebe42843c19f35edb15022ecae339fbec6db5b241a7a13c924dabf2a3/vine-1.1.4-py2.py3-none-any.whl
remote: Building wheels for collected packages: humanize, markupsafe, pycparser, timeout-decorator
remote: Building wheel for humanize (setup.py): started
remote: Building wheel for humanize (setup.py): finished with status 'done'
remote: Created wheel for humanize: filename=humanize-0.5.1-cp36-none-any.whl size=17901 sha256=f5435ca3ca29c9229126b97fe81ba87568070f23fb7957e1e3c881b26a06d4c5
remote: Stored in directory: /root/.cache/pip/wheels/69/86/6c/f8b8593bc273ec4b0c653d3827f7482bb2001a2781a73b7f44
remote: Building wheel for markupsafe (setup.py): started
remote: Building wheel for markupsafe (setup.py): finished with status 'done'
remote: Created wheel for markupsafe: filename=MarkupSafe-1.0-cp36-cp36m-linux_x86_64.whl size=29873 sha256=ac55c4b9aec6e95adc06171e923f575176c543c3a37fd7ed8d04b55456b5ac35
remote: Stored in directory: /root/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46
remote: Building wheel for pycparser (setup.py): started
remote: Building wheel for pycparser (setup.py): finished with status 'done'
remote: Created wheel for pycparser: filename=pycparser-2.18-py2.py3-none-any.whl size=206687 sha256=b8cc45a00df35504fdb7beaab03891e4ba71acd407e7e11c34ed7e9b5d28fe38
remote: Stored in directory: /root/.cache/pip/wheels/c0/a1/27/5ba234bd77ea5a290cbf6d675259ec52293193467a12ef1f46
remote: Building wheel for timeout-decorator (setup.py): started
remote: Building wheel for timeout-decorator (setup.py): finished with status 'done'
remote: Created wheel for timeout-decorator: filename=timeout_decorator-0.4.1-cp36-none-any.whl size=5019 sha256=48ccb7dc480680a20223470526f62937518decc367028cba14982bc87bb93e00
remote: Stored in directory: /root/.cache/pip/wheels/f1/e6/ea/7387e3629cb46ba65140141f972745b823f4486c6fe884ccb8
remote: Successfully built humanize markupsafe pycparser timeout-decorator
remote: Installing collected packages: vine, amqp, asn1crypto, pycparser, cffi, six, bcrypt, billiard, kombu, pytz, redis,
celery, certifi, chardet, idna, cryptography, dj-database-url, django-celery-results, django, markupsafe, jinja2, django-jinja, django-jinja-bootstrap-form, django-redis, smmap2, gitdb2, gitpython, humanize, pynacl, pyasn1, paramiko, psycopg2-binary, urllib3, requests, selenium, timeout-decorator
remote: Successfully installed amqp-2.3.2 asn1crypto-0.24.0 bcrypt-3.1.4 billiard-3.5.0.3 celery-4.1.1 certifi-2018.4.16 cffi-1.11.5 chardet-3.0.4 cryptography-2.3 dj-database-url-0.5.0 django-2.1.11 django-celery-results-1.0.1 django-jinja-2.4.1 django-jinja-bootstrap-form-4.2.3 django-redis-4.9.0 gitdb2-2.0.3 gitpython-2.1.10 humanize-0.5.1 idna-2.6 jinja2-2.10.1 kombu-4.2.1 markupsafe-1.0 paramiko-2.4.2 psycopg2-binary-2.7.5 pyasn1-0.4.3 pycparser-2.18 pynacl-1.2.1 pytz-2018.4 redis-2.10.6 requests-2.20.1 selenium-3.141.0 six-1.11.0 smmap2-2.0.3 timeout-decorator-0.4.1 urllib3-1.24.3 vine-1.1.4
remote: Removing intermediate container 189cc3c8f3e1
remote: ---> 81d83b93e043
remote: Step 5/8 : COPY . /app
remote: ---> abba5b77e06a
remote: Step 6/8 : LABEL dokku=
remote: ---> Running in 1bc9588a1972
remote: Removing intermediate container 1bc9588a1972
remote: ---> 993396036d4f
remote: Step 7/8 : LABEL org.label-schema.schema-version=1.0
remote: ---> Running in a84a5c996a3a
remote: Removing intermediate container a84a5c996a3a
remote: ---> 143a7eeee265
remote: Step 8/8 : LABEL org.label-schema.vendor=dokku
remote: ---> Running in 065ad3c015ae
remote: Removing intermediate container 065ad3c015ae
remote: ---> 475ced025821
remote: Successfully built 475ced025821
remote: Successfully tagged dokku/wharf:latest
remote: -----> Releasing wharf (dokku/wharf:latest)...
remote: -----> Deploying wharf (dokku/wharf:latest)...
remote: -----> App Procfile file found (/home/dokku/wharf/DOKKU_PROCFILE)
remote: DOKKU_SCALE declares scale -> web=1 celery=1
remote: docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "./dokku-boot.sh": permission denied": unknown.
To 23.239.16.4:wharf
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@23.239.16.4:wharf'

@palfrey
Copy link
Owner

palfrey commented Dec 6, 2019

I'm guessing the problem is that dokku-boot.sh doesn't have executable permissions due to it having been checked out on Windows, which isn't a scenario I've previously had to test! If you want to add something like RUN chmod +x dokku-boot.sh to the bottom of the Dockerfile, this might fix things...

@palfrey
Copy link
Owner

palfrey commented Dec 8, 2019

If #68 didn't fix things, please re-open this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants