Compress error when exporting course

Hello, I encountered the following error when I tried to export a course using minio plugin on a k8s deployment:

Compressing error: {‘raw_error_msg’: “An error occurred (InvalidPart) when calling the CompleteMultipartUpload operation: One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part’s entity tag.”}

The error only occurred for a particular course. I had no problem exporting other courses. Anyone knows what’s the cause of this issue?

Hello, so I conducted an investigation and discovered that the error is caused by a particular image that was uploaded within the course.

The original dimensions of the image are: 1234 x 644
Width: 1234 pixels
Height: 644 pixels

After deleting and re-uploading the image with smaller dimensions: 1021 x 533
Width: 1021 pixels
Height: 533 pixels

The error has disappeared. I’m just wondering if there are any limitations regarding image dimensions on Minio’s end? :thinking:

@FahadKhalid210 Thoughts on this?

There are no image dimension limitations in Minio. We can upload even larger images and successfully export courses without any issues.

Is there an overall limit? The successfully imported course contains 71 static files.

Update: After resizing the problematic image, I managed to export successfully. However, as additional images were subsequently added to the course (regardless of their dimensions), exporting the course resulted in the same multipart error. I attempted to work from the exported checkpoint and import it, but encountered the same multipart error, preventing the course from being imported as well.

There are some limits, but none that seem to apply to your situation:

https://min.io/docs/minio/linux/operations/concepts/thresholds.html

Hi @wnnlyy,

May I know how is your configuration for MinIO in tutor config.yml? GitHub - overhangio/tutor-minio: This is a plugin for Tutor that provides S3-like object storage for Open edX platforms.

Thank you

Hi @wnnlyy,

I would like to report my test case on Palm 16.1.8 and Quince 17.0.2 in Azure K8S with tutor-minio and with tutor-contrib-s3.

[1] Using Quince 17.0.2 with tutor-minio, with a nearly public access setting in Azure Storage, cms import / export course and lms instructor generate report, not working and error logs found.

[2] Using Palm 16.1.8 still with tutor-minio, Azure Storage remain unchange, lms instructor able to generate report. cms import / export course same error as [1]

[3] Using Quince 17.0.2 with tutor-contrib-s3, AWS S3, lms instructor able to generate report. cms import / export course task keep-going and never end, but the tar.gz file found in AWS S3 and no error logs found in cms

@wnnlyy, I hope my case can help to answer your question “Is it recommended to upgrade my Tutor version from Palm to Quince?”

Thank you!

Deleted my previous posts as I finally had time to find out the reason. The multipart error issue is indeed due to Azure Storage. When I tried importing/exporting a course using MinIO as a container pod, there were no problems with the process.