markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.59k stars 1.01k forks source link

Automated Setup (New Project) #1133

Closed GNUXDAR closed 7 months ago

GNUXDAR commented 7 months ago

Description Automated Setup (New Project) Bad install wit h automated setup

Steps To Reproduce

  1. Create your project directory then go into it:
    
    mkdir -p ~/Sites/magento
    cd $_

Run this automated one-liner from the directory you want to install your project.

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.7 community


**Expected Result**
Magento installed

**Actual Result**
![Captura desde 2024-04-15 16-40-01](https://github.com/markshust/docker-magento/assets/6179849/8fc5162b-21b6-465d-8a22-83ee8ade8b89)
YevhenZvieriev commented 7 months ago

Hi, @GNUXDAR

I'm unable to replicate it, and the one-liner script works for me.

It is not the issue, you should create a discussion, but I'll help you.

If you want to install the new project, you should execute the one-line script in the empty folder.

But I see that in your folder there is the development branch. There is no branch with this name in the docker-magento repository.

Are you sure you are not installing an existing project?

markshust commented 7 months ago

I'm also unable to replicate this issue. I'm closing it out pending more details on your setup/etc.

GNUXDAR commented 7 months ago

No, I'm installing a new project. I've installed it before, but for some reason, I can't do it now XD.

El dom, 21 abr 2024 a las 3:36, Jenyamba @.***>) escribió:

Hi, @GNUXDAR https://github.com/GNUXDAR

I'm unable to replicate it, and the one-liner script works for me.

It is not the issue, you should create a discussion, but I'll help you.

If you want to install the new project, you should execute the one-line script in the empty folder.

But I see that in your folder there is the development branch. There is no branch with this name in the docker-magento repository.

Are you sure you are not installing an existing project?

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2067960582, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCP42FQSLYWLOX2SBA3Y6N3ATAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXHE3DANJYGI . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

I assume you received an error while attempting to install a new Magento 2 instance within a folder where Magento 2 is already installed.

It is recommended to create a new folder for each Magento instance every time you set up a new one so try to create a new folder for example magento247 for Magento 2.4.7, and execute the one-line script there, you won't get an error.

mkdir magento247
cd $_

# Run this automated one-liner from the directory you want to install your project.
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.7 community

In any case, I'll help you with pleasure.

GNUXDAR commented 7 months ago

[image: image.png]

You were absolutely right, the strange thing is that I didn't have any project in that directory, but following the premise of what you were saying, I changed the directory location and was able to install everything without any problems, all very satisfactorily. Thank you very much Jenyamba and Mark Shusts.

🧞 Thanks.

El mar, 23 abr 2024 a las 17:22, Jenyamba @.***>) escribió:

I assume you received an error while attempting to install a new Magento 2 instance within a folder where Magento 2 is already installed.

It is recommended to create a new folder for each Magento instance every time you set up a new one so try to create a new folder for example magento247 for Magento 2.4.7, and execute the one-line script there, you won't get an error.

mkdir magento247 cd $_

Run this automated one-liner from the directory you want to install your project.

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.7 community

In any case, I'll help you with pleasure.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2073570964, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCLGXI6P264Y65V3J7DY63NKRAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGU3TAOJWGQ . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

GNUXDAR commented 7 months ago

Good morning, I apologize for the inconvenience. I installed Magento 2.4.4 in an existing project that uses Elasticsearch. In the compose.yaml file, I changed the PHP image version to the one I needed: YAML

phpfpm:

image: markoshust/magento-php:8.3-fpm-2

image: markoshust/magento-php:8.1-fpm volumes: *appvolumes env_file: env/phpfpm.env

extra_hosts: *appextrahosts

As shown in the following images, I made the necessary changes, but I'm now encountering an Elasticsearch error. I hope you can assist me with this issue. Thank you.

El mié, 24 abr 2024 a las 17:25, Arturo Cabrera @.***>) escribió:

[image: image.png]

You were absolutely right, the strange thing is that I didn't have any project in that directory, but following the premise of what you were saying, I changed the directory location and was able to install everything without any problems, all very satisfactorily. Thank you very much Jenyamba and Mark Shusts.

🧞 Thanks.

El mar, 23 abr 2024 a las 17:22, Jenyamba @.***>) escribió:

I assume you received an error while attempting to install a new Magento 2 instance within a folder where Magento 2 is already installed.

It is recommended to create a new folder for each Magento instance every time you set up a new one so try to create a new folder for example magento247 for Magento 2.4.7, and execute the one-line script there, you won't get an error.

mkdir magento247 cd $_

Run this automated one-liner from the directory you want to install your project.

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.7 community

In any case, I'll help you with pleasure.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2073570964, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCLGXI6P264Y65V3J7DY63NKRAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGU3TAOJWGQ . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Hello, @GNUXDAR

Can you execute the bin/start and show me the result of the bin/docker-stats?

GNUXDAR commented 7 months ago

bin/start [image: image.png]

bin/docker-stats [image: image.png]

El sáb, 27 abr 2024 a las 15:26, Jenyamba @.***>) escribió:

Hello, @GNUXDAR https://github.com/GNUXDAR

Can you execute the bin/start and show me the result of the bin/docker-stats?

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081173202, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCISNFUPU7Y4265WL73Y7QCYPAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE3TGMRQGI . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Unfortunately, I can't see your images.

GNUXDAR commented 7 months ago

What should I do now, how do I get Elasticsearch to work?

El sáb, 27 abr 2024 a las 15:41, Jenyamba @.***>) escribió:

Unfortunately, I can't see your images.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081176550, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCKEB7VQVRZNGWYTJITY7QEP7AVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE3TMNJVGA . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

I should see the result of the bin/docker-stats to ensure that you ran the ElasticSearch container.

GNUXDAR commented 7 months ago

I already showed you that in the images I sent you. When I run the command, it throws me

[image: Captura desde 2024-04-27 15-54-45.png]

YevhenZvieriev commented 7 months ago

I can't see your images because you sent this via email.

GNUXDAR commented 7 months ago

+----------------------------------------------------+--------------+----------+----------+------------------------+ | NAME | CONTAINER ID | CPU % | MEM % | MEM USAGE / MEM LIMIT | +----------------------------------------------------+--------------+----------+----------+------------------------+ | magento244-elasticsearch-1 | 0037981965e8 | 0.34% | 46.78% | 5.262GiB 11.25GiB | | magento244-phpmyadmin-1 | cb0117e6c47f | 0.01% | 0.19% | 21.95MiB 11.25GiB | | magento244-redis-1 | e8bda5ad5532 | 0.19% | 0.10% | 11.1MiB 11.25GiB | | magento244-db-1 | d01d7211e334 | 0.02% | 0.79% | 90.84MiB 11.25GiB | | magento244-rabbitmq-1 | b754a02499cd | 0.16% | 0.99% | 113.8MiB 11.25GiB | | magento244-mailcatcher-1 | ccbda9481f51 | 0.07% | 0.29% | 33.16MiB 11.25GiB | +----------------------------------------------------+--------------+----------+----------+------------------------+

El sáb, 27 abr 2024 a las 15:57, Jenyamba @.***>) escribió:

I can't see your images because you sent this via email.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081180963, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCJ3XKUTAYJ5X3K5TO3Y7QGMTAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DAOJWGM . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Ok, I got it!

I see that the Elasticsearch container ran.

Can you give me more details about your problem?

P.S. I don't see the phpfpm container run.

GNUXDAR commented 7 months ago

ok don't you see the images? How could I get him to see them?.

[+] Running 8/8 ✔ Container magento244-mailcatcher-1 Started 0.0s ✔ Container magento244-redis-1 Healthy 0.0s ✔ Container magento244-db-1 Healthy 0.0s ✔ Container magento244-rabbitmq-1 Healthy 0.0s ✘ Container magento244-elasticsearch-1 Error 0.0s ✔ Container magento244-phpmyadmin-1 Started 0.0s ✔ Container magento244-phpfpm-1 Created 0.0s ✔ Container magento244-app-1 Created 0.0s

El sáb, 27 abr 2024 a las 16:05, Jenyamba @.***>) escribió:

Ok, I got it!

I see that the Elasticsearch container ran.

Can you give me more details about your problem?

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081182377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCNCXCVWJSL5WZF5AVDY7QHIPAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DEMZXG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

GNUXDAR commented 7 months ago

log. @.***":"2024-04-27T21:09:15.432Z", "log.level": "WARN", "message":"received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.16.5:9200, remoteAddress=/192.168.16.5:46240}", "ecs.version": "1.2.0","service.name ":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name ":"elasticsearch[0037981965e8][transport_worker][T#6]","log.logger":"org.elasticsearch.http.netty4.Netty4HttpServerTransport","elasticsearch.cluster.uuid":"ohKm66l8Q8WSt5Db5xmeEA"," elasticsearch.node.id":"91Q-Kpz6TIWAsrDKJYSbNg","elasticsearch.node.name ":"0037981965e8","elasticsearch.cluster.name":"docker-cluster"}

El sáb, 27 abr 2024 a las 16:08, Arturo Cabrera @.***>) escribió:

ok don't you see the images? How could I get him to see them?.

[+] Running 8/8 ✔ Container magento244-mailcatcher-1 Started 0.0s ✔ Container magento244-redis-1 Healthy 0.0s ✔ Container magento244-db-1 Healthy 0.0s ✔ Container magento244-rabbitmq-1 Healthy 0.0s ✘ Container magento244-elasticsearch-1 Error 0.0s ✔ Container magento244-phpmyadmin-1 Started 0.0s ✔ Container magento244-phpfpm-1 Created 0.0s ✔ Container magento244-app-1 Created 0.0s

El sáb, 27 abr 2024 a las 16:05, Jenyamba @.***>) escribió:

Ok, I got it!

I see that the Elasticsearch container ran.

Can you give me more details about your problem?

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081182377, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCNCXCVWJSL5WZF5AVDY7QHIPAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DEMZXG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Did you comment out or remove the opensearch container in both the compose.yaml and compose.healthcheck.yaml files?

And also you should uncomment the elasticsearch container in both the compose.yaml and compose.healthcheck.yaml files.

GNUXDAR commented 7 months ago

compose.yaml

Mark Shust's Docker Configuration for Magento

(https://github.com/markshust/docker-magento)

Version 47.0.1

To use SSH, see https://github.com/markshust/docker-magento#ssh

Linux users, see https://github.com/markshust/docker-magento#linux

If you changed the default Docker network, you may need to replace

172.17.0.1 in this file with the result of:

docker network inspect bridge --format='{{(index .IPAM.Config

0).Gateway}}'

services: app: image: markoshust/magento-nginx:1.24-0 ports:

phpfpm:

image: markoshust/magento-php:8.3-fpm-2

image: markoshust/magento-php:8.1-fpm volumes: *appvolumes env_file: env/phpfpm.env

extra_hosts: *appextrahosts

db: image: mariadb:10.6 command: --max_allowed_packet=64M --optimizer_use_condition_selectivity=1 --optimizer_switch="rowid_filter=off" ports:

If you wish to use MySQL, comment out the mariadb db image above and

uncomment this block.

db:

image: mysql:8.0

command:

--max_allowed_packet=64M

--optimizer_use_condition_selectivity=1

--optimizer_switch="rowid_filter=off"

ports:

- "3306:3306"

env_file: env/db.env

volumes:

- dbdata:/var/lib/mysql

redis: image: redis:7.2-alpine ports:

opensearch:

image: markoshust/magento-opensearch:2.12-0

ports:

- "9200:9200"

- "9300:9300"

env_file: env/opensearch.env

environment:

- "discovery.type=single-node"

Avoid test failures due to small disks

More info at https://github.com/markshust/docker-magento/issues/488

- "cluster.routing.allocation.disk.threshold_enabled=false"

- "index.blocks.read_only_allow_delete"

Uncomment to set custom heap size to avoid memory errors

- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"

Uncomment to increase the virtual memory map count

- "max_map_count=262144"

If you wish to use Elasticsearch, comment out opensearch image above and

uncomment this block. Do the same in the composer.healthcheck.yaml file.

Additionally, if you are performing the manual setup, you will need to

update the bin/setup command to use the $ES_HOST variable as the value for

the --elasticsearch-host argument passed to bin/magento setup:install.

elasticsearch: image: markoshust/magento-elasticsearch:8.13-0 ports:

rabbitmq: image: markoshust/magento-rabbitmq:3.12-0 ports:

mailcatcher: image: sj26/mailcatcher ports:

Cloudflare tunnel support, uncomment to enable

tunnel:

container_name: cloudflared-tunnel

image: cloudflare/cloudflared:latest

command: tunnel run

env_file: env/cloudflare.env

Blackfire support, uncomment to enable

blackfire:

image: blackfire/blackfire:2

ports:

- "8307"

env_file: env/blackfire.env

Selenium support, uncomment to enable

selenium:

image: selenium/standalone-chrome-debug:3.8.1

ports:

- "5900:5900"

extra_hosts: *appextrahosts

volumes: appdata: dbdata: rabbitmqdata: sockdata: ssldata:

compose.healthcheck.yaml services: app: healthcheck: test: 'curl --fail 127.0.0.1:8000' depends_on: phpfpm: condition: service_started

phpfpm: depends_on: db: condition: service_healthy redis: condition: service_healthy

opensearch:

condition: service_healthy

rabbitmq: condition: service_healthy elasticsearch: condition: service_healthy

db: healthcheck: test: 'mysqladmin ping -h localhost -u root -pmagento' interval: 5s timeout: 5s retries: 30

redis: healthcheck: test: 'redis-cli ping || exit 1' interval: 5s timeout: 5s retries: 30

opensearch:

healthcheck:

test: 'curl --fail opensearch:9200/_cat/health >/dev/null || exit 1'

interval: 5s

timeout: 5s

retries: 30

elasticsearch: healthcheck: test: 'curl --fail elasticsearch:9200/_cat/health >/dev/null || exit 1' interval: 5s timeout: 5s retries: 30

rabbitmq: healthcheck: test: 'rabbitmq-diagnostics -q ping' interval: 5s timeout: 5s retries: 30

mailcatcher: healthcheck: test: 'wget --no-verbose --tries=1 --spider 127.0.0.1:1080 || exit 1'

setup-install

!/usr/bin/env bash

set -o errexit

DOMAIN=${1:-magento.test}

shellcheck source=../env/db.env

source env/db.env

shellcheck source=../env/elasticsearch.env

source env/elasticsearch.env

shellcheck source=../env/opensearch.env

source env/opensearch.env

shellcheck source=../env/magento.env

source env/magento.env

shellcheck source=../env/rabbitmq.env

source env/rabbitmq.env

shellcheck source=../env/redis.env

source env/redis.env

bin/clinotty bin/magento setup:install \ --db-host="$MYSQL_HOST" \ --db-name="$MYSQL_DATABASE" \ --db-user="$MYSQL_USER" \ --db-password="$MYSQL_PASSWORD" \ --base-url=https://"$DOMAIN"/ \ --base-url-secure=https://"$DOMAIN"/ \ --backend-frontname="$MAGENTO_ADMIN_FRONTNAME" \ --admin-firstname="$MAGENTO_ADMIN_FIRST_NAME" \ --admin-lastname="$MAGENTO_ADMIN_LAST_NAME" \ --admin-email="$MAGENTO_ADMIN_EMAIL" \ --admin-user="$MAGENTO_ADMIN_USER" \ --admin-password="$MAGENTO_ADMIN_PASSWORD" \ --language="$MAGENTO_LOCALE" \ --currency="$MAGENTO_CURRENCY" \ --timezone="$MAGENTO_TIMEZONE" \ --amqp-host="$RABBITMQ_HOST" \ --amqp-port="$RABBITMQ_PORT" \ --amqp-user="$RABBITMQ_DEFAULT_USER" \ --amqp-password="$RABBITMQ_DEFAULT_PASS" \ --amqp-virtualhost="$RABBITMQ_DEFAULT_VHOST" \ --cache-backend=redis \ --cache-backend-redis-server="$REDIS_CACHE_BACKEND_SERVER" \ --cache-backend-redis-db="$REDIS_CACHE_BACKEND_DB" \ --page-cache=redis \ --page-cache-redis-server="$REDIS_PAGE_CACHE_SERVER" \ --page-cache-redis-db="$REDIS_PAGE_CACHE_DB" \ --session-save=redis \ --session-save-redis-host="$REDIS_SESSION_SAVE_HOST" \ --session-save-redis-log-level=4 \ --session-save-redis-db=2 \ --elasticsearch-host="$ES_HOST" \ --elasticsearch-port="$ES_PORT" \ --search-engine=elasticsearch7 \ --use-rewrites=1 \ --cleanup-database \ --no-interaction

El sáb, 27 abr 2024 a las 16:15, Jenyamba @.***>) escribió:

Did you comment out or remove the opensearch container in both the compose.yaml https://github.com/markshust/docker-magento/blob/master/compose/compose.yaml#L69-L84 and compose.healthcheck.yaml https://github.com/markshust/docker-magento/blob/master/compose/compose.healthcheck.yaml#L36-L41 files?

And also you should uncomment the elasticsearch container in both the compose.yaml https://github.com/markshust/docker-magento/blob/master/compose/compose.yaml#L69-L84 and compose.healthcheck.yaml https://github.com/markshust/docker-magento/blob/master/compose/compose.healthcheck.yaml#L43-L48 files.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081184369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCKB6KXJHJG2FK3MCLTY7QIPHAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DIMZWHE . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

The recommended version of Elasticsearch for Magento 2.4.4 is 7.16

Can you try to use the Elasticsearch 7.16-0 image instead of 8.13-0?

GNUXDAR commented 7 months ago

is it: image: markoshust/magento-elasticsearch:7.16-0

El sáb, 27 abr 2024 a las 16:27, Jenyamba @.***>) escribió:

The recommended version of Elasticsearch for Magento 2.4.4 is 7.16

Can you try to use the Elasticsearch 7.16-0 image instead of 8.13-0?

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081186981, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCN4QL2BOQPDUS7WNS3Y7QJ3DAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DMOJYGE . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Yes, sure

GNUXDAR commented 7 months ago

this ok? phpfpm:

image: markoshust/magento-php:8.3-fpm-2

image: markoshust/magento-php:8.1-fpm

El sáb, 27 abr 2024 a las 16:30, Jenyamba @.***>) escribió:

Yes, sure

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081187668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCIGMVM7D7SIOKNPQITY7QKFTAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DONRWHA . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Yes, it looks good! Magento 2.4.4 is compatible with PHP 8.1

You can use the bin/check-dependencies script, to check dependencies I developed this script to simplify the installation process.

GNUXDAR commented 7 months ago

T_T gnuxdar   development ?:13  ~/GNUXDAR/desweb/magento244  bin/magento setup:upgrade Cache types config flushed successfully Cache cleared successfully File system cleanup: /var/www/html/generated/code/Composer /var/www/html/generated/code/Everis /var/www/html/generated/code/Magento /var/www/html/generated/code/Manadev /var/www/html/generated/code/PayPal /var/www/html/generated/code/Psr /var/www/html/generated/code/Renovacion /var/www/html/generated/code/Symfony /var/www/html/generated/code/Telefonica /var/www/html/generated/code/Vass /var/www/html/generated/code/Yireo /var/www/html/pub/static/_cache /var/www/html/pub/static/deployed_version.txt /var/www/html/pub/static/frontend /var/www/html/var/view_preprocessed/pub Updating modules: Could not validate a connection to Elasticsearch. No alive nodes found in your cluster

El sáb, 27 abr 2024 a las 16:37, Jenyamba @.***>) escribió:

Yes, it looks good!

You can use the bin/check-dependencies script, to check dependencies this script should simplify your installation process.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081189196, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCMKNPOVVLERV5CZVVLY7QLCNAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGE4DSMJZGY . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

YevhenZvieriev commented 7 months ago

Good, it means that the previous issue was resolved.

I assume you got the Could not validate a connection to Elasticsearch. No alive nodes found in your cluster error because you executed the bin/setup-install script.

You shouldn't do this for an existing project.

The easiest solution for you is disabling these modules:

bin/magento module:disable {Magento_Elasticsearch,Magento_InventoryElasticsearch,Magento_Elasticsearch6,Magento_Elasticsearch7}

After disabling these modules, bin/magento setup:upgrade should work fine for you.

But I'd recommend you reinstall the Magento instance.

GNUXDAR commented 7 months ago

No, i execute the bin/start, remove of images and container try again build

El sáb, 27 abr 2024 a las 17:08, Jenyamba @.***>) escribió:

I assume you got this error because you executed the bin/setup-install script.

You shouldn't do this for an existing project.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081213665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCM6NBHBV26UW63H27TY7QOVXAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGIYTGNRWGU . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

GNUXDAR commented 7 months ago

more details: https://github.com/markshust/docker-magento/issues/1144

El sáb, 27 abr 2024 a las 17:18, Arturo Cabrera @.***>) escribió:

No, i execute the bin/start, remove of images and container try again build

El sáb, 27 abr 2024 a las 17:08, Jenyamba @.***>) escribió:

I assume you got this error because you executed the bin/setup-install script.

You shouldn't do this for an existing project.

— Reply to this email directly, view it on GitHub https://github.com/markshust/docker-magento/issues/1133#issuecomment-2081213665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPEYCM6NBHBV26UW63H27TY7QOVXAVCNFSM6AAAAABGP6Y5LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGIYTGNRWGU . You are receiving this because you were mentioned.Message ID: @.***>

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"

-- [image: https://twitter.com/gnuxdar] https://twitter.com/gnuxdar [image: https://www.youtube.com/user/gnuxdar] https://www.youtube.com/user/gnuxdar [image: https://twitter.com/gnuxdar] https://www.instagram.com/gnuxdar/

"Educar es acostumbrar al hombre al trabajo para hacer hombres útiles a la sociedad Simon Rodriguez"