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



  • 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


  • inedo-engineer

    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.



  • 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


  • inedo-engineer

    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



  • 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


  • inedo-engineer

    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


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation