Can not install prestashop (develop) in docker (nginx + fpm) configuration.
A working configuration.
Steps to reproduce the behavior:
docs/docker/nginx_fpm/docker-compose upLogs
In nginx container logs:
2020/05/17 14:56:26 [error] 6#6: *19 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: MY_IP, server: _, request: "GET /favicon.ico HTTP/1.1", host: "HOST:8081", referrer: "http://HOST:8081/"
MY_IP - - [17/May/2020:14:56:26 +0000] "GET /favicon.ico HTTP/1.1" 500 595 "http://HOST:8081/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
2020/05/17 14:56:37 [info] 6#6: *20 client closed connection while waiting for request, client: MY_IP, server: 0.0.0.0:80
2020/05/17 14:56:42 [error] 6#6: *21 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: MY_IP, server: _, request: "GET /favicon.ico HTTP/1.1", host: "HOST:8081", referrer: "http://HOST:8081/install"
MY_IP - - [17/May/2020:14:56:42 +0000] "GET /favicon.ico HTTP/1.1" 500 595 "http://HOST:8081/install" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
2020/05/17 14:56:53 [info] 6#6: *22 client closed connection while waiting for request, client: MY_IP, server: 0.0.0.0:80
2020/05/17 14:56:53 [error] 6#6: *23 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: MY_IP, server: _, request: "GET /favicon.ico HTTP/1.1", host: "HOST:8081", referrer: "http://HOST:8081/install/index.php"
MY_IP - - [17/May/2020:14:56:53 +0000] "GET /favicon.ico HTTP/1.1" 500 595 "http://HOST:8081/install/index.php" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
2020/05/17 14:56:53 [error] 6#6: *24 rewrite or internal redirection cycle while internally redirecting to "/index.php/index.php&", client: MY_IP, server: _, request: "GET /install/index.php HTTP/1.1", host: "HOST:8081"
MY_IP - - [17/May/2020:14:56:53 +0000] "GET /install/index.php HTTP/1.1" 500 595 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
2020/05/17 14:56:54 [error] 6#6: *25 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: MY_IP, server: _, request: "GET /favicon.ico HTTP/1.1", host: "HOST:8081", referrer: "http://HOST:8081/install/index.php"
MY_IP - - [17/May/2020:14:56:54 +0000] "GET /favicon.ico HTTP/1.1" 500 595 "http://HOST:8081/install/index.php" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
Thanks for opening this issue! We will help you to keep its state consistent
Also, tried ./prestashopCli.sh:
./prestashopCli.sh --clone
./prestashopCli.sh -b 1.7.6.x -v 1.7.6.5 -d nginx_fpm
cd nginx_fpm/prestashop
docker-compose up
And that fails too with different errors: vendor/ is empty at most cases
@PrestaShop/prestashop-core-developers can you check this issue :) ?
Hi everyone.
AFAIK, we need to clean this directory, many parts of it are outdated :disappointed:
Ping @PierreRambaud What should we do on this issue ?
@Progi1984 Make sure we can remove the docs directory, all documents not in the devdocs should be on it
@PierreRambaud Done in #20581
The nginx configuration has moved to the devdoc, feel free to upgrade the doc if needed:
https://devdocs.prestashop.com/1.7/basics/installation/nginx/