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!

    Force uploading existing Conan package fails with 404 errors (ProGet 2025)

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 15 Views
    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.
    • M Offline
      mmaharjan_0067
      last edited by

      Hi team,

      We're encountering a problem with the conan upload command to our ProGet (2025) Conan remote.

      When we try to force re-upload an existing package using --force, we receive a several of 404 Client Error messages from ProGet when uploading files like conan_export.tgz, conan_sources.tgz, and conanfile.py. The command gives us a ConanException.

      So we see that ProGet reports that the package already exists (in the server so forcing an upload):

      boost/1.88.0: Recipe 'boost/1.88.0#b471bc5106b868d250cc39fec7411f2e' already in server, forcing upload
      ...
      boost/1.88.0: Package 'boost/1.88.0#b471bc5106b868d250cc39fec7411f2e:da39a3ee5e6b4b0d3255bfef95601890afd80709#a7577c828425a7737edc52feef1817ca' already in server, forcing upload
      
      

      However, Conan fails to upload as ProGet returns 404 errors on the expected v2 file endpoints:

      HttpRequest: put: https://proget.ccdc.cam.ac.uk/conan/ccdc-3rdparty-conan/v2/conans/boost/1.88.0/_/_/revisions/.../files/conan_export.tgz
      WARN: network: 404 Client Error: Not Found
      ...
      ERROR: Error uploading file: conan_export.tgz, '404 Client Error: Not Found'
      
      

      This is using the --force flag which should allow for overwriting files?

      It might be the case that ProGet might be internally inconsistent? It knows about the recipe revision but the actual file blobs is missing, or is blocking us from overwriting with the uploads.

      There is the possibility that it could be due to an earlier corrupted/incomplete upload, so could you confirm if ProGet should allow overwrites via Conan --force? Also, is there a known issue exists where metadata is present but backing files are missing? Finally, is there a cleanup or repair process available on ProGet to fix recipe in these broken states?

      Let me know if you need more details/logs.

      Thanks,
      Manish

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @mmaharjan_0067
        last edited by

        Hi @mmaharjan_0067 ,

        We'll investigate and see about adding this via PG-3035; it's probably returning some unexpected status. Will update if we run into trouble!

        -- Dean

        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