Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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.

    Scheduled Pinned Locked Moved Support
    11 Posts 2 Posters 58 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      aries66_2180
      last edited by aries66_2180

      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.

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        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

        Products Engineer, Inedo

        1 Reply Last reply Reply Quote 0
        • A Offline
          aries66_2180
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            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

            Products Engineer, Inedo

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              aries66_2180 @rhessinger
              last edited by

              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?

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                aries66_2180 @aries66_2180
                last edited by

                Add that, MediaType_Name of new blob in database is null. Pushing to other docker registry is ok.

                1 Reply Last reply Reply Quote 0
                • rhessingerR Offline
                  rhessinger inedo-engineer
                  last edited by

                  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

                  Products Engineer, Inedo

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    aries66_2180 @rhessinger
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • rhessingerR Offline
                      rhessinger inedo-engineer
                      last edited by

                      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

                      Products Engineer, Inedo

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        aries66_2180 @rhessinger
                        last edited by

                        Hi @rhessinger ,

                        All Images (image created by Docker CLI or official image) have this issue.

                        1 Reply Last reply Reply Quote 0
                        • rhessingerR Offline
                          rhessinger inedo-engineer
                          last edited by

                          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

                          Products Engineer, Inedo

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post
                          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation