magento / magento/magento-cloud-docker

Fatal error while settting up local docker setup

Open
#302 7 comments 0 reactions 0 assignees View on GitHub
bug report community Progress: ready for grooming
Dominant language
PHP
Stars
277
Forks
187
PR merge metrics
No merged PRs in 30d

Description

### Preconditions

1. Magento Commerce 2.4.1 hosted on Magento cloud
2. Local Environment : Ubuntu

### Steps to reproduce

1. Clone repo using mgc get
2. Modied docker-compose.yml for db changes,
- MYSQL_ROOT_PASSWORD=cloud
- MYSQL_DATABASE=cloud
- MYSQL_USER=cloud
- MYSQL_PASSWORD=cloud
3. Renamed config.php.dist to config.php under .docker directory
4. mgc db:dump to get sql and copy to .docker/mysql/docker-entrypoint-initdb.d directory
2. curl https://raw.githubusercontent.com/magento/magento-cloud-docker/1.2.1/bin/init-docker.sh \| bash
3. ./vendor/bin/ece-docker build:compose --mode="developer"
4. docker-sync start (Optional)
5. docker-compose up -d
6. docker-compose run --rm deploy cloud-deploy

### Expected result

1. It should work

### Actual result

1. While installing magento in terminal got errors see attached screenshot

![Selection_038](https://user-images.githubusercontent.com/36662131/103360935-14ad5b80-4adf-11eb-9d4c-350368989603.png)
![Selection_039](https://user-images.githubusercontent.com/36662131/103362340-740b6b80-4adf-11eb-976e-6df7ed99623a.png)
![Selection_040](https://user-images.githubusercontent.com/36662131/103362533-81285a80-4adf-11eb-8f68-9f60d6db6701.png)

By seeing terminal output its lopping upgrade command.

Any help would be appreciate. Checked with magento enterprise support answered like no support for local setup!! lol

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported sequence on Ubuntu, reviewing the modified docker-compose.yml and .docker/config.php, then capture the terminal output from init-docker.sh, ece-docker build:compose, and cloud-deploy. Compare the setup with the Magento Commerce 2.4.1 environment and determine why the upgrade command loops; done means local deployment completes without the reported fatal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, mysql, php
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.