# Release.palm.master - Unable to build image Open edX

**URL:** <https://discuss.openedx.org/t/release-palm-master-unable-to-build-image-open-edx/10782>\
**Category:** Site Operators\
**Tags:** tutor\
**Created:** [July 22, 2023, 3:30pm UTC](https://discuss.openedx.org/t/release-palm-master-unable-to-build-image-open-edx/10782 "2023-07-22T15:30:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azhar\_Mateen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/azhar_mateen/32/723_2.png) [@Azhar\_Mateen](https://discuss.openedx.org/u/Azhar_Mateen)\
**Post date:** [July 22, 2023, 3:30pm UTC](https://discuss.openedx.org/t/release-palm-master-unable-to-build-image-open-edx/10782/1 "2023-07-22T15:30:06Z")

</div>

Hi,

I have installed the palm.master release.

tutor config printvalue OPENEDX\_COMMON\_VERSION  
open-release/palm.master

The tutor images build openedx is giving the following errors:

=\> ERROR [code 4/4] RUN curl -fsSL [https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch](https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch) | git am

and

ERROR: failed to solve: process “/bin/sh -c curl -fsSL [https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch](https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch) | git am” did not complete successfully: exit code: 128

Error: Command failed with status 1: docker buildx build --tag=[docker.io/overhangio/openedx:16.0.0](http://docker.io/overhangio/openedx:16.0.0) --output=type=docker --cache-from=type=registry,[ref=docker.io/overhangio/openedx:16.0.0-cache](http://ref=docker.io/overhangio/openedx:16.0.0-cache) /home/ubuntu/.local/share/tutor/env/build/openedx

More detail:

> ## tutor$ tutor images build openedx Building image [docker.io/overhangio/openedx:16.0.0](http://docker.io/overhangio/openedx:16.0.0) docker buildx build --tag=[docker.io/overhangio/openedx:16.0.0](http://docker.io/overhangio/openedx:16.0.0) --output=type=docker --cache-from=type=registry,[ref=docker.io/overhangio/openedx:16.0.0-cache](http://ref=docker.io/overhangio/openedx:16.0.0-cache) /home/ubuntu/.local/share/tutor/env/build/openedx [+] Building 1.2s (22/63) docker:default =\> [internal] load build definition from Dockerfile 0.0s =\> =\> transferring dockerfile: 11.74kB 0.0s =\> [internal] load .dockerignore 0.0s =\> =\> transferring context: 2B 0.0s =\> resolve image config for [docker.io/docker/dockerfile:1.4](http://docker.io/docker/dockerfile:1.4) 0.1s =\> CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 0.0s =\> [internal] load metadata for [Docker](http://docker.io/library/ubuntu:20.04) 0.1s =\> [internal] load metadata for [docker.io/powerman/dockerize:0.19.0](http://docker.io/powerman/dockerize:0.19.0) 0.1s =\> importing cache manifest from [docker.io/overhangio/openedx:16.0.0-cache](http://docker.io/overhangio/openedx:16.0.0-cache) 0.3s =\> [internal] load build context 0.0s =\> =\> transferring context: 13.53kB 0.0s =\> FROM [docker.io/powerman/dockerize:0.19.0@sha256:a34158d699e065609fc845e7cdc1e070f185afdbca317fe4931aaea04818f8bf](http://docker.io/powerman/dockerize:0.19.0@sha256:a34158d699e065609fc845e7cdc1e070f185afdbca317fe4931aaea04818f8bf) 0.0s =\> [minimal 1/2] FROM [Docker](http://docker.io/library/ubuntu:20.04@sha256:c9820a44b950956a790c354700c1166a7ec648bc0d215fa438d3a339812f1d01) 0.0s =\> CACHED [minimal 2/2] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked apt update && apt install -y bui 0.0s =\> CACHED [python 1/4] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked apt update && apt install -y libssl-d 0.0s =\> CACHED [python 2/4] RUN git clone [GitHub - pyenv/pyenv: Simple Python version management](https://github.com/pyenv/pyenv) /opt/pyenv --branch v2.3.17 --depth 1 0.0s =\> CACHED [python 3/4] RUN /opt/pyenv/bin/pyenv install 3.8.15 0.0s =\> CACHED [python 4/4] RUN /opt/pyenv/versions/3.8.15/bin/python -m venv /openedx/venv 0.0s =\> CACHED [nodejs-requirements 1/4] RUN pip install nodeenv==1.7.0 0.0s =\> CACHED [nodejs-requirements 2/4] RUN nodeenv /openedx/nodeenv --node=16.14.0 --prebuilt 0.0s =\> CACHED [nodejs-requirements 3/4] WORKDIR /openedx/edx-platform 0.0s =\> CACHED [code 1/4] RUN mkdir -p /openedx/edx-platform && git clone [GitHub - openedx/edx-platform: The Open edX LMS & Studio, powering education sites around the world!](https://github.com/openedx/edx-platform.git) --branch open-release/palm.master --depth 1 /openedx/edx-platform 0.0s =\> CACHED [code 2/4] WORKDIR /openedx/edx-platform 0.0s =\> CACHED [code 3/4] RUN git config --global user.email “[tutor@overhang.io](mailto:tutor@overhang.io)” && git config --global user.name “Tutor” 0.0s =\> ERROR [code 4/4] RUN curl -fsSL [https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch](https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch) | git am 0.5s
> 
> > [code 4/4] RUN curl -fsSL [https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch](https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch) | git am:  
> > 0.434 error: patch failed: openedx/core/djangoapps/catalog/management/commands/cache\_programs.py:45  
> > 0.434 error: openedx/core/djangoapps/catalog/management/commands/cache\_programs.py: patch does not apply  
> > 0.434 error: patch failed: openedx/core/djangoapps/catalog/management/commands/tests/test\_cache\_programs.py:48  
> > 0.434 error: openedx/core/djangoapps/catalog/management/commands/tests/test\_cache\_programs.py: patch does not apply  
> > 0.435 hint: Use ‘git am --show-current-patch’ to see the failed patch  
> > 0.435 Applying: enhancement: add support for caching programs for one site (#32380)  
> > 0.435 Patch failed at 0001 enhancement: add support for caching programs for one site (#32380)  
> > 0.435 When you have resolved this problem, run “git am --continue”.  
> > 0.435 If you prefer to skip this patch, run “git am --skip” instead.  
> > 0.435 To restore the original branch and stop patching, run “git am --abort”.
> 
> * * *
> 
> ## Dockerfile:50
> 
> 48 | # added a patch for this commit ([Enhancement: add support for caching programs for one site domain by Faraz32123 · Pull Request #32506 · openedx/edx-platform · GitHub](https://github.com/openedx/edx-platform/pull/32506/commits/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697))  
> 49 | # which is fix for this issue ([Error on running cache\_programs command. · Issue #40 · overhangio/tutor-discovery · GitHub](https://github.com/overhangio/tutor-discovery/issues/40))  
> 50 | \>\>\> RUN curl -fsSL [https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch](https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch) | git am  
> 51 | # Patch edx-platform
> 
> | 52 |
> | --- |
> | ERROR: failed to solve: process "/bin/sh -c curl -fsSL [https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch](https://github.com/openedx/edx-platform/commit/b3e9f0cbd5e44f25a42a7cbf4929b71ef122b697.patch) |
> | Error: Command failed with status 1: docker buildx build --tag=[docker.io/overhangio/openedx:16.0.0](http://docker.io/overhangio/openedx:16.0.0) --output=type=docker --cache-from=type=registry,[ref=docker.io/overhangio/openedx:16.0.0-cache](http://ref=docker.io/overhangio/openedx:16.0.0-cache) /home/ubuntu/.local/share/tutor/env/build/openedx |

The installation was successful but the issue is with image build.

Please help to identify and resolve the issue. Thanks

---

<div class="post-metadata">

**Author:** ![sagar](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sagar/32/8060_2.png) [@sagar](https://discuss.openedx.org/u/sagar)\
**Post date:** [July 25, 2023, 7:47am UTC](https://discuss.openedx.org/t/release-palm-master-unable-to-build-image-open-edx/10782/2 "2023-07-25T07:47:50Z")

</div>

Check out this discussion.  
I had the same problem and upgrading the docker version did it for me.

> [@Issue in tutor palm release with tuotr dev launch while installing](https://discuss.openedx.org/t/issue-in-tutor-palm-release-with-tuotr-dev-launch-while-installing/10629):
>
> hello everyone I hope u are doing well. I had installed Tutor install palm release with Tutor local launch and it installed successfully as well as all plugins like a forum, Carin, and much more all work fine also. but when I try to install it using dev it shows me errors when it comes from line 30/95. pip install "tutor[full]==16.0.2" after this, I just hit tutor dev launch but after some time facing errors. ---\> 1f2f762e8aef Step 30/95 : RUN pip install -r /openedx/edx-platform/require…

---

<div class="post-metadata">

**Author:** ![Azhar\_Mateen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/azhar_mateen/32/723_2.png) [@Azhar\_Mateen](https://discuss.openedx.org/u/Azhar_Mateen)\
**Post date:** [July 25, 2023, 9:48am UTC](https://discuss.openedx.org/t/release-palm-master-unable-to-build-image-open-edx/10782/3 "2023-07-25T09:48:40Z")

</div>

Thank You @sagar
