PrestaShop / PrestaShop/docker

Autoinstall will fail the container to start

Open
#279 1 comment 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

I ve tested tons of old and new images from docker hub ( 1.6 / 1.7 ) all of theme fail if I set AUTO_INSTALL=1 with

app_1_2276430c3565 | * Checking if db is available...
app_1_2276430c3565 |
app_1_2276430c3565 | * DB server db is available, let's continue !
app_1_2276430c3565 |
app_1_2276430c3565 | * Setting up install lock file...
app_1_2276430c3565 |
app_1_2276430c3565 | * Reapplying PrestaShop files for enabled volumes ...
app_1_2276430c3565 | /tmp/docker_run.sh: 51: [: !=: unexpected operator
app_1_2276430c3565 |
app_1_2276430c3565 | * No pre-install script found, let's continue...
app_1_2276430c3565 |
app_1_2276430c3565 | * Renaming admin folder as admin001 ...
app_1_2276430c3565 |
app_1_2276430c3565 | * Drop mysql database...
app_1_2276430c3565 |
app_1_2276430c3565 | * Dropping existing database prestashop...
app_1_2276430c3565 |
app_1_2276430c3565 | * Installing PrestaShop, this may take a while ...
app_1_2276430c3565 |
app_1_2276430c3565 | * Launching the installer script...
app_1_2276430c3565 | Could not open input file: /var/www/html//index_cli.php

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

Start by tracing the AUTO_INSTALL=1 startup path and inspect the /tmp/docker_run.sh failure at line 51. Check why the installer invokes /var/www/html//index_cli.php for the tested PrestaShop 1.6 and 1.7 images. Done means the container completes autoinstall and starts without the missing-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.