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!

    Windows Agent fail to upgrade

    Scheduled Pinned Locked Moved Support
    microsoftagentsbuildmaster
    3 Posts 1 Posters 11 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hello,

      I'm not sure I've my Windows agents have ever updated with a manual upgrade, but they won't upgrade to v 5.11.
      I've tried it on 2 servers, both Windows 2012 R2. One in a AD Domain and one not in a Domain.
      When I try to force an upgrade, I get these errors in the event log:

      Application: bmtcpagent.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.InvalidOperationException
         at System.Net.Sockets.TcpListener.BeginAcceptTcpClient(System.AsyncCallback, System.Object)
         at Inedo.BuildMaster.Windows.TcpAgentService.TcpAgentListener.AcceptConnection(System.IAsyncResult)
         at System.Net.LazyAsyncResult.Complete(IntPtr)
         at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
         at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
         at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
         at System.Net.ContextAwareResult.Complete(IntPtr)
         at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
         at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
         at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
         
         and 
         
         Faulting application name: bmtcpagent.exe, version: 5.0.11.3, time stamp: 0x5761c744
      Faulting module name: KERNELBASE.dll, version: 6.3.9600.18264, time stamp: 0x56e1bd71
      Exception code: 0xe0434352
      Fault offset: 0x0000000000008a5c
      Faulting process id: 0x3058
      Faulting application start time: 0x01d1c7a5786d2665
      Faulting application path: C:\BuildMasterAgent\Agent\bmtcpagent.exe
      Faulting module path: C:\Windows\system32\KERNELBASE.dll
      Report Id: 1097db0f-3399-11e6-80e4-00155dabbedb
      Faulting package full name: 
      Faulting package-relative application ID: 
      
      

      Any help appreciated.

      Thanks,

      David

      Product: BuildMaster
      Version: 5.0.11

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        The agent could have had a failed update; so in this case, you should manually update the agent files (copy from a working agent), then start the service.

        FYI - in 5.1, with the new agent model, this will be much less likely.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hi,

          OK, thanks. Just to let you know, this was from version 5.10 to 5.11.

          David

          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