docker
docker copied to clipboard
Timeout reaching the Homepage after Prestashop installation
Using Mac with M1 chip, and Docker Desktop.
Running the commands to create PS1783 for example:
docker network create prestashop-net
docker run -ti --name some-mysql --network prestashop-net -e MYSQL_ROOT_PASSWORD=admin -e MYSQL_DATABASE=prestashop -p 3307:3306 -d mysql:5.7
docker run -ti -v $PWD:/var/www/html/modules/themodule --name some-prestashop --network prestashop-net -e DB_SERVER=some-mysql -e PS_INSTALL_AUTO=1 -e DB_NAME=prestashop -e PS_FOLDER_ADMIN=admin1 -e PS_DEV_MODE=1 -e PS_ENABLE_SSL=1 -p 8080:80 -d prestashop/prestashop:1.7.8.3-apache
Then the script of the image tells:
* Checking if some-mysql is available...
* DB server some-mysql is available, let's continue !
* Setting up install lock file...
* Reapplying PrestaShop files for enabled volumes ...
* No pre-install script found, let's continue...
* Renaming admin folder as admin1 ...
* Installing PrestaShop, this may take a while ...
* Launching the installer script...
-- Installation successful! --
* Removing install folder...
* No post-install script found, let's continue...
* Setup completed, removing lock file...
* Almost ! Starting web server now
* No init script found, let's continue...
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.3. Set the 'ServerName' directive globally to suppress this message
[Fri Feb 11 10:07:38.005956 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.51 (Debian) configured -- resuming normal operations
[Fri Feb 11 10:07:38.007513 2022] [core:notice] [pid 1] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
And when I want to hit the localhost:8080
the last log is:
172.19.0.1 - - [11/Feb/2022:10:07:46 +0000] "GET / HTTP/1.1" 302 199 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0"
and connection timeouts:
I have increased the PHP response limit and memory limit in the container php.ini, but no luck...
Maybe anyone experienced that...
Same here on wsl2 with the latest docker image 1.7.8.5, with install auto and no dev mode
Hi,
I got this problem too with prestashop/prestashop:8.0.4-apache
using Docker Desktop on Mac Silicon M1, with PS_INSTALL_AUTO=1 and no dev mode.