Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Proget The blob does not have a media type associated with it.
-
I try to push a image to proget docker feed but failed. I checked proget log, then found message "The blob does not have a media type associated with it. This may be fixed by the feed cleanup task for feed" . I run feed clean up task for this feed, but not working. How can I resolve this?
I run proget in docker, version is 6.0.16.
-
Hi @aries66_2180,
Can you please check if you have common blob storage enabled for your Docker feed? You can do this by navigating to your Docker Registry and click the "Manage Feed" button in the upper right and then select the "Storage & Retention" tab. On there, you should see a block indicating if it is enabled or not.
Thanks,
Rich
-
Thanks for your reply, I check my feed and common blob storage is enabled.
Now, in my proget, I can upload and download nuget package, pull docker image, but can not push image(Cancelling nested steps due to timeout). I can't find other related message besides "The blob does not have a media type associated with it". I'm not sure if push failure is related to this. Do you have any idea?
-
Hi @aries66_2180,
Can you please try running the "DockerGarbageCollection" scheduled task. This will do the same thing as the feed cleanup task, but for the common blob storage blobs and then attempt the push again?
Thanks,
Rich
-
Hi @rhessinger,
DockerGarbageCollection and feed cleanup task was both executed, but no help. I still can't push image. Even a 13.3kb image causes a timeout. Is there any other possible reason?
-
Add that, MediaType_Name of new blob in database is null. Pushing to other docker registry is ok.
-
Hi @aries66_2180,
We typically have seen this when there is a corrupted or orphaned blob in the database. Could you create a new temporary Docker feed, disable common blob storage, and attempt to push the image to that feed?
Thanks,
Rich
-
Hi @rhessinger ,
I have tried this, but problem still exists. I tried to update MediaType_Name manually, then I could push image. Is there any other way to solve this problem?
-
Hi @aries66_2180,
If this happens on a clean Docker feed that is not set up the use common blob storage, then this is likely an issue with the image itself. Do all images have this issue or just that specific image? Are you using the Docker CLI to create this image or a different third-party tool?
Thanks,
Rich
-
Hi @rhessinger ,
All Images (image created by Docker CLI or official image) have this issue.
-
Hi @aries66_2180,
I just set up a clean ProGet 6.0.16 docker instance and tested this and it seems to be working for me. Can you send me an example image you are trying to push that fails? Also, would you be able to use a tool like WireShark or Fiddler to record your requests when trying to push an image and email it over to us at support@inedo.com with a subject of
[QA-878] Docker push error
?Thanks,
Rich