magento / magento-cloud-docker

All Submissions you make to Magento Inc. (“Magento") through GitHub are subject to the following terms and conditions: (1) You grant Magento a perpetual, worldwide, non-exclusive, no charge, royalty free, irrevocable license under your applicable copyrights and patents to reproduce, prepare derivative works of, display, publically perform, sublicense and distribute any feedback, ideas, code, or other information (“Submission") you submit through GitHub. (2) Your Submission is an original work of authorship and you are the owner or are legally entitled to grant the license stated above. (3) You agree to the Contributor License Agreement found here: https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html
Open Software License 3.0
253 stars 191 forks source link

manifest for elasticsearch:7.5-1.3.0 not found #336

Open VZeroCool opened 2 years ago

VZeroCool commented 2 years ago

Preconditions

  1. Ubuntu 20.04
  2. Magento Enterprise

Steps to reproduce

  1. Followed https://devdocs.magento.com/cloud/docker/docker-installation.html
  2. https://devdocs.magento.com/cloud/docker/docker-mode-developer.html
  3. Getting error while performing docker-compose up -d

Expected result

  1. It should install ES version as specified in docker-compose

Actual result

1.ERROR: manifest for elasticsearch:7.5-1.3.0 not found: manifest unknown: manifest unknown

bploetz commented 2 years ago

I'm seeing this error too on my Apple M1 MacBook Pro (if that is relevant).

What's odd is the .magento.docker.yml template file only has this:

    elasticsearch:
        version: '7.5'
        image: 'elasticsearch'

So I'm not sure where that -1.3.0 extension is coming from.

bojanpc commented 2 years ago

You need to build image first

Solution to fix your issue bin/magento-docker ece-redeploy or sudo bin/magento-docker ece-redeploy

docker compose naming can be nasty

f2lokesh commented 2 years ago

@bojanpc

When I run above mentioned command, system giving me this error: sudo: bin/magento-docker: command not found

Can you please let me know why? I am a newbie on Magento cloud.

Thanks in advance.

bojanpc commented 2 years ago

@f2lokesh Please let me save you some newbie not at all important blind and white commands time in terminal dont run root on your focal and

sudo bin/magento-docker ece-redeploy

sebadamus commented 2 years ago

Same problem here, cant understand what @bjanpc wrote, please can you explain more? I do not run sudo with docker nor composer commands.

If I ran bin/magento-docker ece-redeploy as you suggest I also get the same "ERROR: manifest for elasticsearch:7.5-1.3.0 not found: manifest unknown: manifest unknown"

chuongnh3atgmaildotcom commented 2 years ago

So I'm not sure where that -1.3.0 extension is coming from.

There's magento/magento-cloud-docker-elasticsearch:7.5-1.3.2 docker img.

Replace services.elasticsearch.image in your .magento.docker.yml file, from elasticsearch to magento/magento-cloud-docker-elasticsearch. Then rebuild docker-compose.yml file

    elasticsearch:
        version: '7.5'
        image: 'magento/magento-cloud-docker-elasticsearch'

I guess the document needs update.