serversideup / spin

🚀 Replicate your production environment locally using Docker. Just run "spin up". It's really that easy.
https://serversideup.net/open-source/spin/
GNU General Public License v3.0
1.18k stars 43 forks source link

New builds seem to fail #80

Closed mathewparet closed 4 months ago

mathewparet commented 4 months ago

Current Behavior

Builds failing at "Install Composer Dependencies" phase.

This is from the github action logs:

Run $DOCKER_COMPOSE_CMD \
 Container tesla-stats-traefik-1  Running
 Container tesla-stats-mariadb-1  Running
#0 building with "default" instance using docker driver

#1 [php internal] load .dockerignore
#1 transferring context: 7[9](https://github.com/mathewparet/tesla-stats/actions/runs/8951100671/job/24627549744#step:5:10)B done
#1 DONE 0.0s

#2 [php internal] load build definition from Dockerfile
#2 transferring dockerfile: 551B done
#2 DONE 0.0s

#3 [php internal] load metadata for docker.io/serversideup/php:beta-8.3-fpm-nginx
#3 DONE 0.1s

#4 [php base 1/2] FROM docker.io/serversideup/php:beta-8.3-fpm-nginx@sha256:ccfbf70bff5d5750[10](https://github.com/mathewparet/tesla-stats/actions/runs/8951100671/job/24627549744#step:5:11)1d2e9584d69c8fd00b397dc43a664b647846c08701f7be
#4 CACHED

#5 [php base 2/2] RUN install-php-extensions php8.3-bcmath
#5 0.142 install-php-extensions v.2.2.6
#5 0.[14](https://github.com/mathewparet/tesla-stats/actions/runs/8951100671/job/24627549744#step:5:15)2 #StandWithUkraine
#5 0.262 Unable to parse the following module name:
#5 0.262 php8.3
#5 0.263 mkdir: cannot create directory '/usr/src/php': Permission denied
failed to solve: process "/bin/sh -c install-php-extensions php8.3-bcmath" did not complete successfully: exit code: 1
#5 ERROR: process "/bin/sh -c install-php-extensions php8.3-bcmath" did not complete successfully: exit code: 1
------
 > [php base 2/2] RUN install-php-extensions php8.3-bcmath:
0.142 install-php-extensions v.2.2.6
0.142 #StandWithUkraine
0.262 Unable to parse the following module name:
0.262 php8.3
0.263 mkdir: cannot create directory '/usr/src/php': Permission denied
------
Error: Process completed with exit code [17](https://github.com/mathewparet/tesla-stats/actions/runs/8951100671/job/24627549744#step:5:18).

When I ran spin build on local also I get the same error now (spin itself is latest):

[+] Building 41.4s (5/6)                                                                                                  docker:desktop-linux
 => [php internal] load build definition from Dockerfile                                                                                  0.0s
 => => transferring dockerfile: 544B                                                                                                      0.0s
 => [php internal] load metadata for docker.io/serversideup/php:beta-8.3-fpm-nginx                                                        4.2s
 => [php internal] load .dockerignore                                                                                                     0.0s
 => => transferring context: 79B                                                                                                          0.0s
 => [php base 1/2] FROM docker.io/serversideup/php:beta-8.3-fpm-nginx@sha256:ccfbf70bff5d5750101d2e9584d69c8fd00b397dc43a664b647846c087  36.4s
 => => resolve docker.io/serversideup/php:beta-8.3-fpm-nginx@sha256:ccfbf70bff5d5750101d2e9584d69c8fd00b397dc43a664b647846c08701f7be      0.0s
 => => sha256:ccfbf70bff5d5750101d2e9584d69c8fd00b397dc43a664b647846c08701f7be 2.64kB / 2.64kB                                            0.0s
 => => sha256:4246bb70e866bd7dd3dccad886145a828fb1a1323f17ef26ec181465dbcb0b28 225B / 225B                                                0.9s
 => => sha256:5fa66a9bcbf44147c9027140130c3367cc132fb14c4612f07bbe7e71994127dc 19.93kB / 19.93kB                                          0.0s
 => => sha256:38d9cbc94d9e79c445b63152194f2f71247fc73f539ba2b78046fd04c59ff44b 98.13MB / 98.13MB                                         33.5s
 => => sha256:22d97f6a5d13532e867231d23d92620a81874d51a456196be50154eeb32edc08 29.18MB / 29.18MB                                         12.9s
 => => sha256:62c9efc85080f7b48b801c323a43a2c0573d7601d5f985ef087ebd54cf779d43 4.65kB / 4.65kB                                            0.0s
 => => sha256:760f776f4854c09ee785a8e7e0b102fbcd2483de52db872f8a92ce21e43cac04 269B / 269B                                                1.3s
 => => sha256:51668170257e1ab445c40a242e9c054b5505c3c5ebfd539fc819c7ef4aede345 12.78MB / 12.78MB                                         10.3s
 => => sha256:782b49cd2ccffcf798a63225725f7bbc6de789cc07117ecfe92307bbc508c413 492B / 492B                                               11.2s
 => => sha256:2d6b218584308e18193efe30a1ac3ab83fb0da22a529250492a010317c770450 27.95MB / 27.95MB                                         21.9s
 => => sha256:2fdd97cc4bd3ffcedc954c2b2ae7352fd3d6d28ef0099e848a1c211648c24af9 2.45kB / 2.45kB                                           13.3s
 => => extracting sha256:22d97f6a5d13532e867231d23d92620a81874d51a456196be50154eeb32edc08                                                 0.8s
 => => sha256:b08e2a8579535a2ed85af64ced533503bdcbaae6c903e96cad95ccf78a4f2906 245B / 245B                                               13.7s
 => => extracting sha256:4246bb70e866bd7dd3dccad886145a828fb1a1323f17ef26ec181465dbcb0b28                                                 0.0s
 => => sha256:9836a34e66a45e326dd44750efa49e62c4febdd0656e7be17367432bcb0bb061 9.18kB / 9.18kB                                           14.1s
 => => sha256:9b96b9a1e9aec95f0f8a183bfbda70bc26341bc6c3e3f092096ceee0d5ce8fd6 29.57kB / 29.57kB                                         15.0s
 => => sha256:4e7e2cdaf23389efc7ad7f00b12f3dd96bebfdb49c4620aa0c9ba61d8328e332 3.73kB / 3.73kB                                           15.7s
 => => sha256:7d06d693388b96dcb776f1e520387b4f99da219ecfd15092f250493e6f5b87b7 2.82MB / 2.82MB                                           18.3s
 => => sha256:9acf46aab08136d80ff48a6b779c1555f8195766975b1668f85697683a895f1e 2.13kB / 2.13kB                                           19.0s
 => => sha256:6f851a97f7891aac5718c18ef863b8d3adb53b82f77322b49f7deb99f90c4b69 1.30kB / 1.30kB                                           19.8s
 => => sha256:46195f0bdb40268e8cd9c920f188fbde4b7fa7a3daa081cc8cb4c5b95eb52cd2 273B / 273B                                               20.7s
 => => sha256:d9cd125886b99819350fcad33e84022e767b00850a112d6b1afd9b0467739d1d 233B / 233B                                               21.4s
 => => sha256:3195a5e90ddfaa996b328d40ad12f5f4c08332579b1fdbfb9ef0a5072ef51dc8 6.97MB / 6.97MB                                           25.6s
 => => sha256:14d2f67fc5f66f86b69d481b480116a48ee2f1bf60c7cb323e1f093bccaad195 3.17kB / 3.17kB                                           22.6s
 => => sha256:156dea7d6274e34646d2f9a6aaaf9f5779b5cee6ae7c5dc0e120f83b608e83f9 4.44kB / 4.44kB                                           23.4s
 => => sha256:0012b04bf8a608875abb691dae3bf62d13f4101be38c9c3c306ec7ae7b11a1bc 723.92kB / 723.92kB                                       24.2s
 => => sha256:0433f3ebecb6fc0320e4c33df4a8de5c37b94c18f0c77ef847195e30e2e19bd8 4.76kB / 4.76kB                                           24.9s
 => => sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B                                                 25.4s
 => => extracting sha256:38d9cbc94d9e79c445b63152194f2f71247fc73f539ba2b78046fd04c59ff44b                                                 1.9s
 => => extracting sha256:760f776f4854c09ee785a8e7e0b102fbcd2483de52db872f8a92ce21e43cac04                                                 0.0s
 => => extracting sha256:51668170257e1ab445c40a242e9c054b5505c3c5ebfd539fc819c7ef4aede345                                                 0.0s
 => => extracting sha256:782b49cd2ccffcf798a63225725f7bbc6de789cc07117ecfe92307bbc508c413                                                 0.0s
 => => extracting sha256:2d6b218584308e18193efe30a1ac3ab83fb0da22a529250492a010317c770450                                                 0.4s
 => => extracting sha256:2fdd97cc4bd3ffcedc954c2b2ae7352fd3d6d28ef0099e848a1c211648c24af9                                                 0.0s
 => => extracting sha256:b08e2a8579535a2ed85af64ced533503bdcbaae6c903e96cad95ccf78a4f2906                                                 0.0s
 => => extracting sha256:9836a34e66a45e326dd44750efa49e62c4febdd0656e7be17367432bcb0bb061                                                 0.0s
 => => extracting sha256:9b96b9a1e9aec95f0f8a183bfbda70bc26341bc6c3e3f092096ceee0d5ce8fd6                                                 0.0s
 => => extracting sha256:4e7e2cdaf23389efc7ad7f00b12f3dd96bebfdb49c4620aa0c9ba61d8328e332                                                 0.0s
 => => extracting sha256:7d06d693388b96dcb776f1e520387b4f99da219ecfd15092f250493e6f5b87b7                                                 0.1s
 => => extracting sha256:9acf46aab08136d80ff48a6b779c1555f8195766975b1668f85697683a895f1e                                                 0.0s
 => => extracting sha256:6f851a97f7891aac5718c18ef863b8d3adb53b82f77322b49f7deb99f90c4b69                                                 0.0s
 => => extracting sha256:46195f0bdb40268e8cd9c920f188fbde4b7fa7a3daa081cc8cb4c5b95eb52cd2                                                 0.0s
 => => extracting sha256:d9cd125886b99819350fcad33e84022e767b00850a112d6b1afd9b0467739d1d                                                 0.0s
 => => extracting sha256:3195a5e90ddfaa996b328d40ad12f5f4c08332579b1fdbfb9ef0a5072ef51dc8                                                 0.1s
 => => extracting sha256:14d2f67fc5f66f86b69d481b480116a48ee2f1bf60c7cb323e1f093bccaad195                                                 0.0s
 => => extracting sha256:156dea7d6274e34646d2f9a6aaaf9f5779b5cee6ae7c5dc0e120f83b608e83f9                                                 0.0s
 => => extracting sha256:0012b04bf8a608875abb691dae3bf62d13f4101be38c9c3c306ec7ae7b11a1bc                                                 0.0s
 => => extracting sha256:0433f3ebecb6fc0320e4c33df4a8de5c37b94c18f0c77ef847195e30e2e19bd8                                                 0.0s
 => => extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1                                                 0.0s
 => ERROR [php base 2/2] RUN install-php-extensions bcmath                                                                                0.7s
------
 > [php base 2/2] RUN install-php-extensions bcmath:
0.082 install-php-extensions v.2.2.6
0.082 #StandWithUkraine
0.142 mkdir: cannot create directory '/usr/src/php': Permission denied
------
failed to solve: process "/bin/sh -c install-php-extensions bcmath" did not complete successfully: exit code: 1

Expected Behavior

Biuld should ideally pass especially since I've not modified the docker-compose files or Dockerfile related:

Run $DOCKER_COMPOSE_CMD \
 Container tesla-stats-traefik-1  Running
 Container tesla-stats-mariadb-1  Running

--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

🙌 To support Server Side Up projects visit:
https://serversideup.net/sponsor

-------------------------------------
ℹ️ Container Information
-------------------------------------

Docker user:   root
Docker uid:    0
Docker gid:    0

(init-webserver-config): Processing /etc/nginx/nginx.conf.template → /etc/nginx/nginx.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/http.conf.template → /etc/nginx/site-opts.d/http.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/https.conf.template → /etc/nginx/site-opts.d/https.conf...
ℹ️ NOTICE (init-webserver-config): Enabling NGINX site with SSL "off"...
[03-Apr-2024 12:38:25] NOTICE: fpm is running, pid 118
[03-Apr-2024 12:38:25] NOTICE: ready to handle connections
127.0.0.1 -  03/Apr/2024:12:38:26 +0000 "GET /status" 200
127.0.0.1 -  03/Apr/2024:12:38:26 +0000 "GET /ping" 200
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 143 installs, 0 updates, 0 removals
  - Downloading dasprid/enum (1.0.5)
  - Downloading bacon/bacon-qr-code (2.0.8)
  - Downloading doctrine/inflector (2.0.10)
  - Downloading symfony/polyfill-ctype (v1.2[9](https://github.com/mathewparet/tesla-stats/actions/runs/8538815611/job/23392217709#step:5:10).0)
  - Downloading webmozart/assert (1.11.0)
  - Installing phpunit/php-code-coverage ([10](https://github.com/mathewparet/tesla-stats/actions/runs/8538815611/job/23392217709#step:5:11).1.12): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.3): Extracting archive
  - Installing myclabs/deep-copy (1.[11](https://github.com/mathewparet/tesla-stats/actions/runs/8538815611/job/23392217709#step:5:12).1): Extracting archive
  - Installing phpunit/phpunit (10.5.11): Extracting archive
  - Installing spomky-labs/pki-framework (1.1.1): Extracting archive
  - Installing psr/http-client (1.0.3): Extracting archive
  - Installing web-auth/metadata-service (4.7.9): Extracting archive
  - Installing web-auth/cose-lib (4.3.0): Extracting archive
  - Installing spomky-labs/cbor-php (3.0.4): Extracting archive
  - Installing web-auth/webauthn-lib (4.7.9): Extracting archive
  - Installing symfony/clock (v6.4.5): Extracting archive
  - Installing symfony/http-client-contracts (v3.4.0): Extracting archive
  - Installing symfony/http-client (v7.0.5): Extracting archive
  - Installing paragonie/sodium_compat (v1.20.0): Extracting archive
  - Installing web-token/jwt-library (3.3.3): Extracting archive
  - Installing spomky-labs/aes-key-wrap (v7.0.0): Extracting archive
  - Installing svgta/svgta-lib (v1.3.4): Extracting archive
  - Installing guzzlehttp/guzzle (7.8.1): Extracting archive
  - Installing svgta/webauthn (v1.0.2): Extracting archive
  - Installing pioneer-dynamics/laravel-passkey (v1.0.6): Extracting archive
  - Installing spatie/backtrace (1.5.3): Extracting archive
  - Installing spatie/flare-client-php (1.4.4): Extracting archive
  - Installing spatie/ignition (1.[12](https://github.com/mathewparet/tesla-stats/actions/runs/8538815611/job/23392217709#step:5:13).0): Extracting archive
  - Installing spatie/laravel-ignition (2.4.2): Extracting archive
  - Installing symfony/postmark-mailer (v7.0.4): Extracting archive
  - Installing tightenco/ziggy (v2.0.3): Extracting archive
  - Installing timokoerber/laravel-one-time-operations (1.4.0): Extracting archive
  - Installing hashids/hashids (5.0.2): Extracting archive
  - Installing graham-campbell/manager (v5.1.0): Extracting archive
  - Installing vinkla/hashids (11.0.0): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.  

  inertiajs/inertia-laravel ............................................. DONE
  laravel/fortify ....................................................... DONE
  laravel/jetstream ..................................................... DONE
  laravel/sail .......................................................... DONE
  laravel/sanctum ....................................................... DONE
  laravel/tinker ........................................................ DONE
  mathewparet/inertia-config-share ...................................... DONE
  mathewparet/laravel-policy-abilities-export ........................... DONE
  nesbot/carbon ......................................................... DONE
  nunomaduro/collision .................................................. DONE
  nunomaduro/termwind ................................................... DONE
  pioneer-dynamics/laravel-passkey ...................................... DONE
  spatie/laravel-ignition ............................................... DONE
  tightenco/ziggy ....................................................... DONE
  timokoerber/laravel-one-time-operations ............................... DONE
  vinkla/hashids ........................................................ DONE

98 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[03-Apr-[20](https://github.com/mathewparet/tesla-stats/actions/runs/8538815611/job/23392217709#step:5:21)24 12:38:31] NOTICE: Terminating ...
[03-Apr-2024 12:38:31] NOTICE: exiting, bye-bye!

Steps To Reproduce

  1. In prod
  2. With no change to config
  3. Create a package in GitHub actions to trigger the build.

Environment

Not sure what to put here. Coz this is failing in github actions

When I ran spin debug on local:

Spin Version: 
v2.0.0-beta5 [stable] (User Installed)

Operating System Version: 
ProductName:            macOS
ProductVersion:         14.0
BuildVersion:           23A344

Docker Info: 
WARNING: Plugin "/Users/mathewparet/.docker/cli-plugins/docker-scan" is not valid: failed to fetch metadata: fork/exec /Users/mathewparet/.docker/cli-plugins/docker-scan: no such file or directory
WARNING: daemon is not using the default seccomp profile
Client:
 Version:    25.0.2
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.1-desktop.4
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.24.3-desktop.1
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container. (Docker Inc.)
    Version:  0.0.22
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-debug
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.21
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.4
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.0.0
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.3.0
    Path:     /Users/mathewparet/.docker/cli-plugins/docker-scout

Server:
 Containers: 10
  Running: 0
  Paused: 0
  Stopped: 10
 Images: 27
 Server Version: 25.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
  cgroupns
 Kernel Version: 6.6.12-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: aarch64
 CPUs: 8
 Total Memory: 7.658GiB
 Name: docker-desktop
 ID: 4bfe35d7-9697-470f-b1c5-18c9c74fd02c
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

Anything else?

No response

jaydrogers commented 4 months ago

This issue is related to serversideup/php.

You need to migrate to the new V3 images: https://serversideup.net/open-source/docker-php/docs/guide/migrating-from-v2-to-v3

I'm working on getting new templates to support this now.

jaydrogers commented 4 months ago

Also, this is the beta build that is probably breaking: https://github.com/serversideup/docker-php/releases/tag/v3.0.0-beta4

All these changes have been merged to stable since then, but between the migration guide and that should give you a good direction.

Now that serversideup/php v3 has been merged to stable, I will be getting updated templates out soon 👍

mathewparet commented 4 months ago

I don't think thats the case here. The image in my Docker file points to serversideup/php:beta-8.3-fpm-nginx not 8.2:

# Learn more about the Server Side Up PHP Docker Images at:
# https://serversideup.net/open-source/docker-php/

FROM serversideup/php:beta-8.3-fpm-nginx as base

RUN install-php-extensions bcmath

FROM base as development

# Fix permission issues in development by setting the "www-data"
# user to the same user and group that is running docker.
ARG USER_ID
ARG GROUP_ID
RUN docker-php-serversideup-set-id www-data ${USER_ID} ${GROUP_ID}

FROM base as deploy
COPY --chown=www-data:www-data . /var/www/html
jaydrogers commented 4 months ago

Change your file to:

# Learn more about the Server Side Up PHP Docker Images at:
# https://serversideup.net/open-source/docker-php/

FROM serversideup/php:8.3-fpm-nginx as base

RUN install-php-extensions bcmath

FROM base as development

# Fix permission issues in development by setting the "www-data"
# user to the same user and group that is running docker.
ARG USER_ID
ARG GROUP_ID
RUN docker-php-serversideup-set-id www-data ${USER_ID}:${GROUP_ID}

FROM base as deploy
COPY --chown=www-data:www-data . /var/www/html
mathewparet commented 4 months ago

I just tried it, but I still get the same error.

Run $DOCKER_COMPOSE_CMD \
  $DOCKER_COMPOSE_CMD \
  run \
  php \
  composer install --optimize-autoloader --no-interaction --no-progress --no-ansi
  shell: /usr/bin/bash -e {0}
  env:
    DOCKER_COMPOSE_CMD: docker compose -f docker-compose.yml -f docker-compose.ci.yml

 Container tesla-stats-traefik-1  Running
 Container tesla-stats-mariadb-1  Running
#0 building with "default" instance using docker driver

#1 [php internal] load build definition from Dockerfile
#1 transferring dockerfile: 539B done
#1 DONE 0.0s

#[2](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:2) [php internal] load .dockerignore
#2 transferring context: 79B done
#2 DONE 0.0s

#[3](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:3) [php internal] load metadata for docker.io/serversideup/php:8.3-fpm-nginx
#3 DONE 0.1s

#[4](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:4) [php base 1/2] FROM docker.io/serversideup/php:8.3-fpm-nginx@sha2[5](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:5)6:b0c2dd9d78b217590be39a63785fd3b2a197b2ccba0e0ca625859cf257468ad0
#4 CACHED

#5 [php base 2/2] RUN install-php-extensions bcmath
#5 0.1[6](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:6)1 install-php-extensions v.2.2.14
#5 0.161 #StandWithUkraine
#5 0.2[7](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:7)6 mkdir: cannot create directory '/usr/src/php': Permission denied
#5 ERROR: process "/bin/sh -c install-php-extensions bcmath" did not complete successfully: exit code: 1
------
failed to solve: process "/bin/sh -c install-php-extensions bcmath" did not complete successfully: exit code: 1
 > [php base 2/2] RUN install-php-extensions bcmath:
0.161 install-php-extensions v.2.2.[14](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:15)
0.161 #StandWithUkraine
0.276 mkdir: cannot create directory '/usr/src/php': Permission denied
------
Error: Process completed with exit code [17](https://github.com/mathewparet/tesla-stats/actions/runs/9077604887/job/24942873510#step:5:18).

If you look at the last few lines it complains about error creating directory /usr/src/php. Is it possible there is some permission issue with the path within the image?

jaydrogers commented 4 months ago

Whoops, sorry. Even I have syntax issues in my own examples 😆

You need to be root to run certain commands. See the example below and my comments

Try this:

# Learn more about the Server Side Up PHP Docker Images at:
# https://serversideup.net/open-source/docker-php/

FROM serversideup/php:8.3-fpm-nginx as base

# Escalate to root
USER root

# Install extensions
RUN install-php-extensions bcmath

FROM base as development

# Fix permission issues in development by setting the "www-data"
# user to the same user and group that is running docker.
ARG USER_ID
ARG GROUP_ID

# Escalate to root
USER root

RUN docker-php-serversideup-set-id www-data ${USER_ID}:${GROUP_ID}

# Drop to www-data
USER www-data

FROM base as deploy
COPY --chown=www-data:www-data . /var/www/html

# Drop to www-data
USER www-data
mathewparet commented 4 months ago

Well there is improvement - I am now able to move ahead from that position, but then it goes into an endless loop:

Run $DOCKER_COMPOSE_CMD \
  $DOCKER_COMPOSE_CMD \
  run \
  php \
  composer show --locked
  shell: /usr/bin/bash -e {0}
  env:
    DOCKER_COMPOSE_CMD: docker compose -f docker-compose.yml -f docker-compose.ci.yml
 traefik Pulling 
 mariadb Pulling 
 a8b1c5f80c[2](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:2)d Already exists 
 d089a2[3](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:3)2b283 Pulling fs layer 
 e6a7853251a9 Pulling fs layer 
 a02c50173b[4](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:4)6 Pulling fs layer 
 60cf01d97b1c Pulling fs layer 
 8712b8a31288 Pulling fs layer 
 e2713dbe30[5](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:5)2 Pulling fs layer 
 f0ffb22994e[6](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:6) Pulling fs layer 
 8712b8a31288 Waiting 
 e2[7](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:7)13dbe3052 Waiting 
 f0ffb22994e6 Waiting 
 60cf01d97b1c Waiting 
 d0[8](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:8)9a232b283 Downloading [====================>                              ]     71[9](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:10)B/1.716kB
 d089a232b283 Downloading [==================================================>]  1.716kB/1.716kB
 d089a232b283 Downloading [==================================================>]  1.716kB/1.716kB
 d089a232b283 Download complete 
 d089a232b283 Extracting [==================================================>]  1.716kB/1.716kB
 e6a7853251a9 Downloading [>                                                  ]  59.48kB/5.648MB
 d089a232b283 Extracting [==================================================>]  1.716kB/1.716kB
 a02c50173b46 Downloading [==================================================>]     116B/116B
 a02c50173b46 Verifying Checksum 
 a02c50173b46 Download complete 
 619be1[10](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:11)3602 Already exists 
 987f790ee143 Pulling fs layer 
 c6d80f829c66 Pulling fs layer 
 5300d181735b Pulling fs layer 
 987f790ee143 Waiting 
 c6d80f829c66 Waiting 
 5300d181735b Waiting 
 e6a7853251a9 Download complete 
 d089a232b283 Pull complete 
 e6a7853251a9 Extracting [>                                                  ]  65.54kB/5.648MB
 60cf01d97b1c Downloading [==================================================>]     330B/330B
 60cf01d97b1c Verifying Checksum 
 60cf01d97b1c Download complete 
 8712b8a31288 Downloading [>                                                  ]  530.7kB/87.27MB
 e2713dbe3052 Downloading [=========>                                         ]     719B/3.613kB
 e2713dbe3052 Downloading [==================================================>]  3.613kB/3.613kB
 e2713dbe3052 Verifying Checksum 
 e2713dbe3052 Download complete 
 e6a7853251a9 Extracting [========================>                          ]  2.818MB/5.648MB
 8712b8a31288 Downloading [========>                                          ]  15.59MB/87.27MB
 f0ffb22994e6 Downloading [====>                                              ]     719B/8.251kB
 f0ffb22994e6 Downloading [==================================================>]  8.251kB/8.251kB
 f0ffb22994e6 Verifying Checksum 
 f0ffb22994e6 Download complete 
 e6a7853251a9 Extracting [========================================>          ]  4.522MB/5.648MB
 987f790ee143 Downloading [>                                                  ]  7.429kB/622.8kB
 987f790ee143 Download complete 
 8712b8a31288 Downloading [==================>                                ]   31.7MB/87.27MB
 987f790ee143 Extracting [==>                                                ]  32.77kB/622.8kB
 e6a7853251a9 Extracting [=========================================>         ]  4.653MB/5.648MB
 c6d80f829c66 Downloading [>                                                  ]  404.7kB/39.21MB
 987f790ee143 Extracting [==================================>                ]    426kB/622.8kB
 8712b8a31288 Downloading [===========================>                       ]  47.28MB/87.27MB
 c6d80f829c66 Downloading [===================>                               ]  15.08MB/39.21MB
 5300d181735b Downloading [==================================================>]     368B/368B
 5300d181735b Verifying Checksum 
 5300d181735b Download complete 
 8712b8a31288 Downloading [====================================>              ]  63.95MB/87.27MB
 987f790ee143 Extracting [============================================>      ]  557.1kB/622.8kB
 e6a7853251a9 Extracting [==========================================>        ]  4.784MB/5.648MB
 c6d80f829c66 Downloading [=====================================>             ]  29.36MB/39.21MB
 8712b8a31288 Downloading [=============================================>     ]     79MB/87.27MB
 c6d80f829c66 Verifying Checksum 
 c6d80f829c66 Download complete 
 8712b8a31288 Verifying Checksum 
 8712b8a31288 Download complete 
 987f790ee143 Extracting [==================================================>]  622.8kB/622.8kB
 e6a7853251a9 Extracting [===========================================>       ]  4.915MB/5.648MB
 e6a7853251a9 Extracting [==================================================>]  5.648MB/5.648MB
 e6a7853251a9 Pull complete 
 a02c50173b46 Extracting [==================================================>]     [11](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:12)6B/116B
 a02c50173b46 Extracting [==================================================>]     116B/116B
 a02c50173b46 Pull complete 
 60cf01d97b1c Extracting [==================================================>]     330B/330B
 60cf01d97b1c Extracting [==================================================>]     330B/330B
 60cf01d97b1c Pull complete 
 987f790ee143 Pull complete 
 c6d80f829c66 Extracting [>                                                  ]  393.2kB/39.21MB
 87[12](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:13)b8a31288 Extracting [>                                                  ]  557.1kB/87.27MB
 c6d80f829c66 Extracting [======>                                            ]  5.112MB/39.21MB
 8712b8a31288 Extracting [==>                                                ]  4.456MB/87.27MB
 c6d80f829c66 Extracting [===========>                                       ]  9.044MB/39.21MB
 8712b8a31288 Extracting [====>                                              ]  7.799MB/87.27MB
 c6d80f829c66 Extracting [================>                                  ]  12.98MB/39.21MB
 8712b8a31288 Extracting [======>                                            ]   11.7MB/87.27MB
 c6d80f829c66 Extracting [=====================>                             ]  16.91MB/39.21MB
 8712b8a31288 Extracting [========>                                          ]   15.6MB/87.27MB
#6 8.202 in a given directory, LIBDIR, you must either use libtool, and
#6 8.202 specify the full pathname of the library, or use the `-LLIBDIR'
#6 8.202 flag during linking and do at least one of the following:
#6 8.202    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
#6 8.202      during execution
#6 8.202    - add LIBDIR to the `LD_RUN_PATH' environment variable
#6 8.202      during linking
#6 8.202    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
#6 8.202    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
#6 8.202 
#6 8.202 See any operating system documentation about shared libraries for
#6 8.202 more information, such as the ld(1) and ld.so(8) manual pages.
#6 8.204 ----------------------------------------------------------------------
#6 8.205 
#6 8.207 Build complete.
#6 8.208 Don't forget to run 'make test'.
#6 8.209 
#6 8.226 + strip --strip-all modules/bcmath.so
#6 8.255 Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20230831/
#6 8.330 find . -name \*.gcno -o -name \*.gcda | xargs rm -f
#6 8.334 find . -name \*.lo -o -name \*.o -o -name \*.dep | xargs rm -f
#6 8.339 find . -name \*.la -o -name \*.a | xargs rm -f
#6 8.343 find . -name \*.so | xargs rm -f
#6 8.347 find . -name .libs -a -type d|xargs rm -rf
#6 8.350 rm -f libphp.la      modules/* libs/*
#6 8.352 rm -f ext/opcache/jit/zend_jit_x86.c
#6 8.354 rm -f ext/opcache/jit/zend_jit_arm64.c
#6 8.356 rm -f ext/opcache/minilua
#6 DONE 9.0s
#7 [php] exporting to image
#7 exporting layers
#7 exporting layers 0.5s done
#7 writing image sha256:fbaabc10[13](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:14)5dc0a87cf4470396a1def3fa37588a57d669b0ac8736df722c3e51 done
#7 naming to docker.io/library/tesla-stats-php done
#7 DONE 0.5s
--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|
Brought to you by serversideup.net
--------------------------------------------------------------------
🙌 To support Server Side Up projects visit:
https://serversideup.net/sponsor
-------------------------------------
ℹ️ Container Information
-------------------------------------
Docker user:   root
Docker uid:    0
Docker gid:    0
OPcache:       ❌ Disabled
Notice: CE]: Improve PHP performance by setting PHP_OPCACHE_ENABLE=1 (recommended for production).
(init-webserver-config): Processing /etc/nginx/nginx.conf.template → /etc/nginx/nginx.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/http.conf.template → /etc/nginx/site-opts.d/http.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/https.conf.template → /etc/nginx/site-opts.d/https.conf...
ℹ️ NOTICE (init-webserver-config): Enabling NGINX site with SSL "off"...
[[17](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:18)-May-2024 11:42:01] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:01] ERROR: failed to post process the configuration
[17-May-[20](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:21)24 11:42:01] ERROR: FPM initialization failed
[17-May-2024 11:42:02] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:02] ERROR: failed to post process the configuration
[17-May-20[24](https://github.com/mathewparet/tesla-stats/actions/runs/9127638196/job/25098333516#step:4:25) 11:42:02] ERROR: FPM initialization failed
[17-May-2024 11:42:03] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:03] ERROR: failed to post process the configuration
[17-May-2024 11:42:03] ERROR: FPM initialization failed
[17-May-2024 11:42:04] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:04] ERROR: failed to post process the configuration
[17-May-2024 11:42:04] ERROR: FPM initialization failed
[17-May-2024 11:42:05] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:05] ERROR: failed to post process the configuration
[17-May-2024 11:42:05] ERROR: FPM initialization failed
[17-May-2024 11:42:06] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:06] ERROR: failed to post process the configuration
[17-May-2024 11:42:06] ERROR: FPM initialization failed
[17-May-2024 11:42:07] ALERT: [pool www] user has not been defined
[17-May-2024 11:42:07] ERROR: failed to post process the configuration
[17-May-2024 11:42:07] ERROR: FPM initialization failed
....
[17-May-2024 11:43:00] ALERT: [pool www] user has not been defined
[17-May-2024 11:43:00] ERROR: failed to post process the configuration
[17-May-2024 11:43:00] ERROR: FPM initialization failed
Error: The operation was canceled.

The last 3 lines keep repeating in an endless loop until I cancelled the workflow.

jaydrogers commented 4 months ago

If this is running in CI, then you should review our migration doc: https://serversideup.net/open-source/docker-php/docs/guide/migrating-from-v2-to-v3#cicd

Few things:

If you're running as root, PHP-FPM expects to have a user set in its config

We do that here:

############################################
# CI image
############################################
FROM base as ci

# Sometimes CI images need to run as root
# so we set the ROOT user and configure
# the PHP-FPM pool to run as www-data
USER root
RUN echo "user = www-data" >> /usr/local/etc/php-fpm.d/docker-php-serversideup-pool.conf && \
    echo "group = www-data" >> /usr/local/etc/php-fpm.d/docker-php-serversideup-pool.conf

Update your build targets

Your build target for CI should be updated:

  php:
    build:
      target: ci

This will ensure its running the CI build target of the example Dockerfile from our config.

mathewparet commented 4 months ago

A bit confused as to where the "Update your build targets" go. Is it in docker-compose.yml? When I installed spin it had generated the below files:

docker-compose.yml docker-compose.prod.yml docker-compose.dev.yml docker-compose.ci.yml

The docker-compose.ci.yml doesn't have a php > build > target section.

mathewparet commented 4 months ago

I updated the docker-compose.yml file and now deployment build and deployment completes, but the website shows "Service Unavailable".

docker ps seems healthy though

Screenshot 2024-05-18 at 9 0
4 19 pm

I've attached my docker compose files here.

docker-files.zip

On further investigation I changed .infrastructure/conf/traefik/prod/traefik.yml to suggest use of 8080 and 8443 but I get the below error on deployment:

failed to update config traefik.yml: Error response from daemon: rpc error: code = InvalidArgument desc = only updates to Labels are allowed

On Googling it suggested docker service rm traefek and docker config rm. However, these commands fail.

mathewparet commented 4 months ago

After some debugging, I managed to get all containers up but something weird is happening:

You can see that:

4 containers from the project image is running - 1 for queues, 1 for scheduled tasks and 2 for the actual nginx-fpm (the actual website). However, these 2 containers keep failing and restarting. The same image works well with the containers used to run php artisan queue:work and php artisan schedule:work.

Also traefik seems to be configured correctly (I updated the label to "traefik.http.services.my-php-app.loadbalancer.server.port=8080" so that it points to the new port used by nginx -fpm image.

Screenshot 2024-05-20 at 12 08 14 am

So I checked the logs of the frequently exiting container and this is what I found:

--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

🙌 To support Server Side Up projects visit:
https://serversideup.net/sponsor

-------------------------------------
ℹ️ Container Information
-------------------------------------

OS:            Debian GNU/Linux 12 (bookworm)
Docker user:   www-data
Docker uid:    33
Docker gid:    33
OPcache:       ❌ Disabled

👉 [NOTICE]: Improve PHP performance by setting PHP_OPCACHE_ENABLE=1 (recommended for production).
(init-webserver-config): Processing /etc/nginx/nginx.conf.template → /etc/nginx/nginx.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/http.conf.template → /etc/nginx/site-opts.d/http.conf...
(init-webserver-config): Processing /etc/nginx/site-opts.d/https.conf.template → /etc/nginx/site-opts.d/https.conf...
ℹ️ NOTICE (init-webserver-config): Enabling NGINX site with SSL "off"...
Checking for Laravel automations...
🚀 Clearing Laravel cache before attempting migrations...

   INFO  Configuration cache cleared successfully.  

✅ Database connection successful.
🚀 Running migrations...

   INFO  Nothing to migrate.  

🔐 Linking the storage...

   INFO  The [public/storage] link has been connected to [storage/app/public].  

🚀 Caching Laravel config...

   INFO  Configuration cached successfully.  

🚀 Caching Laravel routes...

   INFO  Routes cached successfully.  

🚀 Caching Laravel views...

   INFO  Blade templates cached successfully.  

🚀 Caching Laravel events...

   INFO  Events cached successfully.  

[19-May-2024 14:09:11] NOTICE: fpm is running, pid 148
[19-May-2024 14:09:11] NOTICE: ready to handle connections
127.0.0.1 -  19/May/2024:14:09:12 +0000 "GET /status" 200
127.0.0.1 -  19/May/2024:14:09:12 +0000 "GET /healthcheck" 200
✅ NGINX + PHP-FPM is running correctly.
127.0.0.1 -  19/May/2024:14:09:14 +0000 "GET /healthcheck" 200
127.0.0.1 -  19/May/2024:14:09:19 +0000 "GET /healthcheck" 200
10.0.1.15 - - [19/May/2024:14:09:20 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:20 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:20 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:20 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:20 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:20 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:20 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:20 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:20 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:21 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:21 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:20 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:21 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:20 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:21 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:20 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:21 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:21 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:21 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:21 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:21 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:21 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:22 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:22 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:22 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:23] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 5 total children
127.0.0.1 -  19/May/2024:14:09:22 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:22 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:23 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:24 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:22 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:24 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:24 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:23 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:24 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:24] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 6 total children
10.0.1.15 - - [19/May/2024:14:09:24 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:24 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:23 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:23 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:23 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:23 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:25] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 7 total children
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:25 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:24 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:26 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:26 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:24 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:26 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:26 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:24 +0000 "GET /index.php" 404
[19-May-2024 14:09:26] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 8 total children
10.0.1.15 - - [19/May/2024:14:09:26 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:25 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:26 +0000 "GET /healthcheck" 200
10.0.1.15 - - [19/May/2024:14:09:26 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:25 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:25 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:25 +0000 "GET /index.php" 404
[19-May-2024 14:09:27] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 9 total children
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:27 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:26 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:28 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:25 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:28 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:28 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:26 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:28 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:26 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:28 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:28] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 10 total children
10.0.1.15 - - [19/May/2024:14:09:28 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:26 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:27 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:26 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:29] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 11 total children
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:29 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:27 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:27 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:27 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:28 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:28 +0000 "GET /index.php" 404
[19-May-2024 14:09:30] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 12 total children
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:30 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:28 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:31 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:31 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:28 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:31 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:31 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:28 +0000 "GET /index.php" 404
[19-May-2024 14:09:31] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 13 total children
10.0.1.15 - - [19/May/2024:14:09:31 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:29 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:31 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:29 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:29 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:32] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 14 total children
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:30 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:32 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:29 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:29 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:33 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:33 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:33 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:33 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:30 +0000 "GET /index.php" 404
[19-May-2024 14:09:33] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 15 total children
10.0.1.15 - - [19/May/2024:14:09:33 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:30 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:30 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:33 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:30 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:30 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:34] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 16 total children
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:34 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:31 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:35 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:35 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:31 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:35 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:31 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:35 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:35 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:35] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 17 total children
127.0.0.1 -  19/May/2024:14:09:32 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:35 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:32 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:31 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
[19-May-2024 14:09:36] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 18 total children
127.0.0.1 -  19/May/2024:14:09:32 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:32 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:33 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:33 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:36 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
2024/05/19 14:09:37 [error] 179#179: *173 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /healthcheck HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:8080"
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:33 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:37 +0000 "GET /healthcheck" 200
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:33 +0000 "GET /index.php" 404
[19-May-2024 14:09:37] WARNING: [pool my-php-app] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 19 total children
127.0.0.1 -  19/May/2024:14:09:33 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:37 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:38 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:34 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:33 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:38 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:38 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:38 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:34 +0000 "GET /index.php" 404
[19-May-2024 14:09:38] WARNING: [pool my-php-app] server reached pm.max_children setting (20), consider raising it
10.0.1.15 - - [19/May/2024:14:09:38 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:38 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:34 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:34 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:35 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:35 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:39 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:35 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:40 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:35 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:40 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:35 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:40 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:40 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:40 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:35 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:40 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:36 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:36 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:36 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:36 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:41 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:36 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:42 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:37 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:42 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:37 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:37 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:42 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:42 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:38 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:42 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:42 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:38 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:37 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:38 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:39 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:39 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:43 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:39 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:39 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:40 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:40 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:44 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:40 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:45 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:45 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:45 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:41 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:40 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:45 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:45 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:41 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:41 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:45 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:41 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
2024/05/19 14:09:46 [error] 178#178: *289 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /healthcheck HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:8080"
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:42 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:41 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:42 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:46 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:42 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:47 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:42 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:47 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:47 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:43 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:47 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:43 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:47 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:43 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:47 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:43 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:43 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:44 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:44 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:44 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:48 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:49 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:49 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:44 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:49 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:45 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:49 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:49 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:49 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:45 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:45 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:45 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:45 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /healthcheck" 200
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:46 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:46 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:50 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:46 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:46 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:47 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:47 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:51 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:47 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:47 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:52 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:47 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:52 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:47 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:52 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:52 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:52 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:48 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:48 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:52 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:48 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:48 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:49 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:49 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:53 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:54 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:54 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:54 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:54 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:54 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:54 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:50 +0000 "GET /index.php" 404
2024/05/19 14:09:54 [error] 178#178: *407 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /healthcheck HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:8080"
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:51 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:51 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:51 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:55 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:56 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:51 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:56 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:52 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:52 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:56 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:52 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:52 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:56 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:56 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:56 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:52 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:53 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:52 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:53 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:53 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:57 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:54 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:53 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:54 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:54 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:58 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:54 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:54 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:54 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:59 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:59 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:59 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:55 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:59 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:55 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:09:59 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:09:59 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:55 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:56 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:56 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:56 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:56 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:00 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:01 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:56 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:01 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:01 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:01 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:01 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:01 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:57 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:02 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:58 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:10:03 +0000 "GET /healthcheck" 200
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:58 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
2024/05/19 14:10:03 [error] 178#178: *521 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /healthcheck HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:8080"
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:59 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:09:59 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:03 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:59 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:04 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:59 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:04 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:10:01 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:04 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:09:59 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:04 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"
127.0.0.1 -  19/May/2024:14:10:00 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:10:00 +0000 "GET /index.php" 404
127.0.0.1 -  19/May/2024:14:10:00 +0000 "GET /index.php" 404
10.0.1.15 - - [19/May/2024:14:10:04 +0000] "GET /ping HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"

index.php definitely exists, coz I logged in directly to the container's shell and I can see my code is there fully.

Curious why the containers are failing.

My docker-compose.prod.yml looks like this:

version: '3.8'
services:

  traefik:
      networks:
          - web-public
      ports:
        - "80:80"
        - "443:443"
      deploy:
        update_config:
          parallelism: 1
          delay: 5s
          order: stop-first
        placement:
          constraints:
            - node.role==manager
      volumes:
        # Add Docker as a mounted volume, so that Traefik can read the labels of other services
        - /var/run/docker.sock:/var/run/docker.sock:ro
        - certificates:/certificates
      configs:
        - source: traefik
          target: /etc/traefik/traefik.yml

  mariadb:
    networks:
      - web-public
    environment:
        MARIADB_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
        MARIADB_DATABASE: "${DB_NAME}"
        MARIADB_USER: "${DB_USERNAME}"
        MARIADB_PASSWORD: "${DB_PASSWORD}"
    deploy:
      placement:
        constraints:
          - node.role==manager
    volumes:
      - database_data:/var/lib/mysql
      - database_custom_conf:/etc/mysql/conf.d
      - database_shared:/shared

  ssh:
    # We use an SSH image so we can securely tunnel into the Docker network with 
    # tools like Sequel Pro, TablePlus, Sequel Ace, etc.
    # Learn more how to secure your tunnel here: https://github.com/serversideup/docker-ssh
    image: serversideup/docker-ssh
    ports:
      - target: 2222
        published: 2222
        mode: host
    environment:
      # Change the keys below to your own keys 
      AUTHORIZED_KEYS: >
        "# Start Keys
         ssh-rsa REDACTED
         # End Keys"
      # Be sure to configure the allowed IP addresses too
      ALLOWED_IPS: "AllowUsers *@*"
    volumes:
      - tunnel_ssh_host_keys:/etc/ssh/ssh_host_keys
    networks:
        - web-public

  php:
    image: ${DEPLOYMENT_IMAGE_PHP} # 👈 Be sure to change this to your own image
    networks:
      - web-public
    volumes:
      - "storage_private:/var/www/html/storage/app/private/"
      - "storage_public:/var/www/html/storage/app/public/"
      - "storage_sessions:/var/www/html/storage/framework/sessions"
      - "storage_logs:/var/www/html/storage/logs"
    environment:
      PHP_FPM_POOL_NAME: "my-php-app"
      AUTORUN_ENABLED: "true"
      AUTORUN_LARAVEL_MIGRATION: "true"
    deploy:
      replicas: 2
      update_config:
        parallelism: 1
        delay: 5s
        order: start-first
      labels:
        - "traefik.enable=true"
        - "traefik.http.routers.my-php-app.rule=${TRAEFIK_HOST_RULE}"
        - "traefik.http.routers.my-php-app.entrypoints=websecure"
        - "traefik.http.routers.my-php-app.tls=true"
        - "traefik.http.routers.my-php-app.tls.certresolver=letsencryptresolver"
        - "traefik.http.services.my-php-app.loadbalancer.server.port=8080"
        - "traefik.http.services.my-php-app.loadbalancer.server.scheme=http"
        # Health check
        - "traefik.http.services.my-php-app.loadbalancer.healthcheck.path=/ping"
        - "traefik.http.services.my-php-app.loadbalancer.healthcheck.interval=100ms"
        - "traefik.http.services.my-php-app.loadbalancer.healthcheck.timeout=75ms"
        - "traefik.http.services.my-php-app.loadbalancer.healthcheck.scheme=http"

  task:
    image: ${DEPLOYMENT_IMAGE_PHP}
    command: php artisan schedule:work
    environment:
      PHP_FPM_POOL_NAME: "my-app_task"
    networks:
      - web-public
    volumes:
      - "storage_private:/var/www/html/storage/app/private/"
      - "storage_public:/var/www/html/storage/app/public/"
      - "storage_sessions:/var/www/html/storage/framework/sessions"
      - "storage_logs:/var/www/html/storage/logs"

  queue:
    image: ${DEPLOYMENT_IMAGE_PHP}
    command: php artisan queue:work
    environment:
      PHP_FPM_POOL_NAME: "my-app_queue"
    networks:
      - web-public
    volumes:
      - "storage_private:/var/www/html/storage/app/private/"
      - "storage_public:/var/www/html/storage/app/public/"
      - "storage_sessions:/var/www/html/storage/framework/sessions"
      - "storage_logs:/var/www/html/storage/logs"

configs:
  traefik:
    name: "traefik-v3.yml"
    file: ./.infrastructure/conf/traefik/prod/traefik.yml

volumes:
  certificates:
  database_data:
  database_custom_conf:
  database_shared:
  storage_private:
  storage_public:
  storage_sessions:
  storage_logs:
  tunnel_ssh_host_keys:

networks:
  web-public:
jaydrogers commented 4 months ago

You can run a docker service ls to view your service names. Then run a docker service logs <service-name> to view the logs.

To follow the logs:

docker service logs -f <service-name>

This should help you find the error.

More documentation: https://docs.docker.com/reference/cli/docker/service/

sanneterpstra commented 2 months ago

@mathewparet were you able to figure out what the problem was? I’m at the same errors right now

sanneterpstra commented 2 months ago

After some more debugging I figured it out. The health check from Traefik gets a 499 response from the php container on /ping. This should be /healthcheck. Checkout this commit on serversideup/docker-php

The PHP service in docker.compose.prod.yml has the following label: "traefik.http.services.my-php-app.loadbalancer.healthcheck.path=/ping"

This should be: "traefik.http.services.my-php-app.loadbalancer.healthcheck.path=/healthcheck"

This is because NGINX is configured to listen to /healthcheck and not /ping as per /etc/nginx/site-opts.d/http.conf:

location /healthcheck {

    access_log off;

    # set max 5 seconds for healthcheck
    fastcgi_read_timeout 5s;

    include        fastcgi_params;
    fastcgi_param  SCRIPT_NAME     /healthcheck;
    fastcgi_param  SCRIPT_FILENAME /healthcheck;
    fastcgi_pass   127.0.0.1:9000;
}

I created a pull request the fix this.