PrestaShop / PrestaShop/docker

Timeout reaching the Homepage after Prestashop installation

Open
#293 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
281
Forks
190
PR merge metrics
No merged PRs in 30d

Description

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:
image

I have increased the PHP response limit and memory limit in the container php.ini, but no luck...

Maybe anyone experienced that...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the commands for PrestaShop 1.7.8.3 on an M1 Mac with Docker Desktop and inspect the container output after the successful installation. Start with the Apache access log showing the 302 response and the container php.ini changes; compare behavior at localhost:8080 and document a confirmed cause and reproducible fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.