markshust / docker-magento

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

Problem to install 2.4.5-p1 version #892

Closed edumaciel10 closed 1 year ago

edumaciel10 commented 1 year ago

Description I'm trying to install the magento2 using the docker-magento2, but I'm facing an problem

Steps To Reproduce

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

Expected Result Successfully install

Actual Result

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.5-p1 community
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in /Users/eduardomaciel/Projects/m2-t6/.git/
[+] Running 13/13
 ⠿ Network m2-t6_default          Created                                                          0.0s
 ⠿ Volume "m2-t6_appdata"         Created                                                          0.0s
 ⠿ Volume "m2-t6_dbdata"          Created                                                          0.0s
 ⠿ Volume "m2-t6_rabbitmqdata"    Created                                                          0.0s
 ⠿ Volume "m2-t6_ssldata"         Created                                                          0.0s
 ⠿ Volume "m2-t6_sockdata"        Created                                                          0.0s
 ⠿ Container m2-t6-mailcatcher-1  Started                                                          1.3s
 ⠿ Container m2-t6-opensearch-1   Healthy                                                         11.9s
 ⠿ Container m2-t6-redis-1        Healthy                                                          6.3s
 ⠿ Container m2-t6-rabbitmq-1     Healthy                                                          6.9s
 ⠿ Container m2-t6-db-1           Healthy                                                          6.3s
 ⠿ Container m2-t6-phpfpm-1       Started                                                         12.5s
 ⠿ Container m2-t6-app-1          Started                                                         12.7s
Composer auth has already been set up.
Fixing filesystem ownerships...
Filesystem ownerships fixed.
Creating a "magento/project-community-edition=2.4.5-p1" project at "./"
Installing magento/project-community-edition (2.4.5-p1)
  - Installing magento/project-community-edition (2.4.5-p1): Extracting archive
Created project in /var/www/html/.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 547 installs, 0 updates, 0 removals
  - Locking 2tvenom/cborencode (1.0.2)
  - Locking allure-framework/allure-codeception (1.5.2)
    ...Module Magento_InventoryApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryApi module
    ...Module Magento_InventorySalesApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySalesApi module
    ...Module Magento_InventoryCatalogApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalogApi module
    ...Module Magento_InventoryAdvancedCheckout recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryAdvancedCheckout module
    ...Module Magento_InventoryBundleImportExport recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryBundleImportExport module
    ...Module Magento_InventoryConfigurationApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryConfigurationApi module
    ...Module Magento_InventoryBundleProduct recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryBundleProduct module
    ...Module Magento_InventorySourceSelectionApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySourceSelectionApi module
    ...Module Magento_Inventory recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_Inventory module
    ...Module Magento_InventorySourceDeductionApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySourceDeductionApi module
    ...Module Magento_InventoryReservationsApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryReservationsApi module
    ...Module Magento_InventorySales recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySales module
    ...Module Magento_InventoryMultiDimensionalIndexerApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryMultiDimensionalIndexerApi module
    ...Module Magento_InventoryIndexer recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryIndexer module
    ...Module Magento_InventoryCatalogAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalogAdminUi module
    ...Module Magento_InventoryBundleProductAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryBundleProductAdminUi module
    ...Module Magento_InventoryBundleProductIndexer recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryBundleProductIndexer module
    ...Module Magento_InventoryCache recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCache module
    ...Module Magento_InventoryCatalogSearch recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalogSearch module
    ...Module Magento_InventoryCatalogSearchBundleProduct recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalogSearchBundleProduct module
    ...Module Magento_InventoryCatalogSearchConfigurableProduct recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalogSearchConfigurableProduct module
    ...Module Magento_InventoryConfiguration recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryConfiguration module
    ...Module Magento_InventoryCatalog recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalog module
    ...Module Magento_InventoryConfigurableProduct recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryConfigurableProduct module
    ...Module Magento_InventoryConfigurableProductAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryConfigurableProductAdminUi module
    ...Module Magento_InventoryConfigurableProductFrontendUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryConfigurableProductFrontendUi module
    ...Module Magento_InventoryConfigurableProductIndexer recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryConfigurableProductIndexer module
    ...Module Magento_InventoryDistanceBasedSourceSelectionApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryDistanceBasedSourceSelectionApi module
    ...Module Magento_InventoryDistanceBasedSourceSelection recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryDistanceBasedSourceSelection module
    ...Module Magento_InventoryDistanceBasedSourceSelectionAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryDistanceBasedSourceSelectionAdminUi module
    ...Module Magento_InventoryElasticsearch recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryElasticsearch module
    ...Module Magento_InventoryExportStockApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryExportStockApi module
    ...Module Magento_InventoryExportStock recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryExportStock module
    ...Module Magento_InventoryGraphQl recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryGraphQl module
    ...Module Magento_InventoryGroupedProduct recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryGroupedProduct module
    ...Module Magento_InventoryGroupedProductAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryGroupedProductAdminUi module
    ...Module Magento_InventoryGroupedProductIndexer recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryGroupedProductIndexer module
    ...Module Magento_InventoryImportExport recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryImportExport module
    ...Module Magento_InventoryInStorePickupApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupApi module
    ...Module Magento_InventoryInStorePickup recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickup module
    ...Module Magento_InventoryAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryAdminUi module
    ...Module Magento_InventoryInStorePickupAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupAdminUi module
    ...Module Magento_InventoryInStorePickupShippingApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupShippingApi module
    ...Module Magento_InventoryInStorePickupSalesApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupSalesApi module
    ...Module Magento_InventoryInStorePickupFrontend recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupFrontend module
    ...Module Magento_InventoryInStorePickupGraphQl recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupGraphQl module
    ...Module Magento_InventoryInStorePickupMultishipping recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupMultishipping module
    ...Module Magento_InventoryInStorePickupQuoteGraphQl recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupQuoteGraphQl module
    ...Module Magento_InventoryInStorePickupSales recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupSales module
    ...Module Magento_InventoryInStorePickupQuote recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupQuote module
    ...Module Magento_InventoryInStorePickupSalesAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupSalesAdminUi module
    ...Module Magento_InventoryInStorePickupShipping recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupShipping module
    ...Module Magento_InventoryInStorePickupShippingAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupShippingAdminUi module
    ...Module Magento_InventoryInStorePickupWebapiExtension recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryInStorePickupWebapiExtension module
    ...Module Magento_InventoryLowQuantityNotificationApi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryLowQuantityNotificationApi module
    ...Module Magento_InventoryLowQuantityNotification recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryLowQuantityNotification module
    ...Module Magento_InventoryLowQuantityNotificationAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryLowQuantityNotificationAdminUi module
    ...Module Magento_InventoryProductAlert recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryProductAlert module
    ...Module Magento_InventoryQuoteGraphQl recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryQuoteGraphQl module
    ...Module Magento_InventoryRequisitionList recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryRequisitionList module
    ...Module Magento_InventoryReservationCli recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryReservationCli module
    ...Module Magento_InventoryReservations recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryReservations module
    ...Module Magento_InventorySalesAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySalesAdminUi module
    ...Module Magento_InventoryCatalogFrontendUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryCatalogFrontendUi module
    ...Module Magento_InventorySalesFrontendUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySalesFrontendUi module
    ...Module Magento_InventorySetupFixtureGenerator recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySetupFixtureGenerator module
    ...Module Magento_InventoryShipping recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryShipping module
    ...Module Magento_InventoryShippingAdminUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryShippingAdminUi module
    ...Module Magento_InventorySourceSelection recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySourceSelection module
    ...Module Magento_InventorySwatchesFrontendUi recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventorySwatchesFrontendUi module
    ...Module Magento_InventoryVisualMerchandiser recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryVisualMerchandiser module
    ...Module Magento_InventoryWishlist recognized as part of Magento Multi Source Inventory implementation
    ...No special rule applied for Magento_InventoryWishlist module
109 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package fgrosse/phpasn1 is abandoned, you should avoid using it. No replacement was suggested.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package php-cs-fixer/diff is abandoned, you should avoid using it. No replacement was suggested.
Package sebastian/phpcpd is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
123 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
PHP CodeSniffer Config installed_paths set to ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility
[+] Running 7/7
 ⠿ Container m2-t6-app-1          Stopped                                                          1.2s
 ⠿ Container m2-t6-mailcatcher-1  Stopped                                                          1.2s
 ⠿ Container m2-t6-phpfpm-1       Stopped                                                          0.3s
 ⠿ Container m2-t6-redis-1        Stopped                                                          0.5s
 ⠿ Container m2-t6-opensearch-1   Stopped                                                          2.0s
 ⠿ Container m2-t6-rabbitmq-1     Stopped                                                          6.9s
 ⠿ Container m2-t6-db-1           Stopped                                                          2.2s
[+] Running 7/7
 ⠿ Container m2-t6-mailcatcher-1  Started                                                          0.5s
 ⠿ Container m2-t6-opensearch-1   Healthy                                                         11.4s
 ⠿ Container m2-t6-db-1           Healthy                                                          5.9s
 ⠿ Container m2-t6-rabbitmq-1     Healthy                                                          6.9s
 ⠿ Container m2-t6-redis-1        Healthy                                                          5.9s
 ⠿ Container m2-t6-phpfpm-1       Started                                                         12.1s
 ⠿ Container m2-t6-app-1          Started                                                         12.4s
Adding Magento modules to Composer allow-plugins directive...
Running, Magento setup:install...

  The "--opensearch-host" option does not exist.

setup:install [--backend-frontname BACKEND-FRONTNAME] [--enable-debug-logging ENABLE-DEBUG-LOGGING] [--enable-syslog-logging ENABLE-SYSLOG-LOGGING] [--remote-storage-driver REMOTE-STORAGE-DRIVER] [--remote-storage-prefix REMOTE-STORAGE-PREFIX] [--remote-storage-endpoint REMOTE-STORAGE-ENDPOINT] [--remote-storage-bucket REMOTE-STORAGE-BUCKET] [--remote-storage-region REMOTE-STORAGE-REGION] [--remote-storage-key REMOTE-STORAGE-KEY] [--remote-storage-secret REMOTE-STORAGE-SECRET] [--remote-storage-path-style REMOTE-STORAGE-PATH-STYLE] [--amqp-host AMQP-HOST] [--amqp-port AMQP-PORT] [--amqp-user AMQP-USER] [--amqp-password AMQP-PASSWORD] [--amqp-virtualhost AMQP-VIRTUALHOST] [--amqp-ssl AMQP-SSL] [--amqp-ssl-options AMQP-SSL-OPTIONS] [--consumers-wait-for-messages CONSUMERS-WAIT-FOR-MESSAGES] [--queue-default-connection QUEUE-DEFAULT-CONNECTION] [--key KEY] [--db-host DB-HOST] [--db-name DB-NAME] [--db-user DB-USER] [--db-engine DB-ENGINE] [--db-password DB-PASSWORD] [--db-prefix DB-PREFIX] [--db-model DB-MODEL] [--db-init-statements DB-INIT-STATEMENTS] [-s|--skip-db-validation] [--http-cache-hosts HTTP-CACHE-HOSTS] [--db-ssl-key DB-SSL-KEY] [--db-ssl-cert DB-SSL-CERT] [--db-ssl-ca DB-SSL-CA] [--db-ssl-verify] [--session-save SESSION-SAVE] [--session-save-redis-host SESSION-SAVE-REDIS-HOST] [--session-save-redis-port SESSION-SAVE-REDIS-PORT] [--session-save-redis-password SESSION-SAVE-REDIS-PASSWORD] [--session-save-redis-timeout SESSION-SAVE-REDIS-TIMEOUT] [--session-save-redis-persistent-id SESSION-SAVE-REDIS-PERSISTENT-ID] [--session-save-redis-db SESSION-SAVE-REDIS-DB] [--session-save-redis-compression-threshold SESSION-SAVE-REDIS-COMPRESSION-THRESHOLD] [--session-save-redis-compression-lib SESSION-SAVE-REDIS-COMPRESSION-LIB] [--session-save-redis-log-level SESSION-SAVE-REDIS-LOG-LEVEL] [--session-save-redis-max-concurrency SESSION-SAVE-REDIS-MAX-CONCURRENCY] [--session-save-redis-break-after-frontend SESSION-SAVE-REDIS-BREAK-AFTER-FRONTEND] [--session-save-redis-break-after-adminhtml SESSION-SAVE-REDIS-BREAK-AFTER-ADMINHTML] [--session-save-redis-first-lifetime SESSION-SAVE-REDIS-FIRST-LIFETIME] [--session-save-redis-bot-first-lifetime SESSION-SAVE-REDIS-BOT-FIRST-LIFETIME] [--session-save-redis-bot-lifetime SESSION-SAVE-REDIS-BOT-LIFETIME] [--session-save-redis-disable-locking SESSION-SAVE-REDIS-DISABLE-LOCKING] [--session-save-redis-min-lifetime SESSION-SAVE-REDIS-MIN-LIFETIME] [--session-save-redis-max-lifetime SESSION-SAVE-REDIS-MAX-LIFETIME] [--session-save-redis-sentinel-master SESSION-SAVE-REDIS-SENTINEL-MASTER] [--session-save-redis-sentinel-servers SESSION-SAVE-REDIS-SENTINEL-SERVERS] [--session-save-redis-sentinel-verify-master SESSION-SAVE-REDIS-SENTINEL-VERIFY-MASTER] [--session-save-redis-sentinel-connect-retries SESSION-SAVE-REDIS-SENTINEL-CONNECT-RETRIES] [--cache-backend CACHE-BACKEND] [--cache-backend-redis-server CACHE-BACKEND-REDIS-SERVER] [--cache-backend-redis-db CACHE-BACKEND-REDIS-DB] [--cache-backend-redis-port CACHE-BACKEND-REDIS-PORT] [--cache-backend-redis-password CACHE-BACKEND-REDIS-PASSWORD] [--cache-backend-redis-compress-data CACHE-BACKEND-REDIS-COMPRESS-DATA] [--cache-backend-redis-compression-lib CACHE-BACKEND-REDIS-COMPRESSION-LIB] [--cache-id-prefix CACHE-ID-PREFIX] [--allow-parallel-generation] [--page-cache PAGE-CACHE] [--page-cache-redis-server PAGE-CACHE-REDIS-SERVER] [--page-cache-redis-db PAGE-CACHE-REDIS-DB] [--page-cache-redis-port PAGE-CACHE-REDIS-PORT] [--page-cache-redis-password PAGE-CACHE-REDIS-PASSWORD] [--page-cache-redis-compress-data PAGE-CACHE-REDIS-COMPRESS-DATA] [--page-cache-redis-compression-lib PAGE-CACHE-REDIS-COMPRESSION-LIB] [--page-cache-id-prefix PAGE-CACHE-ID-PREFIX] [--lock-provider LOCK-PROVIDER] [--lock-db-prefix LOCK-DB-PREFIX] [--lock-zookeeper-host LOCK-ZOOKEEPER-HOST] [--lock-zookeeper-path LOCK-ZOOKEEPER-PATH] [--lock-file-path LOCK-FILE-PATH] [--document-root-is-pub DOCUMENT-ROOT-IS-PUB] [--base-url BASE-URL] [--language LANGUAGE] [--timezone TIMEZONE] [--currency CURRENCY] [--use-rewrites USE-REWRITES] [--use-secure USE-SECURE] [--base-url-secure BASE-URL-SECURE] [--use-secure-admin USE-SECURE-ADMIN] [--admin-use-security-key ADMIN-USE-SECURITY-KEY] [--admin-user [ADMIN-USER]] [--admin-password [ADMIN-PASSWORD]] [--admin-email [ADMIN-EMAIL]] [--admin-firstname [ADMIN-FIRSTNAME]] [--admin-lastname [ADMIN-LASTNAME]] [--search-engine SEARCH-ENGINE] [--elasticsearch-host ELASTICSEARCH-HOST] [--elasticsearch-port ELASTICSEARCH-PORT] [--elasticsearch-enable-auth ELASTICSEARCH-ENABLE-AUTH] [--elasticsearch-username ELASTICSEARCH-USERNAME] [--elasticsearch-password ELASTICSEARCH-PASSWORD] [--elasticsearch-index-prefix ELASTICSEARCH-INDEX-PREFIX] [--elasticsearch-timeout ELASTICSEARCH-TIMEOUT] [--cleanup-database] [--sales-order-increment-prefix SALES-ORDER-INCREMENT-PREFIX] [--use-sample-data] [--enable-modules [ENABLE-MODULES]] [--disable-modules [DISABLE-MODULES]] [--convert-old-scripts [CONVERT-OLD-SCRIPTS]] [-i|--interactive] [--safe-mode [SAFE-MODE]] [--data-restore [DATA-RESTORE]] [--dry-run [DRY-RUN]] [--magento-init-params MAGENTO-INIT-PARAMS]
AlecBlance commented 1 year ago

I got the same error. I used elasticsearch instead and commented out these lines from bin/setup-install https://github.com/markshust/docker-magento/blob/de16a381fe9759903f6f94323994ea5dc2cf3742/compose/bin/setup-install#L52-L53

misterernest commented 1 year ago

Hello, I have tried that solution but it doesn't work for me.

It shows me that answer:

service "phpfpm" depends on undefined service opensearch: invalid compose project

I followed this option: https://github.com/markshust/docker-magento#elasticsearch-vs-opensearch

Any help thanks!

thanks in advance

AlecBlance commented 1 year ago

@misterernest I think you forgot to comment out these lines https://github.com/markshust/docker-magento/blob/96abf6d57f00e7c8bd0ced5469de417095bc7410/compose/compose.healthcheck.yaml#L17-L18

then uncomment these https://github.com/markshust/docker-magento/blob/96abf6d57f00e7c8bd0ced5469de417095bc7410/compose/compose.healthcheck.yaml#L21-L22

markshust commented 1 year ago

Since Magento 2.4.5 supports OpenSearch, I recommend to just use OpenSearch and update the Elasticsearch config to point at that OpenSearch server instead.

The config change is really easy. I updated the documentation at https://github.com/markshust/docker-magento#new-projects with info on how to do this, and will look into automating this depending on the Magento version number being installed.