PrestaShop / PrestaShop/docker

Starting point for new contributors, some issues

Open
#231 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hey,

as I was checking docs yesterday I wanted to "simulate" a road for new contributors to be able to help with a project using Docker, those are my Issues.

Everything based on documentation

  1. memory_limit is way too low https://github.com/PrestaShop/docker/blob/master/base/config_files/php.ini#L393 - I wasn't able to go through first steps of the Installer scripts because of this
  2. For me, on MacOS Catalina Installer script completely doesn't work because of an issue with modules installation/update.
    Error:
Next GuzzleHttp\Exception\RequestException: SSL CA bundle not found: /var/www/html/var/cache/dev/cacert.pem in /var/www/html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:51

By default PrestaShop generates cacert.pem but we don't have it for Installer script, maybe it's related to next issue...

  1. Just to make sure that it's not CLI installer fault I went to:
    http://localhost:8001/install-dev/index.php
    Unfortunately there are two issues:
  • no proper /var/cache chmods
  • no intl extension (but it's not blocking error)

I'm going to improve documentation because we miss many useful informations, how to change installation options, disable assets creation (after refreshing container) etc. but I'm wondering what can we do about this issue with SSL CA bundle? I was trying to manually copy this file, set proper chmods for var/cache but w/o success 🤔

One more question, suggestion, what y'all think about adding "docker_run_before.sh", and "docker_run_after.sh"? (bafter build, before enabling network)

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 with the linked Docker installation documentation, then inspect base/config_files/php.ini at line 393 and reproduce the installer flow through install-dev/index.php. Check the reported SSL CA bundle, var/cache permissions, and intl-extension errors; done would require a clearly scoped fix or documented resolution for the affected Docker installation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, macos, 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.