Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Centralized agent upgrade

Centralized agent upgrade

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 29.1k Views
  • 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
    M
    Meandmybrain
    wrote on last edited by
    #1

    Hi,

    for the first time I'm going to use the centralized agent upgrade, but it won't work.

    The upgrade files are uploaded and shown in the packetmanager.
    After choosing the node I want to upgrade immediately "Unable to start upgrade process" is shown.
    In the destinationfolder at the node (win server 2016), a new file "nxagent-xxx-x64.exe" is created but with zero bytes. (win server 2016/2012R2)
    Log says that "nxagent-xxx-x64.exe" could not be executed. -makes sense at this point 😉

    So option one is an error while downloading this file to node, option two maybe is an error uploading the file to netxms server.
    Could you please tell me where the upgrade file is stored "usually" on netxms server (Ubuntu 18.04 LTS)?
    Besides that I'm open for other thoughts.

    Best regards
    Sebastian

    1 Reply Last reply
    0
    • Z
      Z
      Tatjana Dubrovica
      wrote on last edited by
      #2

      It should be under: var/lib/netxms/packages/

      Found bug that might cause it. npi file should be in the same folder with the file that should be uploaded (check that name of the file inside npi file is the same as the actual file name). In case if file not found package manager shows error, but sill uploads file with 0 sizes and adds it to the list.

      Please check if it is your case.

      1 Reply Last reply
      0
      • M
        M
        Meandmybrain
        wrote on last edited by
        #3

        Hi,

        under var/lib/netxms/packages/ is a file called "nxagent-3.1.241-x64.exe" with 0 size.
        Filename in npi is exactly the name of the agent upgrade exe.
        Additional info: i'm not able to get access to /packages using "cd". Is this a normal behavior? I can only show the content of /packes using "sudo ls -la /var/lib/netxms/packages"
        After I copied "nxagent-3.1.241-x64.exe" to /packages via terminal, deployment worked.
        So it seems to be a problem while uploading the files using management console (i'm using web console).

        Best regards
        Sebastian

        1 Reply Last reply
        0
        • Z
          Z
          Tatjana Dubrovica
          wrote on last edited by
          #4

          Issue created: https://track.radensolutions.com/issue/NX-1727

          1 Reply Last reply
          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups