Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Frantz-Renard opened this issue Apr 1, 2024 · 1 comment
Open

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

Frantz-Renard opened this issue Apr 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Frantz-Renard
Copy link

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:
@Frantz-Renard Frantz-Renard added the bug Something isn't working label Apr 1, 2024
@jawys
Copy link
Contributor

jawys commented Apr 23, 2024

Hey @Frantz-Renard in line 32 you mount ./php/craft/html/index.php:/php/craft/htm/lindex.php is htm/lindex.php right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants