tiredofit/docker-nginx-php-fpm

After pulling latest_php8.0 docker image error in the logs

woutr-nl opened this issue · 1 comments

Summary

After pulling the image and restarting my docker-compose.yml i got the error;

[12-Mar-2022 20:52:36] WARNING: [pool www] child 547429 said into stderr: "NOTICE: PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /www/html/overrides/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 38" [12-Mar-2022 20:52:36] WARNING: [pool www] child 547429 said into stderr: "NOTICE: PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /www/html/vendor/symfony/debug/Exception/FatalErrorException.php on line 1" [12-Mar-2022 20:52:41] NOTICE: Terminating ... [12-Mar-2022 20:52:41] NOTICE: exiting, bye-bye!

Steps to reproduce

Pulling the latest_php8.0 image (?)

What is the expected correct behavior?

Not exiting the freescout instance 8D

Relevant logs and/or screenshots

Environment

  • Image version / tag: freescout:latest_8.0
  • Host OS: Ubuntu 20.04
version: '2'

services:

freescout-app:
image: tiredofit/freescout:latest_php8.0
container_name: freescout-app
links:
- freescout-db
volumes:
### If you want to perform customizations to the source and have access to it, then uncomment this line - This includes modules
#- ./data:/www/html
### Or, if you just want to use Stock Freescout and hold onto persistent files like cache and session use this, one or the other.
- ./data:/data
### If you want to just keep the original source and add additional modules uncomment this line
- ./modules:/www/html/Modules
- ./logs/:/www/logs
environment:
- CONTAINER_NAME=##
- DB_HOST=#-db
- DB_NAME=#
- DB_USER=#
- DB_PASS=#
- SITE_URL=#
- ADMIN_EMAIL=#
- ADMIN_PASS=#!
- ENABLE_SSL_PROXY=TRUE
- DISPLAY_ERRORS=FALSE
- TIMEZONE=Europe/Amsterdam
labels:
- "traefik.http.routers.freescout.rule=Host(#)"
- "traefik.http.routers.freescout.tls=true"
- "traefik.http.routers.freescout.tls.certresolver=lets-encrypt"
- "traefik.http.services.freescout.loadbalancer.server.port=80"
- "traefik.docker.network=web"
networks:
- web
- internal
restart: always

freescout-db:
image: tiredofit/mariadb
container_name: freescout-db
volumes:
- ./db:/var/lib/mysql
environment:
- ROOT_PASS=#
- DB_NAME=#
- DB_USER=#
- DB_PASS=#

  - CONTAINER_NAME=freescout-db
networks:
  - internal
restart: always
labels:
  - traefik.enable=false

networks:
web:
external: true
internal:
external: false

Possible fixes

Solved after an update of the docker-freescout image