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

ncurl: (7) Failed to connect to localhost port 3000: Connection refused #691

Closed
dorianmariecom opened this issue Feb 21, 2024 · 13 comments
Closed

Comments

@dorianmariecom
Copy link
Contributor

I'm getting unhealthy containers and I can't seem to fix it, any help?

  ERROR (Kamal::Cli::Healthcheck::Poller::HealthcheckError): Exception while executing on host 45.55.196.152: container not ready (unhealthy)
> kamal lock release && kamal setup -v
  INFO [30456da4] Running /usr/bin/env mkdir -p .kamal on 45.55.196.152
  INFO [30456da4] Finished in 2.281 seconds with exit status 0 (successful).
There is no deploy lock
  INFO [aa0db6b2] Running /usr/bin/env mkdir -p .kamal on 45.55.196.152
 DEBUG [aa0db6b2] Command: /usr/bin/env mkdir -p .kamal
  INFO [aa0db6b2] Finished in 1.203 seconds with exit status 0 (successful).
Acquiring the deploy lock...
 DEBUG [08329092] Running /usr/bin/env mkdir .kamal/lock-code && echo "TG9ja2VkIGJ5OiBEb3JpYW4gTWFyacOpIGF0IDIwMjQtMDItMjFUMTY6NDE6
MTRaClZlcnNpb246IDY1NTBhMDNjNDRhNjY3M2MxNmVlODA3NGIyMGI3ZDcy
Y2QyMTQ1Y2VfdW5jb21taXR0ZWRfYmYyYTg4OTBlZjNiMmEyYwpNZXNzYWdl
OiBBdXRvbWF0aWMgZGVwbG95IGxvY2s=
" > .kamal/lock-code/details on 45.55.196.152
 DEBUG [08329092] Command: /usr/bin/env mkdir .kamal/lock-code && echo "TG9ja2VkIGJ5OiBEb3JpYW4gTWFyacOpIGF0IDIwMjQtMDItMjFUMTY6NDE6
MTRaClZlcnNpb246IDY1NTBhMDNjNDRhNjY3M2MxNmVlODA3NGIyMGI3ZDcy
Y2QyMTQ1Y2VfdW5jb21taXR0ZWRfYmYyYTg4OTBlZjNiMmEyYwpNZXNzYWdl
OiBBdXRvbWF0aWMgZGVwbG95IGxvY2s=
" > .kamal/lock-code/details
 DEBUG [08329092] Finished in 0.260 seconds with exit status 0 (successful).
Ensure Docker is installed...
  INFO [410bed45] Running docker -v on 45.55.196.152
 DEBUG [410bed45] Command: docker -v
 DEBUG [410bed45] 	Docker version 
 DEBUG [410bed45] 	25.0.3, build 4debf41
 DEBUG [410bed45] 	
  INFO [410bed45] Finished in 0.327 seconds with exit status 0 (successful).
  INFO [d046479e] Running /usr/bin/env mkdir -p .kamal on 45.55.196.152
 DEBUG [d046479e] Command: /usr/bin/env mkdir -p .kamal
  INFO [d046479e] Finished in 0.313 seconds with exit status 0 (successful).
Push env files...
 DEBUG [8cc9da7c] Running /usr/bin/env echo [2024-02-21T16:41:15Z] [dorianmariefr] Pushed env files >> .kamal/code-audit.log on 45.55.196.152
 DEBUG [8cc9da7c] Command: /usr/bin/env echo [2024-02-21T16:41:15Z] [dorianmariefr] Pushed env files >> .kamal/code-audit.log
 DEBUG [8cc9da7c] Finished in 0.273 seconds with exit status 0 (successful).
  INFO [8507c9b6] Running /usr/bin/env mkdir -p .kamal/env/roles on 45.55.196.152
 DEBUG [8507c9b6] Command: /usr/bin/env mkdir -p .kamal/env/roles
  INFO [8507c9b6] Finished in 0.310 seconds with exit status 0 (successful).
 DEBUG Uploading .kamal/env/roles/code-web.env 0.0%
  INFO Uploading .kamal/env/roles/code-web.env 100.0%
  INFO [e2556b8d] Running /usr/bin/env mkdir -p .kamal/env/traefik on 45.55.196.152
 DEBUG [e2556b8d] Command: /usr/bin/env mkdir -p .kamal/env/traefik
  INFO [e2556b8d] Finished in 0.311 seconds with exit status 0 (successful).
 DEBUG Uploading .kamal/env/traefik/traefik.env 0.0%
  INFO Uploading .kamal/env/traefik/traefik.env 100.0%
  INFO [716c8c35] Running /usr/bin/env mkdir -p .kamal/env/accessories on 45.55.196.152
 DEBUG [716c8c35] Command: /usr/bin/env mkdir -p .kamal/env/accessories
  INFO [716c8c35] Finished in 0.311 seconds with exit status 0 (successful).
 DEBUG Uploading .kamal/env/accessories/code-db.env 0.0%
  INFO Uploading .kamal/env/accessories/code-db.env 100.0%
  INFO [949fd0c2] Running /usr/bin/env mkdir -p $PWD/code-db/data on 45.55.196.152
 DEBUG [949fd0c2] Command: /usr/bin/env mkdir -p $PWD/code-db/data
  INFO [949fd0c2] Finished in 0.306 seconds with exit status 0 (successful).
  INFO [d0a55e74] Running docker login -u [REDACTED] -p [REDACTED] on 45.55.196.152
 DEBUG [d0a55e74] Command: docker login -u [REDACTED] -p [REDACTED]
 DEBUG [d0a55e74] 	WARNING! Using --password via the CLI is insecure. Use --password-stdin.
 DEBUG [d0a55e74] 	WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

 DEBUG [d0a55e74] 	Login Succeeded
  INFO [d0a55e74] Finished in 0.467 seconds with exit status 0 (successful).
 DEBUG [4568d968] Running /usr/bin/env echo [2024-02-21T16:41:19Z] [dorianmariefr] Booted db accessory >> .kamal/code-audit.log on 45.55.196.152
 DEBUG [4568d968] Command: /usr/bin/env echo [2024-02-21T16:41:19Z] [dorianmariefr] Booted db accessory >> .kamal/code-audit.log
 DEBUG [4568d968] Finished in 0.274 seconds with exit status 0 (successful).
  INFO [cb2e6791] Running docker run --name code-db --detach --restart unless-stopped --log-opt max-size="10m" --publish 5432:5432 --env-file .kamal/env/accessories/code-db.env --volume $PWD/code-db/data:/var/lib/postgresql/data --label service="code-db" postgres:16.1 on 45.55.196.152
 DEBUG [cb2e6791] Command: docker run --name code-db --detach --restart unless-stopped --log-opt max-size="10m" --publish 5432:5432 --env-file .kamal/env/accessories/code-db.env --volume $PWD/code-db/data:/var/lib/postgresql/data --label service="code-db" postgres:16.1
 DEBUG [cb2e6791] 	f149e0203ee553100d58c5b646cae3283a43a4d8cc2964f1c459ef03eafe6b9a
  INFO [cb2e6791] Finished in 0.872 seconds with exit status 0 (successful).
Log into image registry...
  INFO [8bdaeea4] Running docker login -u [REDACTED] -p [REDACTED] as dorianmariefr@localhost
 DEBUG [8bdaeea4] Command: docker login -u [REDACTED] -p [REDACTED]
 DEBUG [8bdaeea4] 	WARNING! Using --password via the CLI is insecure. Use --password-stdin.
 DEBUG [8bdaeea4] 	Login Succeeded
  INFO [8bdaeea4] Finished in 1.056 seconds with exit status 0 (successful).
  INFO [2d60f6db] Running docker login -u [REDACTED] -p [REDACTED] on 45.55.196.152
 DEBUG [2d60f6db] Command: docker login -u [REDACTED] -p [REDACTED]
 DEBUG [2d60f6db] 	WARNING! Using --password via the CLI is insecure. Use --password-stdin.
 DEBUG [2d60f6db] 	WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

 DEBUG [2d60f6db] 	Login Succeeded
  INFO [2d60f6db] Finished in 0.323 seconds with exit status 0 (successful).
Build and push app image...
  INFO [c0954eb1] Running docker --version && docker buildx version as dorianmariefr@localhost
 DEBUG [c0954eb1] Command: docker --version && docker buildx version
 DEBUG [c0954eb1] 	Docker version 25.0.3, build 4debf41
 DEBUG [c0954eb1] 	github.com/docker/buildx v0.12.1-desktop.4 6996841df2f61988c2794d84d33205368f96c317
  INFO [c0954eb1] Finished in 0.105 seconds with exit status 0 (successful).
The following paths have uncommitted changes:
 ?? bin/bootstrap
  INFO [b4745dae] Running docker buildx build --push --platform linux/amd64 --builder kamal-code-native-remote -t dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 -t dorianmariecom/code:latest --label service="code" --file Dockerfile . as dorianmariefr@localhost
 DEBUG [b4745dae] Command: docker buildx build --push --platform linux/amd64 --builder kamal-code-native-remote -t dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 -t dorianmariecom/code:latest --label service="code" --file Dockerfile .
 DEBUG [b4745dae] 	ERROR: no builder "kamal-code-native-remote" found
 ERROR Missing compatible builder, so creating a new one first
 DEBUG Using builder: native/remote
  INFO [c1db91ec] Running docker context create kamal-code-native-remote-amd64 --description 'kamal-code-native-remote amd64 native host' --docker 'host=' ; docker buildx create --name kamal-code-native-remote kamal-code-native-remote-amd64 --platform linux/amd64 as dorianmariefr@localhost
 DEBUG [c1db91ec] Command: docker context create kamal-code-native-remote-amd64 --description 'kamal-code-native-remote amd64 native host' --docker 'host=' ; docker buildx create --name kamal-code-native-remote kamal-code-native-remote-amd64 --platform linux/amd64
 DEBUG [c1db91ec] 	kamal-code-native-remote-amd64
 DEBUG [c1db91ec] 	Successfully created context "kamal-code-native-remote-amd64"
 DEBUG [c1db91ec] 	kamal-code-native-remote
  INFO [c1db91ec] Finished in 0.174 seconds with exit status 0 (successful).
  INFO [e9165516] Running docker buildx build --push --platform linux/amd64 --builder kamal-code-native-remote -t dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 -t dorianmariecom/code:latest --label service="code" --file Dockerfile . as dorianmariefr@localhost
 DEBUG [e9165516] Command: docker buildx build --push --platform linux/amd64 --builder kamal-code-native-remote -t dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 -t dorianmariecom/code:latest --label service="code" --file Dockerfile .
 DEBUG [e9165516] 	#0 building with "kamal-code-native-remote" instance using docker-container driver
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#1 [internal] load build definition from Dockerfile
 DEBUG [e9165516] 	#1 transferring dockerfile: 2.21kB done
 DEBUG [e9165516] 	#1 DONE 0.0s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#2 [auth] library/debian:pull token for registry-1.docker.io
 DEBUG [e9165516] 	#2 DONE 0.0s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#3 [internal] load metadata for docker.io/library/debian:bullseye-slim
 DEBUG [e9165516] 	#3 DONE 0.7s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#4 [internal] load .dockerignore
 DEBUG [e9165516] 	#4 transferring context: 328B done
 DEBUG [e9165516] 	#4 DONE 0.0s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#5 [base 1/5] FROM docker.io/library/debian:bullseye-slim@sha256:c6d9e246479d56687c1a579a7a0336956a5ce6f2bc26bd7925b0c7405e81dbff
 DEBUG [e9165516] 	#5 resolve docker.io/library/debian:bullseye-slim@sha256:c6d9e246479d56687c1a579a7a0336956a5ce6f2bc26bd7925b0c7405e81dbff done
 DEBUG [e9165516] 	#5 DONE 0.0s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#6 [internal] load build context
 DEBUG [e9165516] 	#6 transferring context: 18.51kB 0.1s done
 DEBUG [e9165516] 	#6 DONE 0.1s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#7 [base 3/5] RUN wget "https://github.com/postmodern/ruby-install/releases/download/v0.9.3/ruby-install-0.9.3.tar.gz"   && tar -xzvf "ruby-install-0.9.3.tar.gz"   && cd "ruby-install-0.9.3"   && make install
 DEBUG [e9165516] 	#7 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#8 [build 5/9] COPY package.json yarn.lock ./
 DEBUG [e9165516] 	#8 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#9 [base 4/5] RUN ruby-install -p https://github.com/ruby/ruby/pull/9371.diff ruby "3.3.0"
 DEBUG [e9165516] 	#9 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#10 [base 5/5] WORKDIR /rails
 DEBUG [e9165516] 	#10 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#11 [base 2/5] RUN apt-get update &&     apt-get install -y         autoconf         build-essential         curl         fish         git         libpq-dev         libvips         pandoc         pkg-config         postgresql-client         vim         wget
 DEBUG [e9165516] 	#11 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#12 [build 1/9] RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ &&     /tmp/node-build-master/bin/node-build "20.11.0" /usr/local/node &&     npm install -g "yarn@1.22.19" &&     rm -rf /tmp/node-build-master
 DEBUG [e9165516] 	#12 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#13 [build 3/9] RUN gem install bundler -v "2.5.5"
 DEBUG [e9165516] 	#13 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#14 [build 4/9] RUN bundle install &&     rm -rf ~/.bundle/ "/usr/local/bundle"/ruby/*/cache "/usr/local/bundle"/ruby/*/bundler/gems/*/.git &&     bundle exec bootsnap precompile --gemfile
 DEBUG [e9165516] 	#14 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#15 [build 2/9] COPY Gemfile Gemfile.lock ./
 DEBUG [e9165516] 	#15 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#16 [build 6/9] RUN yarn install --frozen-lockfile
 DEBUG [e9165516] 	#16 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#17 [build 7/9] COPY . .
 DEBUG [e9165516] 	#17 DONE 0.0s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#18 [build 8/9] RUN bundle exec bootsnap precompile app/ lib/
 DEBUG [e9165516] 	#18 DONE 0.5s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#19 [build 9/9] RUN HOST=example.com     BASE_URL=https://example.com     RAILS_MASTER_KEY_DUMMY=1     SECRET_KEY_BASE_DUMMY=1     ./bin/rails assets:precompile
 DEBUG [e9165516] 	#19 2.989 
 DEBUG [e9165516] 	#19 2.989 Rebuilding...
 DEBUG [e9165516] 	#19 3.997 
 DEBUG [e9165516] 	#19 3.997 Done in 1156ms.
 DEBUG [e9165516] 	#19 4.484 I, [2024-02-21T16:41:28.843720 #12]  INFO -- : Writing /rails/public/assets/manifest-7c370d9536d7d0d6a0f7cd7f9826692acd93e4fb05ba46f7b630b879740343d3.js
 DEBUG [e9165516] 	#19 4.484 I, [2024-02-21T16:41:28.844165 #12]  INFO -- : Writing /rails/public/assets/manifest-7c370d9536d7d0d6a0f7cd7f9826692acd93e4fb05ba46f7b630b879740343d3.js.gz
 DEBUG [e9165516] 	#19 4.485 I, [2024-02-21T16:41:28.844474 #12]  INFO -- : Writing /rails/public/assets/application.tailwind-75a1d53865acf7795698467d85cfaf06e566aba456ff4f35d80212cdb3a39e0e.css
 DEBUG [e9165516] 	#19 4.485 I, [2024-02-21T16:41:28.844761 #12]  INFO -- : Writing /rails/public/assets/application.tailwind-75a1d53865acf7795698467d85cfaf06e566aba456ff4f35d80212cdb3a39e0e.css.gz
 DEBUG [e9165516] 	#19 4.490 I, [2024-02-21T16:41:28.849962 #12]  INFO -- : Writing /rails/public/assets/espresso-c25ccbd23eb6fe6858a28f0bf815709c4d50f0aaa03e7c4e820867870a7441b4.css
 DEBUG [e9165516] 	#19 4.491 I, [2024-02-21T16:41:28.850384 #12]  INFO -- : Writing /rails/public/assets/espresso-c25ccbd23eb6fe6858a28f0bf815709c4d50f0aaa03e7c4e820867870a7441b4.css.gz
 DEBUG [e9165516] 	#19 4.491 I, [2024-02-21T16:41:28.851070 #12]  INFO -- : Writing /rails/public/assets/@googlemaps--js-api-loader-babaeca971159a726ff20a331a06e438d4dd3a5a37f698f7af8373baa2b6a9b9.js
 DEBUG [e9165516] 	#19 4.492 I, [2024-02-21T16:41:28.851637 #12]  INFO -- : Writing /rails/public/assets/@googlemaps--js-api-loader-babaeca971159a726ff20a331a06e438d4dd3a5a37f698f7af8373baa2b6a9b9.js.gz
 DEBUG [e9165516] 	#19 4.493 I, [2024-02-21T16:41:28.853078 #12]  INFO -- : Writing /rails/public/assets/@hotwired--stimulus-6f10efd7912b6ab8de023b31c1e6f13fe1b50b8eb3cceb9a84b76735139e39c7.js
 DEBUG [e9165516] 	#19 4.494 I, [2024-02-21T16:41:28.853825 #12]  INFO -- : Writing /rails/public/assets/@hotwired--stimulus-6f10efd7912b6ab8de023b31c1e6f13fe1b50b8eb3cceb9a84b76735139e39c7.js.gz
 DEBUG [e9165516] 	#19 4.495 I, [2024-02-21T16:41:28.854408 #12]  INFO -- : Writing /rails/public/assets/intl-tel-input--build--js--intlTelInput.js-ec3d7c01bf8cc0bddf0aab75f3d88a7aaa000b97366b66ab3df4bdd1303246db.js
 DEBUG [e9165516] 	#19 4.495 I, [2024-02-21T16:41:28.854871 #12]  INFO -- : Writing /rails/public/assets/intl-tel-input--build--js--intlTelInput.js-ec3d7c01bf8cc0bddf0aab75f3d88a7aaa000b97366b66ab3df4bdd1303246db.js.gz
 DEBUG [e9165516] 	#19 4.495 I, [2024-02-21T16:41:28.855294 #12]  INFO -- : Writing /rails/public/assets/intl-tel-input--build--js--utils-b83c5191e77b2b1544e14f2583b5db64d348ac316304f65440b8320e7942a086.js
 DEBUG [e9165516] 	#19 4.496 I, [2024-02-21T16:41:28.855687 #12]  INFO -- : Writing /rails/public/assets/intl-tel-input--build--js--utils-b83c5191e77b2b1544e14f2583b5db64d348ac316304f65440b8320e7942a086.js.gz
 DEBUG [e9165516] 	#19 4.496 I, [2024-02-21T16:41:28.856249 #12]  INFO -- : Writing /rails/public/assets/intl-tel-input-c2a23a067935e610fee144bb8c996e882a4687a182f424231473eabfe3ba4ac9.js
 DEBUG [e9165516] 	#19 4.497 I, [2024-02-21T16:41:28.856703 #12]  INFO -- : Writing /rails/public/assets/intl-tel-input-c2a23a067935e610fee144bb8c996e882a4687a182f424231473eabfe3ba4ac9.js.gz
 DEBUG [e9165516] 	#19 4.497 I, [2024-02-21T16:41:28.857123 #12]  INFO -- : Writing /rails/public/assets/stimulus-places-autocomplete-bc3786d859cff31595f404a54d7638f0cea330adc4b11eccd17e2ed6e393738a.js
 DEBUG [e9165516] 	#19 4.498 I, [2024-02-21T16:41:28.857633 #12]  INFO -- : Writing /rails/public/assets/stimulus-places-autocomplete-bc3786d859cff31595f404a54d7638f0cea330adc4b11eccd17e2ed6e393738a.js.gz
 DEBUG [e9165516] 	#19 4.498 I, [2024-02-21T16:41:28.858065 #12]  INFO -- : Writing /rails/public/assets/application-94478a3ee61b22a8d4cf0f93fe68e48a8c351b3a778f0087943a55a951b711c7.js
 DEBUG [e9165516] 	#19 4.500 I, [2024-02-21T16:41:28.859197 #12]  INFO -- : Writing /rails/public/assets/application-94478a3ee61b22a8d4cf0f93fe68e48a8c351b3a778f0087943a55a951b711c7.js.gz
 DEBUG [e9165516] 	#19 4.500 I, [2024-02-21T16:41:28.860039 #12]  INFO -- : Writing /rails/public/assets/constants-f14fbad12f205b5def0aa3c5b861b45fcecaaa9e1d0c6255a4a5f84339e06dd4.js
 DEBUG [e9165516] 	#19 4.501 I, [2024-02-21T16:41:28.860575 #12]  INFO -- : Writing /rails/public/assets/constants-f14fbad12f205b5def0aa3c5b861b45fcecaaa9e1d0c6255a4a5f84339e06dd4.js.gz
 DEBUG [e9165516] 	#19 4.501 I, [2024-02-21T16:41:28.861287 #12]  INFO -- : Writing /rails/public/assets/controllers/application-06af32b22232f71ffd5d881848a54c57eed131d391f24235b0e798ff547728c1.js
 DEBUG [e9165516] 	#19 4.502 I, [2024-02-21T16:41:28.861784 #12]  INFO -- : Writing /rails/public/assets/controllers/application-06af32b22232f71ffd5d881848a54c57eed131d391f24235b0e798ff547728c1.js.gz
 DEBUG [e9165516] 	#19 4.503 I, [2024-02-21T16:41:28.862393 #12]  INFO -- : Writing /rails/public/assets/controllers/domain_controller-558b1e919a3c56e2a2b35450d71c2e38f42cd3c020bebe4bfec136ddaf66753c.js
 DEBUG [e9165516] 	#19 4.503 I, [2024-02-21T16:41:28.862827 #12]  INFO -- : Writing /rails/public/assets/controllers/domain_controller-558b1e919a3c56e2a2b35450d71c2e38f42cd3c020bebe4bfec136ddaf66753c.js.gz
 DEBUG [e9165516] 	#19 4.503 I, [2024-02-21T16:41:28.863324 #12]  INFO -- : Writing /rails/public/assets/controllers/email_address_controller-76d2eeadfddaf3ca0057d19fce06355dcb26adfd8e198a447eab68d6f20cd51f.js
 DEBUG [e9165516] 	#19 4.504 I, [2024-02-21T16:41:28.863759 #12]  INFO -- : Writing /rails/public/assets/controllers/email_address_controller-76d2eeadfddaf3ca0057d19fce06355dcb26adfd8e198a447eab68d6f20cd51f.js.gz
 DEBUG [e9165516] 	#19 4.504 I, [2024-02-21T16:41:28.864266 #12]  INFO -- : Writing /rails/public/assets/controllers/email_addresses_controller-1c3d99d4d7e359f1f5b162a6d8d6c8b44fa9aa40b203389b517d641db2dcc53f.js
 DEBUG [e9165516] 	#19 4.505 I, [2024-02-21T16:41:28.864666 #12]  INFO -- : Writing /rails/public/assets/controllers/email_addresses_controller-1c3d99d4d7e359f1f5b162a6d8d6c8b44fa9aa40b203389b517d641db2dcc53f.js.gz
 DEBUG [e9165516] 	#19 4.505 I, [2024-02-21T16:41:28.865146 #12]  INFO -- : Writing /rails/public/assets/controllers/index-52c21e50c0095a86168fed037adabb5c58dd956d56c13b0c1b3ecdbe761f0400.js
 DEBUG [e9165516] 	#19 4.506 I, [2024-02-21T16:41:28.865761 #12]  INFO -- : Writing /rails/public/assets/controllers/index-52c21e50c0095a86168fed037adabb5c58dd956d56c13b0c1b3ecdbe761f0400.js.gz
 DEBUG [e9165516] 	#19 4.506 I, [2024-02-21T16:41:28.866175 #12]  INFO -- : Writing /rails/public/assets/controllers/location_controller-9e925004a38dc703a6e31a70b1edfc047f9889982a0d6c0e8b1e215d4a31e0c8.js
 DEBUG [e9165516] 	#19 4.507 I, [2024-02-21T16:41:28.866659 #12]  INFO -- : Writing /rails/public/assets/controllers/location_controller-9e925004a38dc703a6e31a70b1edfc047f9889982a0d6c0e8b1e215d4a31e0c8.js.gz
 DEBUG [e9165516] 	#19 4.507 I, [2024-02-21T16:41:28.867122 #12]  INFO -- : Writing /rails/public/assets/controllers/name_controller-caba1b020bf78b37e34c4da39a997384db08eb2c070288544e514fd4c7dbb055.js
 DEBUG [e9165516] 	#19 4.508 I, [2024-02-21T16:41:28.867534 #12]  INFO -- : Writing /rails/public/assets/controllers/name_controller-caba1b020bf78b37e34c4da39a997384db08eb2c070288544e514fd4c7dbb055.js.gz
 DEBUG [e9165516] 	#19 4.508 I, [2024-02-21T16:41:28.868080 #12]  INFO -- : Writing /rails/public/assets/controllers/password_controller-ee89075bdd7e618ddd34187e1b3e46f0b8780d7176a33bdf9371c25dc4e3a704.js
 DEBUG [e9165516] 	#19 4.509 I, [2024-02-21T16:41:28.868452 #12]  INFO -- : Writing /rails/public/assets/controllers/password_controller-ee89075bdd7e618ddd34187e1b3e46f0b8780d7176a33bdf9371c25dc4e3a704.js.gz
 DEBUG [e9165516] 	#19 4.509 I, [2024-02-21T16:41:28.868823 #12]  INFO -- : Writing /rails/public/assets/controllers/passwords_controller-eeff87cb2052b40578d435b0740434ee7993e6fca56ddb7a86b357071aceece3.js
 DEBUG [e9165516] 	#19 4.509 I, [2024-02-21T16:41:28.869205 #12]  INFO -- : Writing /rails/public/assets/controllers/passwords_controller-eeff87cb2052b40578d435b0740434ee7993e6fca56ddb7a86b357071aceece3.js.gz
 DEBUG [e9165516] 	#19 4.510 I, [2024-02-21T16:41:28.869644 #12]  INFO -- : Writing /rails/public/assets/controllers/phone_number_controller-ea905843cf4e713331ddcfcde195c26d16c8a8416b6f92101cc019112e2da5de.js
 DEBUG [e9165516] 	#19 4.510 I, [2024-02-21T16:41:28.870026 #12]  INFO -- : Writing /rails/public/assets/controllers/phone_number_controller-ea905843cf4e713331ddcfcde195c26d16c8a8416b6f92101cc019112e2da5de.js.gz
 DEBUG [e9165516] 	#19 4.511 I, [2024-02-21T16:41:28.870488 #12]  INFO -- : Writing /rails/public/assets/controllers/phone_numbers_controller-0ef11d58f4ad7f44c32d7b74ed6771fbef06a1309e7f2e1eca7c86727d650ea3.js
 DEBUG [e9165516] 	#19 4.511 I, [2024-02-21T16:41:28.870792 #12]  INFO -- : Writing /rails/public/assets/controllers/phone_numbers_controller-0ef11d58f4ad7f44c32d7b74ed6771fbef06a1309e7f2e1eca7c86727d650ea3.js.gz
 DEBUG [e9165516] 	#19 4.511 I, [2024-02-21T16:41:28.871239 #12]  INFO -- : Writing /rails/public/assets/controllers/prompt_controller-ec8b0b92d2c9cbfb2ddc7c65b1d2d336b18a4724e8740169f16f387b22a71147.js
 DEBUG [e9165516] 	#19 4.512 I, [2024-02-21T16:41:28.871793 #12]  INFO -- : Writing /rails/public/assets/controllers/prompt_controller-ec8b0b92d2c9cbfb2ddc7c65b1d2d336b18a4724e8740169f16f387b22a71147.js.gz
 DEBUG [e9165516] 	#19 4.513 I, [2024-02-21T16:41:28.872454 #12]  INFO -- : Writing /rails/public/assets/controllers/smtp_accounts_controller-5ccb024bebc8fc13461d66cd3ffdac13b1ff9dee46fffe0a17aa7f52ebbeeea4.js
 DEBUG [e9165516] 	#19 4.513 I, [2024-02-21T16:41:28.872933 #12]  INFO -- : Writing /rails/public/assets/controllers/smtp_accounts_controller-5ccb024bebc8fc13461d66cd3ffdac13b1ff9dee46fffe0a17aa7f52ebbeeea4.js.gz
 DEBUG [e9165516] 	#19 4.514 I, [2024-02-21T16:41:28.873458 #12]  INFO -- : Writing /rails/public/assets/controllers/time_zone_controller-22a111338096bd8b0a7312822c677308467e1a3975f30f7a585379f6b1299e21.js
 DEBUG [e9165516] 	#19 4.514 I, [2024-02-21T16:41:28.873920 #12]  INFO -- : Writing /rails/public/assets/controllers/time_zone_controller-22a111338096bd8b0a7312822c677308467e1a3975f30f7a585379f6b1299e21.js.gz
 DEBUG [e9165516] 	#19 4.515 I, [2024-02-21T16:41:28.874392 #12]  INFO -- : Writing /rails/public/assets/controllers/verification_code_controller-b486a98c6200bec9f1f9839c2a21ff79696e4a22cf3d42400799c50e49842137.js
 DEBUG [e9165516] 	#19 4.515 I, [2024-02-21T16:41:28.874853 #12]  INFO -- : Writing /rails/public/assets/controllers/verification_code_controller-b486a98c6200bec9f1f9839c2a21ff79696e4a22cf3d42400799c50e49842137.js.gz
 DEBUG [e9165516] 	#19 4.516 I, [2024-02-21T16:41:28.875372 #12]  INFO -- : Writing /rails/public/assets/debounce-17811262d143709ef5b4f4fa24fddc56e9b95afbbb7f1e08b9d3b4d084f27f53.js
 DEBUG [e9165516] 	#19 4.516 I, [2024-02-21T16:41:28.875860 #12]  INFO -- : Writing /rails/public/assets/debounce-17811262d143709ef5b4f4fa24fddc56e9b95afbbb7f1e08b9d3b4d084f27f53.js.gz
 DEBUG [e9165516] 	#19 4.517 I, [2024-02-21T16:41:28.876492 #12]  INFO -- : Writing /rails/public/assets/i18n-5b0800ebc0a40b042b0b19ed6beeeae80a39eb79ac42f39d1318b8fa9b5e5c06.js
 DEBUG [e9165516] 	#19 4.517 I, [2024-02-21T16:41:28.876987 #12]  INFO -- : Writing /rails/public/assets/i18n-5b0800ebc0a40b042b0b19ed6beeeae80a39eb79ac42f39d1318b8fa9b5e5c06.js.gz
 DEBUG [e9165516] 	#19 4.518 I, [2024-02-21T16:41:28.877420 #12]  INFO -- : Writing /rails/public/assets/tailwind-8cf1b837ca3ad280daf84522995428baaab67fc7f78f3dd2b858168b96e75b5a.css
 DEBUG [e9165516] 	#19 4.518 I, [2024-02-21T16:41:28.877784 #12]  INFO -- : Writing /rails/public/assets/tailwind-8cf1b837ca3ad280daf84522995428baaab67fc7f78f3dd2b858168b96e75b5a.css.gz
 DEBUG [e9165516] 	#19 4.518 I, [2024-02-21T16:41:28.878226 #12]  INFO -- : Writing /rails/public/assets/turbo-4f46ddb606dda9fe8893f692e2819e99649a2a4fc265509687f7c1fe42e85d06.js
 DEBUG [e9165516] 	#19 4.519 I, [2024-02-21T16:41:28.878877 #12]  INFO -- : Writing /rails/public/assets/turbo-4f46ddb606dda9fe8893f692e2819e99649a2a4fc265509687f7c1fe42e85d06.js.gz
 DEBUG [e9165516] 	#19 4.519 I, [2024-02-21T16:41:28.879315 #12]  INFO -- : Writing /rails/public/assets/turbo.min-e3026f1f5beb4b57864e21cc014adcacddc0adf7c7d0dc98f110857f119a546f.js
 DEBUG [e9165516] 	#19 4.520 I, [2024-02-21T16:41:28.879743 #12]  INFO -- : Writing /rails/public/assets/turbo.min-e3026f1f5beb4b57864e21cc014adcacddc0adf7c7d0dc98f110857f119a546f.js.gz
 DEBUG [e9165516] 	#19 4.520 I, [2024-02-21T16:41:28.880177 #12]  INFO -- : Writing /rails/public/assets/turbo.min.js-a4e8ce928459d88086530d697a2d976226299f1205b17d8ab1fb9d9391accbad.map
 DEBUG [e9165516] 	#19 4.521 I, [2024-02-21T16:41:28.880614 #12]  INFO -- : Writing /rails/public/assets/turbo.min.js-a4e8ce928459d88086530d697a2d976226299f1205b17d8ab1fb9d9391accbad.map.gz
 DEBUG [e9165516] 	#19 4.521 I, [2024-02-21T16:41:28.881039 #12]  INFO -- : Writing /rails/public/assets/actiontext-783b29acc3094173a9febe49f85da17cda5aff1b64848e1e6783506d936d369f.js
 DEBUG [e9165516] 	#19 4.522 I, [2024-02-21T16:41:28.881627 #12]  INFO -- : Writing /rails/public/assets/actiontext-783b29acc3094173a9febe49f85da17cda5aff1b64848e1e6783506d936d369f.js.gz
 DEBUG [e9165516] 	#19 4.522 I, [2024-02-21T16:41:28.881963 #12]  INFO -- : Writing /rails/public/assets/actiontext.esm-70ef52276a10da20095aafff6174da151e418f451c15b91bef296fe8c420eb33.js
 DEBUG [e9165516] 	#19 4.523 I, [2024-02-21T16:41:28.882695 #12]  INFO -- : Writing /rails/public/assets/actiontext.esm-70ef52276a10da20095aafff6174da151e418f451c15b91bef296fe8c420eb33.js.gz
 DEBUG [e9165516] 	#19 4.524 I, [2024-02-21T16:41:28.883315 #12]  INFO -- : Writing /rails/public/assets/trix-002e5eae721158e094d869af0498141a4b6f1357b44736502852bd2141e442d5.js
 DEBUG [e9165516] 	#19 4.525 I, [2024-02-21T16:41:28.884448 #12]  INFO -- : Writing /rails/public/assets/trix-002e5eae721158e094d869af0498141a4b6f1357b44736502852bd2141e442d5.js.gz
 DEBUG [e9165516] 	#19 4.526 I, [2024-02-21T16:41:28.885134 #12]  INFO -- : Writing /rails/public/assets/trix-ea59aa746f39eb84602702597b7ed384ddc21f763439d54f811b3845020b6482.css
 DEBUG [e9165516] 	#19 4.527 I, [2024-02-21T16:41:28.887128 #12]  INFO -- : Writing /rails/public/assets/trix-ea59aa746f39eb84602702597b7ed384ddc21f763439d54f811b3845020b6482.css.gz
 DEBUG [e9165516] 	#19 4.528 I, [2024-02-21T16:41:28.887822 #12]  INFO -- : Writing /rails/public/assets/mission_control_jobs_manifest-545c38b0922de19734fbffde62792c37c2aef6a3216cfa472449173165220f7d.js
 DEBUG [e9165516] 	#19 4.529 I, [2024-02-21T16:41:28.889094 #12]  INFO -- : Writing /rails/public/assets/mission_control_jobs_manifest-545c38b0922de19734fbffde62792c37c2aef6a3216cfa472449173165220f7d.js.gz
 DEBUG [e9165516] 	#19 4.530 I, [2024-02-21T16:41:28.889778 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/application-7cefc30a1ac7d55532dbd27b3d7e89de7ab85c715c0783ee0ae33cbbff4f181c.css
 DEBUG [e9165516] 	#19 4.531 I, [2024-02-21T16:41:28.890881 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/application-7cefc30a1ac7d55532dbd27b3d7e89de7ab85c715c0783ee0ae33cbbff4f181c.css.gz
 DEBUG [e9165516] 	#19 4.533 I, [2024-02-21T16:41:28.892303 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/forms-8a1c3baf1dd49290f3f880b914af256ae6ea798d53c0491bbf5383359ac94861.css
 DEBUG [e9165516] 	#19 4.533 I, [2024-02-21T16:41:28.893099 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/forms-8a1c3baf1dd49290f3f880b914af256ae6ea798d53c0491bbf5383359ac94861.css.gz
 DEBUG [e9165516] 	#19 4.534 I, [2024-02-21T16:41:28.893409 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/jobs-3b60c6c530f0700603ca5d438e705df5b02702a5ee9bce577da844dd5ac16439.css
 DEBUG [e9165516] 	#19 4.535 I, [2024-02-21T16:41:28.894565 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/jobs-3b60c6c530f0700603ca5d438e705df5b02702a5ee9bce577da844dd5ac16439.css.gz
 DEBUG [e9165516] 	#19 4.535 I, [2024-02-21T16:41:28.895294 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/application-b1747dc64f4c028f00464f96e162721aef0e5084d2f8108eafb2e372d7a18c68.js
 DEBUG [e9165516] 	#19 4.537 I, [2024-02-21T16:41:28.896297 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/application-b1747dc64f4c028f00464f96e162721aef0e5084d2f8108eafb2e372d7a18c68.js.gz
 DEBUG [e9165516] 	#19 4.537 I, [2024-02-21T16:41:28.896909 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/controllers/application-f72b4b4dc43a99ef6a247d3de06025f15a3b4c6f37d35327ae42c5ac7c00cd08.js
 DEBUG [e9165516] 	#19 4.538 I, [2024-02-21T16:41:28.897823 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/controllers/application-f72b4b4dc43a99ef6a247d3de06025f15a3b4c6f37d35327ae42c5ac7c00cd08.js.gz
 DEBUG [e9165516] 	#19 4.540 I, [2024-02-21T16:41:28.898491 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/controllers/form_controller-2d8bb800f4151349f1377702472d4dcaa36eda2546d3d1ec251682bfb79f9e38.js
 DEBUG [e9165516] 	#19 4.540 I, [2024-02-21T16:41:28.898895 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/controllers/form_controller-2d8bb800f4151349f1377702472d4dcaa36eda2546d3d1ec251682bfb79f9e38.js.gz
 DEBUG [e9165516] 	#19 4.540 I, [2024-02-21T16:41:28.899235 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/controllers/index-248457f421c2ac75ba304921a4b9352d7cce55edfd33304c3d2de8f4b959352c.js
 DEBUG [e9165516] 	#19 4.540 I, [2024-02-21T16:41:28.899460 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/controllers/index-248457f421c2ac75ba304921a4b9352d7cce55edfd33304c3d2de8f4b959352c.js.gz
 DEBUG [e9165516] 	#19 4.540 I, [2024-02-21T16:41:28.900163 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/helpers/debounce_helpers-0df0fb2a58a98c8093b693bb2485809adb84de353a091187658929f5a90f504e.js
 DEBUG [e9165516] 	#19 4.541 I, [2024-02-21T16:41:28.901049 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/helpers/debounce_helpers-0df0fb2a58a98c8093b693bb2485809adb84de353a091187658929f5a90f504e.js.gz
 DEBUG [e9165516] 	#19 4.543 I, [2024-02-21T16:41:28.902429 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/helpers/index-abe37fd247f3dc562e2d76ae8f6da0c6591b0dbf3a82f71eef3ecb89590fda8c.js
 DEBUG [e9165516] 	#19 4.543 I, [2024-02-21T16:41:28.903148 #12]  INFO -- : Writing /rails/public/assets/mission_control/jobs/helpers/index-abe37fd247f3dc562e2d76ae8f6da0c6591b0dbf3a82f71eef3ecb89590fda8c.js.gz
 DEBUG [e9165516] 	#19 4.544 I, [2024-02-21T16:41:28.903679 #12]  INFO -- : Writing /rails/public/assets/stimulus-0e44df7d576be95af610c9b72f710a4c48bf94bbe3bff88a410e9a860dc28fb1.js
 DEBUG [e9165516] 	#19 4.545 I, [2024-02-21T16:41:28.904324 #12]  INFO -- : Writing /rails/public/assets/stimulus-0e44df7d576be95af610c9b72f710a4c48bf94bbe3bff88a410e9a860dc28fb1.js.gz
 DEBUG [e9165516] 	#19 4.545 I, [2024-02-21T16:41:28.904898 #12]  INFO -- : Writing /rails/public/assets/stimulus-autoloader-ee02d97de413bf7535c3790270aa94068c431ed34290f59ef31eaf9dda66b293.js
 DEBUG [e9165516] 	#19 4.546 I, [2024-02-21T16:41:28.905366 #12]  INFO -- : Writing /rails/public/assets/stimulus-autoloader-ee02d97de413bf7535c3790270aa94068c431ed34290f59ef31eaf9dda66b293.js.gz
 DEBUG [e9165516] 	#19 4.546 I, [2024-02-21T16:41:28.906086 #12]  INFO -- : Writing /rails/public/assets/stimulus-importmap-autoloader-758f8d5ba9130adaeca041adb97bc02c85cf54c92e77a731a56042ebfa02c064.js
 DEBUG [e9165516] 	#19 4.547 I, [2024-02-21T16:41:28.906517 #12]  INFO -- : Writing /rails/public/assets/stimulus-importmap-autoloader-758f8d5ba9130adaeca041adb97bc02c85cf54c92e77a731a56042ebfa02c064.js.gz
 DEBUG [e9165516] 	#19 4.547 I, [2024-02-21T16:41:28.907174 #12]  INFO -- : Writing /rails/public/assets/stimulus-loading-d80f0feea68692981b568bbfef0ed4370b56927ae5c663421e8461a466f0618f.js
 DEBUG [e9165516] 	#19 4.548 I, [2024-02-21T16:41:28.908188 #12]  INFO -- : Writing /rails/public/assets/stimulus-loading-d80f0feea68692981b568bbfef0ed4370b56927ae5c663421e8461a466f0618f.js.gz
 DEBUG [e9165516] 	#19 4.549 I, [2024-02-21T16:41:28.908902 #12]  INFO -- : Writing /rails/public/assets/stimulus.min-9ee583d7d64bfaf202b0cf48971a673d9ed18952ae7927c50015649aebe535b6.js
 DEBUG [e9165516] 	#19 4.550 I, [2024-02-21T16:41:28.909381 #12]  INFO -- : Writing /rails/public/assets/stimulus.min-9ee583d7d64bfaf202b0cf48971a673d9ed18952ae7927c50015649aebe535b6.js.gz
 DEBUG [e9165516] 	#19 4.550 I, [2024-02-21T16:41:28.910235 #12]  INFO -- : Writing /rails/public/assets/stimulus-autoloader-ee02d97de413bf7535c3790270aa94068c431ed34290f59ef31eaf9dda66b293.js.gz
 DEBUG [e9165516] 	#19 4.551 I, [2024-02-21T16:41:28.911119 #12]  INFO -- : Writing /rails/public/assets/stimulus-importmap-autoloader-758f8d5ba9130adaeca041adb97bc02c85cf54c92e77a731a56042ebfa02c064.js.gz
 DEBUG [e9165516] 	#19 4.552 I, [2024-02-21T16:41:28.911912 #12]  INFO -- : Writing /rails/public/assets/stimulus-loading-d80f0feea68692981b568bbfef0ed4370b56927ae5c663421e8461a466f0618f.js.gz
 DEBUG [e9165516] 	#19 4.553 I, [2024-02-21T16:41:28.912421 #12]  INFO -- : Writing /rails/public/assets/stimulus.min.js-3d0f7c81c69552e842a7a822e8ba2b65e9f9b1a72f2faf1e29a4a9e351a555c5.map
 DEBUG [e9165516] 	#19 4.553 I, [2024-02-21T16:41:28.913019 #12]  INFO -- : Writing /rails/public/assets/stimulus.min.js-3d0f7c81c69552e842a7a822e8ba2b65e9f9b1a72f2faf1e29a4a9e351a555c5.map.gz
 DEBUG [e9165516] 	#19 4.554 I, [2024-02-21T16:41:28.913686 #12]  INFO -- : Writing /rails/public/assets/inter-font-c2ddab218623d7492890cfad22b9b8365df63dc39799a4d72a04c1b6a9ba0f73.css
 DEBUG [e9165516] 	#19 4.554 I, [2024-02-21T16:41:28.914261 #12]  INFO -- : Writing /rails/public/assets/inter-font-c2ddab218623d7492890cfad22b9b8365df63dc39799a4d72a04c1b6a9ba0f73.css.gz
 DEBUG [e9165516] 	#19 4.555 I, [2024-02-21T16:41:28.914835 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.extra.var-54a99c4a2dca69b4356bf0407224110492a0b4d0caea1c93658edef3a5a56e6d.woff2
 DEBUG [e9165516] 	#19 4.556 I, [2024-02-21T16:41:28.916004 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.alternates.var-54a99c4a2dca69b4356bf0407224110492a0b4d0caea1c93658edef3a5a56e6d.woff2
 DEBUG [e9165516] 	#19 4.558 I, [2024-02-21T16:41:28.917432 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.symbols.var-f20bf105e9edaf8c5948d264a18f5ad13c79085ecc5f04ea012a855806e1d5c6.woff2
 DEBUG [e9165516] 	#19 4.559 I, [2024-02-21T16:41:28.918610 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.cyrillic.var-1deacbca55dc4559581f923a9b0bea1ffa487b116a6ebbf958c84fc5b0e514c2.woff2
 DEBUG [e9165516] 	#19 4.560 I, [2024-02-21T16:41:28.920062 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.greek.var-04b97a1b1cb6e38d0ba8162a4b3b777e7463cc06b6de14073ed406ff8bd3b907.woff2
 DEBUG [e9165516] 	#19 4.561 I, [2024-02-21T16:41:28.920817 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.vietnamese.var-bf499e59a3ff4514046894435941bcb5f962abcb8830b301f980de88eb244c28.woff2
 DEBUG [e9165516] 	#19 4.562 I, [2024-02-21T16:41:28.921398 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.latin-ext.var-e5355b282593b8dc56703c15e77f04f9b21e46cf058967ea7a24ae729f8a906a.woff2
 DEBUG [e9165516] 	#19 4.562 I, [2024-02-21T16:41:28.921957 #12]  INFO -- : Writing /rails/public/assets/Inter-italic.latin.var-10436356e09a40415e6baa311d86c5cb40817661361cc32832aff5f543cb19d2.woff2
 DEBUG [e9165516] 	#19 4.563 I, [2024-02-21T16:41:28.922445 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.extra.var-767156afdb2f017f6a991f134468fca6a7b5735b66c3b88a3d462dbf0ac422bb.woff2
 DEBUG [e9165516] 	#19 4.563 I, [2024-02-21T16:41:28.922945 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.alternates.var-767156afdb2f017f6a991f134468fca6a7b5735b66c3b88a3d462dbf0ac422bb.woff2
 DEBUG [e9165516] 	#19 4.564 I, [2024-02-21T16:41:28.923430 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.symbols.var-61d7aebe86f365a4a76ebee6881b551af70df604d4edd5d8730ea54cc6a6286a.woff2
 DEBUG [e9165516] 	#19 4.564 I, [2024-02-21T16:41:28.923898 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.cyrillic.var-1b95e5893a8f19de4da502401f544ecffe7ee4e0499400433936f45efb174500.woff2
 DEBUG [e9165516] 	#19 4.565 I, [2024-02-21T16:41:28.924424 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.greek.var-6d79d5913cf83e9a0634e1e0d77cd4d7f54a2201738d021de39d468698626cf4.woff2
 DEBUG [e9165516] 	#19 4.565 I, [2024-02-21T16:41:28.924848 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.vietnamese.var-042a637f47e2d7211b43737f7f7db3543ef1e8cee09afb2c435084c131b6c970.woff2
 DEBUG [e9165516] 	#19 4.565 I, [2024-02-21T16:41:28.925331 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.latin-ext.var-41f9c069fbca1d0b2c056c145b1b7cd3e3d72c2eb8c96ae60416e85c62c01b0d.woff2
 DEBUG [e9165516] 	#19 4.566 I, [2024-02-21T16:41:28.925916 #12]  INFO -- : Writing /rails/public/assets/Inter-roman.latin.var-5156501c82759bb0891d4a37c4eb6bce023623d762572a946c56a17d8ae37bd8.woff2
 DEBUG [e9165516] 	#19 4.567 I, [2024-02-21T16:41:28.926663 #12]  INFO -- : Writing /rails/public/assets/activestorage-7dbadea816242c6d03cc2f59c58398ab55bb9a70ee859fa962ad4c7ad4c48594.js
 DEBUG [e9165516] 	#19 4.567 I, [2024-02-21T16:41:28.927092 #12]  INFO -- : Writing /rails/public/assets/activestorage-7dbadea816242c6d03cc2f59c58398ab55bb9a70ee859fa962ad4c7ad4c48594.js.gz
 DEBUG [e9165516] 	#19 4.568 I, [2024-02-21T16:41:28.927410 #12]  INFO -- : Writing /rails/public/assets/activestorage.esm-b2d9aa45888a540d7e6969e484dbdb0a0a501ff56542ce737db6599b311e3385.js
 DEBUG [e9165516] 	#19 4.568 I, [2024-02-21T16:41:28.927681 #12]  INFO -- : Writing /rails/public/assets/activestorage.esm-b2d9aa45888a540d7e6969e484dbdb0a0a501ff56542ce737db6599b311e3385.js.gz
 DEBUG [e9165516] 	#19 4.568 I, [2024-02-21T16:41:28.928024 #12]  INFO -- : Writing /rails/public/assets/actioncable-f0490c32390fb02c47329ba170d73b19a03c8826972f8b8614bd6c68d30013e7.js
 DEBUG [e9165516] 	#19 4.569 I, [2024-02-21T16:41:28.928370 #12]  INFO -- : Writing /rails/public/assets/actioncable-f0490c32390fb02c47329ba170d73b19a03c8826972f8b8614bd6c68d30013e7.js.gz
 DEBUG [e9165516] 	#19 4.569 I, [2024-02-21T16:41:28.928628 #12]  INFO -- : Writing /rails/public/assets/actioncable.esm-38486a8bafa79ea79e7e1b309e708d25430292585aa616f977166de144c1c303.js
 DEBUG [e9165516] 	#19 4.569 I, [2024-02-21T16:41:28.928983 #12]  INFO -- : Writing /rails/public/assets/actioncable.esm-38486a8bafa79ea79e7e1b309e708d25430292585aa616f977166de144c1c303.js.gz
 DEBUG [e9165516] 	#19 DONE 4.6s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#20 [stage-2 1/3] COPY --from=build /usr/local/bundle /usr/local/bundle
 DEBUG [e9165516] 	#20 CACHED
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#21 [stage-2 2/3] COPY --from=build /rails /rails
 DEBUG [e9165516] 	#21 DONE 0.6s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#22 [stage-2 3/3] RUN useradd rails --create-home --shell /bin/bash &&     chown -R rails:rails db log storage tmp
 DEBUG [e9165516] 	#22 DONE 3.2s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#23 exporting to image
 DEBUG [e9165516] 	#23 exporting layers
 DEBUG [e9165516] 	#23 exporting layers 3.7s done
 DEBUG [e9165516] 	#23 ...
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#24 [auth] dorianmariecom/code:pull,push token for registry-1.docker.io
 DEBUG [e9165516] 	#24 DONE 0.0s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	#23 exporting to image
 DEBUG [e9165516] 	#23 exporting manifest sha256:5b7231a1ace14e157d682a6e8f7818290587d9238469a1a5d298a75d8c57e967 done
 DEBUG [e9165516] 	#23 exporting config sha256:3b286a2718db8c52253285b655e080ff052316ab6941c74256509915e45abd1a done
 DEBUG [e9165516] 	#23 exporting attestation manifest sha256:bb537cacfb6d339082135c72d787b5cdef5a9d122d0b162160c997b39fddd4ac done
 DEBUG [e9165516] 	#23 exporting manifest list sha256:08e0707758dc63233e47ace973c0d5afcf48569a77290eaf25e2c6680f36518c done
 DEBUG [e9165516] 	#23 pushing layers
 DEBUG [e9165516] 	#23 pushing layers 7.5s done
 DEBUG [e9165516] 	#23 pushing manifest for docker.io/dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7@sha256:08e0707758dc63233e47ace973c0d5afcf48569a77290eaf25e2c6680f36518c
 DEBUG [e9165516] 	#23 pushing manifest for docker.io/dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7@sha256:08e0707758dc63233e47ace973c0d5afcf48569a77290eaf25e2c6680f36518c 1.4s done
 DEBUG [e9165516] 	#23 pushing layers 1.0s done
 DEBUG [e9165516] 	#23 pushing manifest for docker.io/dorianmariecom/code:latest@sha256:08e0707758dc63233e47ace973c0d5afcf48569a77290eaf25e2c6680f36518c
 DEBUG [e9165516] 	#23 pushing manifest for docker.io/dorianmariecom/code:latest@sha256:08e0707758dc63233e47ace973c0d5afcf48569a77290eaf25e2c6680f36518c 0.7s done
 DEBUG [e9165516] 	#23 DONE 14.4s
 DEBUG [e9165516] 	
 DEBUG [e9165516] 	View build details: docker-desktop://dashboard/build/kamal-code-native-remote/kamal-code-native-remote0/uucgpwvza0hnigyu2hkrltc1u
  INFO [e9165516] Finished in 26.210 seconds with exit status 0 (successful).
 DEBUG [dc65a4b1] Running /usr/bin/env echo [2024-02-21T16:41:49Z] [dorianmariefr] Pulled image with version 6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 >> .kamal/code-audit.log on 45.55.196.152
 DEBUG [dc65a4b1] Command: /usr/bin/env echo [2024-02-21T16:41:49Z] [dorianmariefr] Pulled image with version 6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 >> .kamal/code-audit.log
 DEBUG [dc65a4b1] Finished in 0.263 seconds with exit status 0 (successful).
  INFO [cf0a24c5] Running docker image rm --force dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 on 45.55.196.152
 DEBUG [cf0a24c5] Command: docker image rm --force dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7
 DEBUG [cf0a24c5] 	Error response from daemon: No such image: dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7
  INFO [cf0a24c5] Finished in 0.331 seconds with exit status 0 (successful).
  INFO [2f57bab4] Running docker pull dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 on 45.55.196.152
 DEBUG [2f57bab4] Command: docker pull dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7
 DEBUG [2f57bab4] 	6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7: 
 DEBUG [2f57bab4] 	Pulling from dorianmariecom/code
 DEBUG [2f57bab4] 	5d0aeceef7ee: 
 DEBUG [2f57bab4] 	Already exists
 DEBUG [2f57bab4] 	09f38cdef34a: 
 DEBUG [2f57bab4] 	Already exists
 DEBUG [2f57bab4] 	b5998bbf917e: 
 DEBUG [2f57bab4] 	Already exists
 DEBUG [2f57bab4] 	c4d66b4867db: 
 DEBUG [2f57bab4] 	Already exists
 DEBUG [2f57bab4] 	3d7a2dfc5099: 
 DEBUG [2f57bab4] 	Already exists
 DEBUG [2f57bab4] 	e96bfddc06d6: 
 DEBUG [2f57bab4] 	Already exists
 DEBUG [2f57bab4] 	b170829be834: 
 DEBUG [2f57bab4] 	Pulling fs layer
 DEBUG [2f57bab4] 	41bc123d6055: 
 DEBUG [2f57bab4] 	Pulling fs layer
 DEBUG [2f57bab4] 	41bc123d6055: 
 DEBUG [2f57bab4] 	Verifying Checksum
 DEBUG [2f57bab4] 	41bc123d6055: 
 DEBUG [2f57bab4] 	Download complete
 DEBUG [2f57bab4] 	b170829be834: 
 DEBUG [2f57bab4] 	Verifying Checksum
 DEBUG [2f57bab4] 	b170829be834: 
 DEBUG [2f57bab4] 	Download complete
 DEBUG [2f57bab4] 	b170829be834: 
 DEBUG [2f57bab4] 	Pull complete
 DEBUG [2f57bab4] 	41bc123d6055: 
 DEBUG [2f57bab4] 	Pull complete
 DEBUG [2f57bab4] 	Digest: sha256:08e0707758dc63233e47ace973c0d5afcf48569a77290eaf25e2c6680f36518c
 DEBUG [2f57bab4] 	Status: Downloaded newer image for dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7
 DEBUG [2f57bab4] 	docker.io/dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7
  INFO [2f57bab4] Finished in 14.072 seconds with exit status 0 (successful).
  INFO [4a2a6dc7] Running docker inspect -f '{{ .Config.Labels.service }}' dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 | grep -x code || (echo "Image dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 is missing the `service` label" && exit 1) on 45.55.196.152
 DEBUG [4a2a6dc7] Command: docker inspect -f '{{ .Config.Labels.service }}' dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 | grep -x code || (echo "Image dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 is missing the `service` label" && exit 1)
 DEBUG [4a2a6dc7] 	code
  INFO [4a2a6dc7] Finished in 0.341 seconds with exit status 0 (successful).
Ensure Traefik is running...
  INFO [45ec5cd9] Running docker login -u [REDACTED] -p [REDACTED] on 45.55.196.152
 DEBUG [45ec5cd9] Command: docker login -u [REDACTED] -p [REDACTED]
 DEBUG [45ec5cd9] 	WARNING! Using --password via the CLI is insecure. Use --password-stdin.
 DEBUG [45ec5cd9] 	WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

 DEBUG [45ec5cd9] 	Login Succeeded
  INFO [45ec5cd9] Finished in 0.475 seconds with exit status 0 (successful).
  INFO [751f737b] Running docker container start traefik || docker run --name traefik --detach --restart unless-stopped --publish 80:80 --volume /var/run/docker.sock:/var/run/docker.sock --env-file .kamal/env/traefik/traefik.env --log-opt max-size="10m" --label traefik.http.routers.catchall.entryPoints="http" --label traefik.http.routers.catchall.rule="PathPrefix(\`/\`)" --label traefik.http.routers.catchall.service="unavailable" --label traefik.http.routers.catchall.priority="1" --label traefik.http.services.unavailable.loadbalancer.server.port="0" --publish "443:443" --volume "/letsencrypt/acme.json:/letsencrypt/acme.json" traefik:v2.9 --providers.docker --log.level="DEBUG" --entryPoints.web.address=":80" --entryPoints.websecure.address=":443" --entryPoints.web.http.redirections.entryPoint.to="websecure" --entryPoints.web.http.redirections.entryPoint.scheme="https" --entryPoints.web.http.redirections.entrypoint.permanent --certificatesResolvers.letsencrypt.acme.email="dorian@dorianmarie.com" --certificatesResolvers.letsencrypt.acme.storage="/letsencrypt/acme.json" --certificatesResolvers.letsencrypt.acme.httpchallenge --certificatesResolvers.letsencrypt.acme.httpchallenge.entrypoint="web" on 45.55.196.152
 DEBUG [751f737b] Command: docker container start traefik || docker run --name traefik --detach --restart unless-stopped --publish 80:80 --volume /var/run/docker.sock:/var/run/docker.sock --env-file .kamal/env/traefik/traefik.env --log-opt max-size="10m" --label traefik.http.routers.catchall.entryPoints="http" --label traefik.http.routers.catchall.rule="PathPrefix(\`/\`)" --label traefik.http.routers.catchall.service="unavailable" --label traefik.http.routers.catchall.priority="1" --label traefik.http.services.unavailable.loadbalancer.server.port="0" --publish "443:443" --volume "/letsencrypt/acme.json:/letsencrypt/acme.json" traefik:v2.9 --providers.docker --log.level="DEBUG" --entryPoints.web.address=":80" --entryPoints.websecure.address=":443" --entryPoints.web.http.redirections.entryPoint.to="websecure" --entryPoints.web.http.redirections.entryPoint.scheme="https" --entryPoints.web.http.redirections.entrypoint.permanent --certificatesResolvers.letsencrypt.acme.email="dorian@dorianmarie.com" --certificatesResolvers.letsencrypt.acme.storage="/letsencrypt/acme.json" --certificatesResolvers.letsencrypt.acme.httpchallenge --certificatesResolvers.letsencrypt.acme.httpchallenge.entrypoint="web"
 DEBUG [751f737b] 	Error response from daemon: No such container: traefik
 DEBUG [751f737b] 	Error: failed to start containers: traefik
 DEBUG [751f737b] 	bcad0e7c80c4ccc610e0695a2acea8b8d8acdef3085403a260b102826c82f4cd
  INFO [751f737b] Finished in 1.151 seconds with exit status 0 (successful).
Ensure app can pass healthcheck...
  INFO [80707c8a] Running docker run --detach --name healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 --publish 3999:3000 --label service=healthcheck-code -e KAMAL_CONTAINER_NAME="healthcheck-code" --env-file .kamal/env/roles/code-web.env --health-cmd "curl -f http://localhost:3000/up || exit 1" --health-interval "1s" dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 on 45.55.196.152
 DEBUG [80707c8a] Command: docker run --detach --name healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 --publish 3999:3000 --label service=healthcheck-code -e KAMAL_CONTAINER_NAME="healthcheck-code" --env-file .kamal/env/roles/code-web.env --health-cmd "curl -f http://localhost:3000/up || exit 1" --health-interval "1s" dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7
 DEBUG [80707c8a] 	0e276ffbab3f43fc4ce76abecf9bb99c89a1ca05ac7c75f1b44bb0ce4aeebeb5
  INFO [80707c8a] Finished in 1.384 seconds with exit status 0 (successful).
  INFO [02a21166] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [02a21166] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [02a21166] 	starting
  INFO [02a21166] Finished in 0.447 seconds with exit status 0 (successful).
  INFO container not ready (starting), retrying in 1s (attempt 1/7)...
  INFO [7220577d] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [7220577d] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [7220577d] 	starting
  INFO [7220577d] Finished in 0.305 seconds with exit status 0 (successful).
  INFO container not ready (starting), retrying in 2s (attempt 2/7)...
  INFO [612089d9] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [612089d9] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [612089d9] 	unhealthy
  INFO [612089d9] Finished in 0.348 seconds with exit status 0 (successful).
  INFO container not ready (unhealthy), retrying in 3s (attempt 3/7)...
  INFO [33bf2f47] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [33bf2f47] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [33bf2f47] 	unhealthy
  INFO [33bf2f47] Finished in 0.292 seconds with exit status 0 (successful).
  INFO container not ready (unhealthy), retrying in 4s (attempt 4/7)...
  INFO [d015cf30] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [d015cf30] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [d015cf30] 	unhealthy
  INFO [d015cf30] Finished in 0.268 seconds with exit status 0 (successful).
  INFO container not ready (unhealthy), retrying in 5s (attempt 5/7)...
  INFO [8fc29306] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [8fc29306] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [8fc29306] 	unhealthy
  INFO [8fc29306] Finished in 0.246 seconds with exit status 0 (successful).
  INFO container not ready (unhealthy), retrying in 6s (attempt 6/7)...
  INFO [16fc5c8a] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [16fc5c8a] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [16fc5c8a] 	unhealthy
  INFO [16fc5c8a] Finished in 0.239 seconds with exit status 0 (successful).
  INFO container not ready (unhealthy), retrying in 7s (attempt 7/7)...
  INFO [99e74f19] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}' on 45.55.196.152
 DEBUG [99e74f19] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{if .State.Health}}{{.State.Health.Status}}{{else}}{{.State.Status}}{{end}}'
 DEBUG [99e74f19] 	unhealthy
  INFO [99e74f19] Finished in 0.247 seconds with exit status 0 (successful).
  INFO [153c37f2] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker logs --tail 50 2>&1 on 45.55.196.152
 DEBUG [153c37f2] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker logs --tail 50 2>&1
  INFO [153c37f2] Finished in 0.424 seconds with exit status 0 (successful).
 ERROR 
 DEBUG [d6a56502] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{json .State.Health}}' on 45.55.196.152
 DEBUG [d6a56502] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker inspect --format '{{json .State.Health}}'
 DEBUG [d6a56502] 	{"Status":"unhealthy","FailingStreak":27,"Log":[{"Start":"2024-02-21T16:42:33.233984248Z","End":"2024-02-21T16:42:33.3592136Z","ExitCode":1,"Output":"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"},{"Start":"2024-02-21T16:42:34.360043629Z","End":"2024-02-21T16:42:34.463838606Z","ExitCode":1,"Output":"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"},{"Start":"2024-02-21T16:42:35.465008525Z","End":"2024-02-21T16:42:35.599576359Z","ExitCode":1,"Output":"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"},{"Start":"2024-02-21T16:42:36.600328766Z","End":"2024-02-21T16:42:36.709671144Z","ExitCode":1,"Output":"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"},{"Start":"2024-02-21T16:42:37.710174242Z","End":"2024-02-21T16:42:37.887557804Z","ExitCode":1,"Output":"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"}]}
 DEBUG [d6a56502] Finished in 0.364 seconds with exit status 0 (successful).
 ERROR {
  "Status": "unhealthy",
  "FailingStreak": 27,
  "Log": [
    {
      "Start": "2024-02-21T16:42:33.233984248Z",
      "End": "2024-02-21T16:42:33.3592136Z",
      "ExitCode": 1,
      "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"
    },
    {
      "Start": "2024-02-21T16:42:34.360043629Z",
      "End": "2024-02-21T16:42:34.463838606Z",
      "ExitCode": 1,
      "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"
    },
    {
      "Start": "2024-02-21T16:42:35.465008525Z",
      "End": "2024-02-21T16:42:35.599576359Z",
      "ExitCode": 1,
      "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"
    },
    {
      "Start": "2024-02-21T16:42:36.600328766Z",
      "End": "2024-02-21T16:42:36.709671144Z",
      "ExitCode": 1,
      "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"
    },
    {
      "Start": "2024-02-21T16:42:37.710174242Z",
      "End": "2024-02-21T16:42:37.887557804Z",
      "ExitCode": 1,
      "Output": "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\ncurl: (7) Failed to connect to localhost port 3000: Connection refused\n"
    }
  ]
}
  INFO [f50039aa] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker stop on 45.55.196.152
 DEBUG [f50039aa] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker stop
 DEBUG [f50039aa] 	0e276ffbab3f
  INFO [f50039aa] Finished in 10.632 seconds with exit status 0 (successful).
  INFO [37a34ce4] Running docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker container rm on 45.55.196.152
 DEBUG [37a34ce4] Command: docker container ls --all --filter name=^healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7$ --quiet | xargs docker container rm
 DEBUG [37a34ce4] 	0e276ffbab3f
  INFO [37a34ce4] Finished in 0.377 seconds with exit status 0 (successful).
  Finished all in 88.2 seconds
Releasing the deploy lock...
 DEBUG [b5b279ac] Running /usr/bin/env rm .kamal/lock-code/details && rm -r .kamal/lock-code on 45.55.196.152
 DEBUG [b5b279ac] Command: /usr/bin/env rm .kamal/lock-code/details && rm -r .kamal/lock-code
 DEBUG [b5b279ac] Finished in 0.312 seconds with exit status 0 (successful).
  Finished all in 96.0 seconds
  ERROR (Kamal::Cli::Healthcheck::Poller::HealthcheckError): Exception while executing on host 45.55.196.152: container not ready (unhealthy)
/Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/kamal-1.3.1/lib/kamal/cli/healthcheck/poller.rb:19:in `wait_for_healthy'
/Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/kamal-1.3.1/lib/kamal/cli/healthcheck.rb:10:in `block in perform'
/Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sshkit-1.22.0/lib/sshkit/backends/abstract.rb:31:in `instance_exec'
/Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sshkit-1.22.0/lib/sshkit/backends/abstract.rb:31:in `run'
/Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sshkit-1.22.0/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
@nickhammond
Copy link
Contributor

Please provide some relevant additional information such as your deploy.yml file, your entrypoint file, etc.

@dorianmariecom
Copy link
Contributor Author

dorianmariecom commented Feb 23, 2024

Dockerfile:

FROM debian:bullseye-slim as base
ENV BUNDLER_VERSION="2.5.5" \
    BUNDLE_DEPLOYMENT="1" \
    BUNDLE_PATH="/usr/local/bundle" \
    BUNDLE_WITHOUT="development" \
    NODE_VERSION="20.11.0" \
    NPM_VERSION="10.4.0" \
    RAILS_ENV="production" \
    RUBY_INSTALL_VERSION="0.9.3" \
    RUBY_VERSION="3.3.0" \
    YARN_VERSION="1.22.19"

ENV PATH="/opt/rubies/ruby-${RUBY_VERSION}/bin:/usr/local/node/bin:${PATH}"

RUN apt-get update && \
    apt-get install -y \
        autoconf \
        build-essential \
        curl \
        fish \
        git \
        libpq-dev \
        libvips \
        pandoc \
        pkg-config \
        postgresql-client \
        vim \
        wget

RUN wget "https://github.com/postmodern/ruby-install/releases/download/v${RUBY_INSTALL_VERSION}/ruby-install-${RUBY_INSTALL_VERSION}.tar.gz" \
  && tar -xzvf "ruby-install-${RUBY_INSTALL_VERSION}.tar.gz" \
  && cd "ruby-install-${RUBY_INSTALL_VERSION}" \
  && make install

RUN ruby-install -p https://github.com/ruby/ruby/pull/9371.diff ruby "${RUBY_VERSION}"

WORKDIR /rails

FROM base as build

RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && \
    /tmp/node-build-master/bin/node-build "${NODE_VERSION}" /usr/local/node && \
    npm install -g "yarn@${YARN_VERSION}" && \
    rm -rf /tmp/node-build-master

COPY Gemfile Gemfile.lock ./
RUN gem install bundler -v "${BUNDLER_VERSION}"
RUN bundle install && \
    rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
    bundle exec bootsnap precompile --gemfile

COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

COPY . .

RUN bundle exec bootsnap precompile app/ lib/

RUN HOST=example.com \
    BASE_URL=https://example.com \
    RAILS_MASTER_KEY_DUMMY=1 \
    SECRET_KEY_BASE_DUMMY=1 \
    ./bin/rails assets:precompile

FROM base

COPY --from=build /usr/local/bundle /usr/local/bundle
COPY --from=build /rails /rails

RUN useradd rails --create-home --shell /bin/bash && \
    chown -R rails:rails db log storage tmp
USER rails:rails

ENTRYPOINT ["/rails/bin/docker-entrypoint"]

EXPOSE 3000
CMD ["./bin/rails", "server"]

config/deploy.yml

service: code
image: dorianmariecom/code
builder:
  remote:
    arch: amd64
    ssh: root@45.55.196.152
servers:
  web:
    hosts:
      - 45.55.196.152
    labels:
      traefik.http.routers.code.rule: Host(`code.dorianmarie.com`)
      traefik.http.routers.code_secure.entrypoints: websecure
      traefik.http.routers.code_secure.rule: Host(`code.dorianmarie.com`)
      traefik.http.routers.code_secure.tls.certresolver: letsencrypt
      traefik.http.routers.code_secure.tls: true
registry:
  username:
    - KAMAL_REGISTRY_USERNAME
  password:
    - KAMAL_REGISTRY_PASSWORD
env:
  clear:
    HOST: code.dorianmarie.com
    BASE_URL: https://code.dorianmarie.com
  secret:
    - RAILS_MASTER_KEY
    - POSTGRES_PASSWORD
traefik:
  options:
    publish:
      - "443:443"
    volume:
      - "/letsencrypt/acme.json:/letsencrypt/acme.json"
  args:
    entryPoints.web.address: ":80"
    entryPoints.websecure.address: ":443"
    entryPoints.web.http.redirections.entryPoint.to: websecure
    entryPoints.web.http.redirections.entryPoint.scheme: https
    entryPoints.web.http.redirections.entrypoint.permanent: true
    certificatesResolvers.letsencrypt.acme.email: "dorian@dorianmarie.com"
    certificatesResolvers.letsencrypt.acme.storage: "/letsencrypt/acme.json"
    certificatesResolvers.letsencrypt.acme.httpchallenge: true
    certificatesResolvers.letsencrypt.acme.httpchallenge.entrypoint: web
accessories:
  db:
    image: postgres:16.1
    host: 45.55.196.152
    port: 5432
    env:
      clear:
        POSTGRES_USER: code
        POSTGRES_DB: code_production
      secret:
        - POSTGRES_PASSWORD
    directories:
      - data:/var/lib/postgresql/data

bin/docker-entrypoint:

#!/bin/bash -e

if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
  ./bin/rails db:prepare
fi

exec "${@}"

Hope that helps

@wenderjean
Copy link

Does your application respond to /up endpoint? You can also configure another one if necessary as described here.

Another thing that helped figure out a similar issue was to ssh into my app instance and execute the Docker command that Kamal executes directly and then follow the logs output, in your example: docker run --detach --name healthcheck-code-6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7 --publish 3999:3000 --label service=healthcheck-code -e KAMAL_CONTAINER_NAME="healthcheck-code" --env-file .kamal/env/roles/code-web.env --health-cmd "curl -f http://localhost:3000/up || exit 1" --health-interval "1s" dorianmariecom/code:6550a03c44a6673c16ee8074b20b7d72cd2145ce_uncommitted_a6e9c411a4db04e7

@dorianmariecom
Copy link
Contributor Author

I'm getting:

bin/rails aborted!
ActiveRecord::ConnectionNotEstablished: could not connect to server: No such file or directory (ActiveRecord::ConnectionNotEstablished)
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?


Caused by:
PG::ConnectionBad: could not connect to server: No such file or directory (PG::ConnectionBad)
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Tasks: TOP => db:prepare
(See full trace by running task with --trace)

I don't understand, I have my db accessory defined

@nickhammond
Copy link
Contributor

@dorianmariecom You can't use the socket(/var/run/postgresql/.s.PGSQL.5432) with a docker container, you'll have to use the IP or add a bridge network.

Take a look at your database.yml, your host will need to point to 45.55.196.152.

@n1xn
Copy link

n1xn commented Feb 24, 2024

@dorianmariecom I see multiple issues in your configuration.

First, like @nickhammond mentioned you are using a single server setup - which requires additional configuration. You have to update your database credentials to point to the SERVER_IP with the POSTGRES_PORT. Or, which I recommend, create a docker network and assign all containers to that network. With this approach you still have to update the database credentials but would use the container name instead of the SERVER_IP.

Second (next upcoming issue), you are using rails user in your dockerfile but are deploying / setting up containers & volumes with root user, which will result in rails not being able to setup/access the storage because of user uid mismatch on host and container. Anyway I encourage you to create a new user on your host as containerized deployment processes do not need any root permissions at all. This new user needs to have the same uid as your rails user defined in your dockerfile.

@dorianmariecom
Copy link
Contributor Author

dorianmariecom commented Feb 24, 2024

@nickhammond By using the right user (code, not root, not rails) I'm able to connect to the database, thanks a lot <3

@dorianmariecom
Copy link
Contributor Author

deploy successful :), now onto the second point by @n1xn

@dorianmariecom
Copy link
Contributor Author

Second (next upcoming issue), you are using rails user in your dockerfile but are deploying / setting up containers & volumes with root user, which will result in rails not being able to setup/access the storage because of user uid mismatch on host and container. Anyway I encourage you to create a new user on your host as containerized deployment processes do not need any root permissions at all. This new user needs to have the same uid as your rails user defined in your dockerfile.

I'm really not sure how to do that

@n1xn
Copy link

n1xn commented Feb 24, 2024

Maybe ChatGPT can help you out... Let's assume you will ignore creating a new user on the host - you would have to do the following:

  1. Get the uid of your root user id -u root on host
  2. Add the same uid to the rails user in your Dockerfile RUN useradd -u UID_FROM_STEP_1 rails...
  3. Redeploy

@dorianmariecom
Copy link
Contributor Author

Actually I just use root for everything now and it's fine

@ronald2wing
Copy link

@dorianmariecom How do you resolve the issue?

@marko911
Copy link

marko911 commented Jun 8, 2024

I've got a similar issue. My app container doesn't get started with a port mapping:

  INFO [47f02b4b] Running docker run --detach --restart unless-stopped --name my-node-server-app-web-fc3ac1385c495d6e5a7263e71d4ce9c7f5f91105 --hostname 5.161.245.237-1d0b3f16f933 -e KAMAL_CON
TAINER_NAME="my-node-server-app-web-fc3ac1385c495d6e5a7263e71d4ce9c7f5f91105" -e KAMAL_VERSION="fc3ac1385c495d6e5a7263e71d4ce9c7f5f91105" --env-file .kamal/env/roles/my-node-server-app-web.env
 --health-cmd "(curl -f http://localhost:3000/healthz || exit 1) && (stat /tmp/kamal-cord/cord > /dev/null || exit 1)" --health-interval "1s" --volume $(pwd)/.kamal/cords/my-node-server-app-we
b-cb1b90b87060bc49b66c43d5bbb37398:/tmp/kamal-cord --log-opt max-size="10m" --label service="my-node-server-app" --label role="web" --label destination --label traefik.http.services.my-node-se
rver-app-web.loadbalancer.server.scheme="http" --label traefik.http.routers.my-node-server-app-web.rule="PathPrefix(\`/\`)" --label traefik.http.routers.my-node-server-app-web.priority="2" --l
abel traefik.http.middlewares.my-node-server-app-web-retry.retry.attempts="5" --label traefik.http.middlewares.my-node-server-app-web-retry.retry.initialinterval="500ms" --label traefik.http.r
outers.my-node-server-app-web.middlewares="my-node-server-app-web-retry@docker" marko911/node-app:fc3ac1385c495d6e5a7263e71d4ce9c7f5f91105 on 5.161.245.237

So the container starts but it can't be accessed via http. My deploy yaml is:

# Name of your application. Used to uniquely configure containers.
service: my-node-server-app

# Name of the container image. <dockerhub username>/<app-name>
image: marko911/node-app

# Deploy to these servers. <Copy Hetzner ip address of VM >
servers:
  - 5.161.245.237 

# Credentials for your image host.
registry:
  # Specify the registry server, if you're not using Docker Hub
  # server: registry.digitalocean.com / ghcr.io / ...
  username: marko911
  # Always use an access token rather than real password when possible.
  password:
    - DOCKER_HUB_TOKEN

# Inject ENV variables into containers (secrets come from .env).
# Remember to run `kamal env push` after making changes!
env:
  secret:
    - SECRET_PHRASE
    - HOST_PORT

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

No branches or pull requests

6 participants