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!

    BuildMaster 2023.4 Unable to Create Application from Template

    Scheduled Pinned Locked Moved Support
    6 Posts 3 Posters 19 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.
    • P Offline
      paul_6112
      last edited by

      Hi Support,
      When attempting to create a new application from a Template, the process just freezes showing 'Loading' ;
      afff9fe5-755b-4278-a7d1-e8bd50e85b1d-image.png

      This does need to support a request via Proxy for the Online Templates, but I have tested this with a directly connected Internet machine and this error is also present.

      In the error log, a message can be seen;

      An error occurred in the web application: Value cannot be null. (Parameter 'sourceInfo')
      

      Details;

      URL: http://buildmaster:8622/0x44/BuildMaster.WebApplication/Inedo.BuildMaster.Web.WebApplication.Pages.Applications.CreateApplicationFromTemplatePage/GetTemplates
      Referrer: http://buildmaster:8622/administration/applications/new/from-template
      User: Admin
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77
      Stack trace: at Inedo.BuildMaster.Packages.DecrepitProGetClient..ctor(SecureResources sourceInfo, ICredentialResolutionContext context)
      at Inedo.BuildMaster.Packages.DecrepitProGetClient.GetTemplatesSource()
      at Inedo.BuildMaster.Web.WebApplication.Pages.Applications.CreateApplicationFromTemplatePage.GetTemplates(AhHttpContext context)
      at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      

      Thanks,
      Paul

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @paul_6112
        last edited by

        Hi @paul_6112,

        Thanks for the report; looks like this is a regression that can happen after upgrade; to work around this

        1. Go to Admin > Resources
        2. Click Add Secure Resource, then "Show All"
        3. Select "[Deprecated] Universal Package Feed"
        4. Name of Templates and API Endpoint Url of https://proget.inedo.com/upack/BuildMasterTemplates/

        You can use a different URL if you have a ProGet universal feed of course.

        This will be fixed in next maintenance release via BM-3908.

        This should solve the issue. And as an FYI, application templates are now deprecated in favor of "cloning" a "template" application.

        1 Reply Last reply Reply Quote 0
        • P Offline
          paul_6112
          last edited by

          Hi Alana,
          Thanks for the help, I'll be honest I was after one of your samples again..

          How would you see this to clone it ?
          And if we have our own Template, we now need to maintain this as an application to be able to Clone it ?

          I've added the feed with success on an Internet connected machine, but by real environment is via Proxy and this seems to have the same issue as I have reported for Extension Updates in that the Proxy is not apparently being used for the connection;
          e6a4bf55-83b8-4e32-8d9a-6dfe0dacdfb5-image.png

          Thanks,
          Paul

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @paul_6112
            last edited by

            Hi @paul_6112 ,

            It sounds like there is some kind of proxy issue. We will investigate this via the other ticket.

            We don't plan on removing Inedo Samples... just the "Application Templates" feature, which basically allowed users to maintain a gallery of your own templates or samples.

            Cheers,
            Alana

            1 Reply Last reply Reply Quote 0
            • P Offline
              paul_6112
              last edited by

              Hi Alana,
              Proxy support has fixed the list of templates now being available;
              c88f17f7-9316-420f-97f5-3cfd03442140-image.png

              But the deployment fails, I guess this request is not hitting the proxy;
              ceb2e00c-db28-414f-884e-765e76a8ce1a-image.png

              Thanks,
              Paul

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

                Hi @paul_6112 ,

                Thanks for letting us know that this is still an issue. I created a ticket, BM-3913, to track this fix.

                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