Tutor Open edX 10.5.3 local image build fails

Hi all!

I am trying to rebuild my local image of tutor 10.5.3 (applying also the instructions here "tutor images build openedx" failed - #10 by ToddLichty - Tutor - Overhang.IO, necessary to bypass a previous build blocker) but the process fails again with the error:

Removing intermediate container 17c8f71539fc
 ---> 54b1d34b428f
Step 21/90 : RUN curl https://github.com/overhangio/edx-platform/commit/089b26eed0302ed1f9a5b24c5f3e563dd44abb04.patch | git apply -
 ---> Running in 7f0e19ed4e7b
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     15      0 --:--:-- --:--:-- --:--:--    15
fatal: unrecognized input
The command '/bin/sh -c curl https://github.com/overhangio/edx-platform/commit/089b26eed0302ed1f9a5b24c5f3e563dd44abb04.patch | git apply -' returned a non-zero code: 128
Error: Command failed with status 128: docker build -t docker.io/overhangio/openedx:10.5.3 /home/tutor/.local/share/tutor/env/build/openedx

Any help would be extremely appreciated! Thanks in advance

Emmanuel Galatoulas

The problem is that that hash does not exist anymore. You can check by trying to open it directly:

https://github.com/overhangio/edx-platform/commit/089b26eed0302ed1f9a5b24c5f3e563dd44abb04.patch

The other problem is that this is a pretty old release, so it might be difficult to find people that encountered it before. Is there any chance you could upgrade to a newer version?

Although past versions are not supposed to be maintained anymore, you should still be able to build them. Thus, I published tutor-openedx v10.5.5 which includes fixed patched sha1 tutor-openedx · PyPI

2 Likes

Hi Regis!

I totally agree that fixes should be provided even for older versions giving users the ability to get their installations working until they upgrade to a newer one.

I am grateful for your prompt response and I am going to try again with the patch you provided!

cheers!