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 Extension updates and Windows Agents



  • This morning got an alert that an extension had an updated release. Turned out that the windows extension went from 1.7.0 to 1.7.1. Without thinking about it, I went ahead and allowed the update. Ever since, my scripts have been failing with the error

    Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'Windows' or one of its dependencies. The system cannot find the file specified.
    
    File name: 'Windows'
    (.net exception stacktrace here)
    

    It took a bit for me to try restarting an agent on one of my boxes and suddenly scripts started working on him.
    So less of a question and more of a feature request/bug report.

    1st. When I did the update it mentioned web server and app needing to restart, did not mention agents.

    2nd. I can see that the agents pulled the new extension update automatically. It would be nice if they would either restart themselves or if there was an option for me to kick off a restart from central server page in BuildMaster vs me kicking off a service restart on each box myself.


  • inedo-engineer

    Hello; this is unusual.

    But in this case, restarting the service should have also resolved the error. That will trigger the Agent Update Checker, which does restart the agents.

    Most likely, a sort of load error happened on the agent; hard to say what without looking at logs. It's almost always an anti-virus or some sort of program locking files at the wrong time. If it keeps happening, it might be worth investigating further.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation