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. 2.1 DB upgrade fails, MS SQL Server

2.1 DB upgrade fails, MS SQL Server

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 6.9k 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.
  • P
    P
    par.abrahamsson
    wrote on last edited by
    #1

    Hi! After upgrade from 2.0 to 2.1 (Windows Server 2008 R2 with SQL Server 2008 R2) the services wont start and when reading logs it's because the DB is in wrong version.

    Trying to rung dbmbgr upgrade ends in this:

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

    1 Reply Last reply
    0
    • P
      P
      par.abrahamsson
      wrote on last edited by
      #2

      Solved or, at least we came through the problem. We deleted the data in the tables reporting the errors and then the db-upgrade worked.

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

        cheers,

        victor, as you can see, the upgrade happens in several tables.
        defiantly needs to be checked...

        Best,
        Lindeamon

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

          Can somebody please run upgrade with -t option and post output? Also, content of failed table before upgrade could be helpful.

          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