Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.

nginx: [alert] could not open error log file #91

@Frantz-Renard

Description

@Frantz-Renard

Description

The template seems to have fundamental errors. When I use the exact same language and try to recreate the nginx and php containers only since I do not need a postgre nor a redis container, I always get the same nginx: [alert] that cannot open the error log in the wrong path. It should save it to "/var/logs/*". As a result my php container does not run and exits at (1) whenever I run docker compose.

Steps to reproduce

  1. Using the same example dockerfile example (without postgre & redis, only nginx and and php)
  2. replacing the volume paths to mount
    Screenshot 2024-04-01 at 3 38 37 PM
    Screenshot 2024-04-01 at 3 39 15 PM
    Screenshot 2024-04-01 at 3 39 35 PM
    Screenshot 2024-04-01 at 3 40 10 PM

Additional info

  • Craft version:
  • PHP version:
  • Database driver & version:
  • Plugins & versions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions