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. Update from 2.08 to 2.1 with sqlite

Update from 2.08 to 2.1 with sqlite

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 6.8k 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.
  • J
    J
    johan_t
    wrote on last edited by
    #1

    Hi,

    after upgrade netxms-2.0.8-x64 on Windows server 2012 R2 to version 2.1 (X64) the core-service won't start. I didn't recognize any errors at the installation. After the installation was done and the Service netXMS Core did not came up the eventviewer says

    "Protokollname: System
    Quelle:        NetXMSCore
    Datum:        10.07.2017 12:15:33
    Ereignis-ID:  63
    Aufgabenkategorie:Keine
    Ebene:        Fehler
    Schlüsselwörter:Klassisch
    Beschreibung:
    Your database has format version 410, but server is compiled for version 456

    if i try to upgrade the database via commandshell i get
     

    C:\NetXMS\bin>nxdbmgr.exe upgrade
    NetXMS Database Manager Version 2.1 Build 9012 (2.1-RELEASE) (UNICODE)

    Upgrading database...
    Upgrading from version 410 to 411
    Converting table tdata_111: failed
    Rolling back last stage due to upgrade errors...
    Database upgrade failed

    what can i Do? Are there more debugging options?

    Best regards,

    Johan

    1 Reply Last reply
    0
    • L
      L
      lindeamon
      wrote on last edited by
      #2

      hi victor,

      this is the same error i got.
      https://www.netxms.org/forum/installation/upgrade-to-v2-1-withembedded-sqlite/

      1 Reply Last reply
      0
      • J
        J
        johan_t
        wrote on last edited by
        #3

        @lindeamon said in Update from 2.08 to 2.1 with sqlite:

        hi victor,

        this is the same error i got.
        https://www.netxms.org/forum/installation/upgrade-to-v2-1-withembedded-sqlite/

        there are more with an error converting DB-Version 410 to 411:

        https://www.netxms.org/forum/installation/upgrade-to-2-1-m-3-failed/
        https://www.netxms.org/forum/installation/v2-1-m1-upgrade-problem/
        https://www.netxms.org/forum/profile/?area=showposts;sa=messages;u=54860
        https://www.netxms.org/forum/installation/2-1-db-upgrade-fails-ms-sql-server/

        other DB-Versions:
        https://www.netxms.org/forum/installation/upgrade-to-2-0-8/
        and so on

        but i could not find any working solution.

        is that db-thing a pending issue?

        Best Regards

        Johan

        1 Reply Last reply
        0
        • L
          L
          lindeamon
          wrote on last edited by
          #4

          i have used "nxdbmgr upgrade -X" and it worked.
          the only thing that bothers me about it, is what data i am missing in the process.

          i suggest, backing up the db before the upgrade, running the upgrade with -X and check for data corruption.

          Best,
          Lindeamon

          1 Reply Last reply
          0
          • J
            J
            johan_t
            wrote on last edited by
            #5

            thank you lindeamon!

            Converting faild for tdata_111, 115, 187,.... to 942.

            But the Core-Service starts.

            It looks okay to me.

            I tell if i find missing data

            best regards,

            Johan

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              Hi,

              tdata tables holds table DCI values, so you should check your table DCIs. If you don't use them then everything should be fine.

              Best regards,
              Victor

              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