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. Announcements
  3. NetXMS 2.1-M2 released

NetXMS 2.1-M2 released

Scheduled Pinned Locked Moved Announcements
13 Posts 7 Posters 37.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.
  • S
    S
    shroman
    wrote on last edited by
    #3

    Hi,
    Having trouble upgrading from M1 -> M2

    root@netxms:~/netxms-2.1-M2# /usr/local/netxms/bin/nxdbmgr upgrade
    NetXMS Database Manager Version 2.1-M2 Build 9007 (2.1-M2-2-g995c195) (UNICODE)

    Upgrading database...
    Upgrading from version 417 to 418
    Segmentation fault (core dumped)

    Additional info runnning gdb: 0x00007ffff6e9022e in wcsrchr () from /lib/x86_64-linux-gnu/libc.so.6

    1 Reply Last reply
    0
    • S
      S
      shroman
      wrote on last edited by
      #4

      Temporarily fixed the issue by adding the following code to upgrade.cpp after line: 886

      ----------------------------------
        if (xml == NULL)
                  xml = _tcsdup(_T(""));
      -----------------------------------

      1 Reply Last reply
      0
      • Dani@M3TU
        Dani@M3TU
        Dani@M3T
        wrote on last edited by
        #5

        I tried to upgrade our NetXMS V2.1-M1 installation to V2.1-M2 on linux x64. I compile from sources. 'configure' reports error "libssh is required for SSH support". I didn't had this problem compiling V2.1-M1, libssh2 and libssh2-devel ist available on this server. Is there a special version needed?

        Thanks for any help.

        Dani

        1 Reply Last reply
        0
        • S
          S
          shroman
          wrote on last edited by
          #6

          @user54119 said in NetXMS 2.1-M2 released:

          I tried to upgrade our NetXMS V2.1-M1 installation to V2.1-M2 on linux x64. I compile from sources. 'configure' reports error "libssh is required for SSH support". I didn't had this problem compiling V2.1-M1, libssh2 and libssh2-devel ist available on this server. Is there a special version needed?

          Thanks for any help.

          Dani

          You should install libssh package, e.g. in ubuntu:  apt-get install libssh-4 libssh-dev

          1 Reply Last reply
          0
          • Dani@M3TU
            Dani@M3TU
            Dani@M3T
            wrote on last edited by
            #7

            Thanks for the quick reply shroman.
            That was the solution for that, I didn't needed these 2packages for older versions of NetXMS.

            I added the 2lines you suggested to upgrade.cpp after line 886 before I compiled and now it looks like this:

                     int filteringFlag = 0;
                     int objectToolFlag = DBGetFieldLong(hResult, i, 1);
            
                     if (xml == NULL)
                         xml = _tcsdup(_T(""));
            
                     // Separate and reorder flags for filter and for object tools
            

            but after compile I get the error "'xml' was not declared in this scope"

            Can you help me here again?

            1 Reply Last reply
            0
            • S
              S
              shroman
              wrote on last edited by
              #8

              @user54119 said in NetXMS 2.1-M2 released:

              Thanks for the quick reply shroman.
              That was the solution for that, I didn't needed these 2packages for older versions of NetXMS.

              I added the 2lines you suggested to upgrade.cpp after line 886 before I compiled and now it looks like this:

                       int filteringFlag = 0;
                       int objectToolFlag = DBGetFieldLong(hResult, i, 1);
              
                       if (xml == NULL)
                           xml = _tcsdup(_T(""));
              
                       // Separate and reorder flags for filter and for object tools
              

              but after compile I get the error "'xml' was not declared in this scope"

              Can you help me here again?

              Looks liek you have replace line 886, no inserted lines after it:

              884:         int filteringFlag = 0;
              885:         int objectToolFlag = DBGetFieldLong(hResult, i, 1);
              886:         TCHAR *xml = DBGetField(hResult, i, 2, NULL, 0);   ->>>>>>
              -----------------------
                        if (xml == NULL)
                          xml = _tcsdup(_T(""));
              ------------------------
                       //Separate and reorder flags for filter and for object tools
              
              1 Reply Last reply
              0
              • Dani@M3TU
                Dani@M3TU
                Dani@M3T
                wrote on last edited by
                #9

                The unchanged version (downloaded a few hours ago) looks like this here, is it maybe a newer version already fixed?

                884:         int filteringFlag = 0;
                885:         int objectToolFlag = DBGetFieldLong(hResult, i, 1);
                886:
                887         // Separate and reorder flags for filter and for object tools
                

                your line 885 is in my version in line 946

                1 Reply Last reply
                0
                • T
                  T
                  tomaskir
                  wrote on last edited by
                  #10

                  The upgrade problems are already fixed in develop, so if you get the latest source, no need to change anything.

                  1 Reply Last reply
                  0
                  • Dani@M3TU
                    Dani@M3TU
                    Dani@M3T
                    wrote on last edited by
                    #11

                    thanks Tomas, it works

                    1 Reply Last reply
                    0
                    • N
                      N
                      NillaMilla
                      wrote on last edited by
                      #12

                      Hello,

                      Is V2.1-M1 considered stable at this time?  If so, is the download available for V2.1-M1?

                      I cant seem to find it on the page anywhere.

                      Thanks,

                      -Dan

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

                        For now only 2.0.x branch is considered as a stable one. All 2.1-Mx are Milestone releases before 2.1.0, which will be considered as a stable release.

                        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