Closed foodelevator closed 5 months ago
Shid didn't work
took 31s 19:19:37 cashflow (master) git push dokku Enumerating objects: 28, done. Counting objects: 100% (28/28), done. Delta compression using up to 8 threads Compressing objects: 100% (20/20), done. Writing objects: 100% (20/20), 3.91 KiB | 1.96 MiB/s, done. Total 20 (delta 13), reused 0 (delta 0), pack-reused 0 -----> Cleaning up... -----> Building cashflow from Dockerfile -----> Setting config vars DOKKU_DOCKERFILE_PORTS: 8000 remote: #1 [internal] load build definition from Dockerfile remote: #1 transferring dockerfile: 357B done remote: #1 DONE 0.0s remote: remote: #2 [internal] load .dockerignore remote: #2 transferring context: 2.74kB done remote: #2 DONE 0.0s remote: remote: #3 [internal] load metadata for docker.io/library/python:3.6-alpine3.15 remote: #3 DONE 0.9s remote: remote: #4 [1/7] FROM docker.io/library/python:3.6-alpine3.15@sha256:579978dec4602646fe1262f02b96371779bfb0294e92c91392707fa999c0c989 remote: #4 DONE 0.0s remote: remote: #5 [internal] load build context remote: #5 transferring context: 853.84kB 0.0s done remote: #5 DONE 0.1s remote: remote: #6 [2/7] WORKDIR /app remote: #6 CACHED remote: remote: #7 [3/7] RUN apk add --no-cache postgresql12-dev postgresql12-plpython3 gcc musl-dev remote: #7 CACHED remote: remote: #8 [4/7] RUN pip install pipenv==2022.4.8 remote: #8 CACHED remote: remote: #9 [5/7] COPY Pipfile Pipfile.lock ./ remote: #9 CACHED remote: remote: #10 [6/7] RUN pipenv install remote: #10 3.168 Creating a virtualenv for this project... remote: #10 3.169 Pipfile: /app/Pipfile remote: #10 3.191 Using /usr/local/bin/python3.6m (3.6.15) to create virtualenv... remote: ⠇ Creating virtual environment...created virtual environment CPython3.6.15.final.0-64 in 1080ms remote: #10 4.684 creator CPython3Posix(dest=/root/.local/share/virtualenvs/app-4PlAip0Q, clear=False, no_vcs_ignore=False, global=False) remote: #10 4.684 seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv) remote: #10 4.684 added seed packages: pip==21.3.1, setuptools==59.6.0, wheel==0.37.1 remote: #10 4.684 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator remote: #10 4.684 remote: #10 4.760✔ Successfully created virtual environment! remote: #10 5.523 Virtualenv location: /root/.local/share/virtualenvs/app-4PlAip0Q remote: #10 5.695 Installing dependencies from Pipfile.lock (4cd5c8)... remote: #10 61.12 To activate this project's virtualenv, run pipenv shell. remote: #10 61.12 Alternatively, run a command inside the virtualenv with pipenv run. remote: #10 DONE 61.4s remote: remote: #11 [7/7] COPY . . remote: #11 DONE 0.1s remote: remote: #12 exporting to image remote: #12 exporting layers remote: #12 exporting layers 8.5s done remote: #12 writing image sha256:d605b67a581069abbfc49992a996202b80d841ac1b4214d721f24508fa07b43d done remote: #12 naming to docker.io/dokku/cashflow:latest done remote: #12 DONE 8.6s -----> Releasing cashflow... -----> Checking for predeploy task No predeploy task found, skipping -----> Checking for release task No release task found, skipping =====> Processing deployment checks No CHECKS file found. Simple container checks will be performed. For more efficient zero downtime deployments, create a CHECKS file. See https://dokku.com/docs/deployment/zero-downtime-deploys/ for examples -----> Deploying cashflow via the docker-local scheduler... -----> Deploying web (count=1) Attempting pre-flight checks (web.1) Waiting for 10 seconds (web.1) f100ddf4db9063fdf95d9cdd5e22eca24513dc0570f4bc3f3a212d8f7ab80ba8 remote: ! App container failed to start (web.1) =====> Start of cashflow container output (web.1) [FATAL tini (7)] exec gunicorn failed: No such file or directory [FATAL tini (8)] exec gunicorn failed: No such file or directory [FATAL tini (8)] exec gunicorn failed: No such file or directory [FATAL tini (7)] exec gunicorn failed: No such file or directory [FATAL tini (6)] exec gunicorn failed: No such file or directory [FATAL tini (7)] exec gunicorn failed: No such file or directory [FATAL tini (7)] exec gunicorn failed: No such file or directory =====> End of cashflow container output (web.1) remote: parallel: This job failed: remote: /var/lib/dokku/plugins/available/scheduler-docker-local/bin/scheduler-deploy-process-container cashflow dockerfile dokku/cashflow:latest latest web 1 1
And it still doesn't work
You forgot to remove the Procfile you doofus.
Procfile
Already fixed in #165
Shid didn't work