# I encountered an error when running the command tutor images build openedx version 18.1.3. How can I fix it?

**URL:** <https://discuss.openedx.org/t/i-encountered-an-error-when-running-the-command-tutor-images-build-openedx-version-18-1-3-how-can-i-fix-it/13780>\
**Category:** Tutor Help\
**Tags:** how-to\
**Created:** [August 27, 2024, 6:09pm UTC](https://discuss.openedx.org/t/i-encountered-an-error-when-running-the-command-tutor-images-build-openedx-version-18-1-3-how-can-i-fix-it/13780 "2024-08-27T18:09:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quy\_n\_Dinh\_Ph\_m](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/quy_n_dinh_ph_m/32/6457_2.png) [@Quy\_n\_Dinh\_Ph\_m](https://discuss.openedx.org/u/Quy_n_Dinh_Ph_m)\
**Post date:** [August 27, 2024, 6:09pm UTC](https://discuss.openedx.org/t/i-encountered-an-error-when-running-the-command-tutor-images-build-openedx-version-18-1-3-how-can-i-fix-it/13780/1 "2024-08-27T18:09:22Z")

</div>

## CANCELED [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 insta 53.4s

> [code 3/4] ADD --keep-git-dir=true [GitHub - openedx/edx-platform: The Open edX LMS & Studio, powering education sites around the world!](https://github.com/openedx/edx-platform.git#open-release/redwood.2) .:  
> 0.076 Initialized empty Git repository in /var/lib/docker/overlay2/bjgb1xogz3f3p36it2svny3jd/diff/  
> 17.41 3d50dd8302517274052a8acf8a4902fe6fe5eb97 refs/tags/open-release/redwood.2  
> 35.90 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)  
> 35.90 error: 7866 bytes of body are still expected  
> 35.91 fetch-pack: unexpected disconnect while reading sideband packet  
> 35.91 fatal: early EOF  
> 35.91 fatal: fetch-pack: invalid index-pack output

* * *

ERROR: failed to solve: failed to fetch remote [https://github.com/openedx/edx-platform.git:](https://github.com/openedx/edx-platform.git:) git stderr:  
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)  
error: 7866 bytes of body are still expected  
fetch-pack: unexpected disconnect while reading sideband packet  
fatal: early EOF  
fatal: fetch-pack: invalid index-pack output  
: exit status 128  
Error: Command failed with status 1: docker buildx build --tag=[docker.io/overhangio/openedx:18.1.3](http://docker.io/overhangio/openedx:18.1.3) --output=type=docker --cache-from=type=registry,[ref=docker.io/overhangio/openedx:18.1.3-cache](http://ref=docker.io/overhangio/openedx:18.1.3-cache) /root/.local/share/tutor/env/build/openedx

---

<div class="post-metadata">

**Author:** ![Juan-Carlos](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/juan-carlos/32/7075_2.png) [@Juan-Carlos](https://discuss.openedx.org/u/Juan-Carlos)\
**Post date:** [August 29, 2024, 6:28pm UTC](https://discuss.openedx.org/t/i-encountered-an-error-when-running-the-command-tutor-images-build-openedx-version-18-1-3-how-can-i-fix-it/13780/2 "2024-08-29T18:28:30Z")

</div>

Hello:  
check if you have closed the instances:

tutor dev stop  
tutor local stop

and then try to build again

tutor images build openedx  
tutor images build mfe

---

<div class="post-metadata">

**Author:** ![Quy\_n\_Dinh\_Ph\_m](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/quy_n_dinh_ph_m/32/6457_2.png) [@Quy\_n\_Dinh\_Ph\_m](https://discuss.openedx.org/u/Quy_n_Dinh_Ph_m)\
**Post date:** [August 30, 2024, 4:52am UTC](https://discuss.openedx.org/t/i-encountered-an-error-when-running-the-command-tutor-images-build-openedx-version-18-1-3-how-can-i-fix-it/13780/4 "2024-08-30T04:52:45Z")

</div>

thank you so much, it’s worked
