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. Upgrade to 36.4

Upgrade to 36.4

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 54.6k 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
    peterjn
    wrote on last edited by
    #1

    While upgrading the database to 36.4 i get the following error:

    Upgrading from version 36.3 to 36.4
    SQL query failed (Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs):
    ALTER TABLE nodes ADD agent_cert_mapping_method char(1)
    Rolling back last stage due to upgrade errors...
    Database upgrade failed

    I am running Debian 10 and MariaDB (10.3.27)

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      Recent changes in NetXMS added fields to nodes table. Looks like we are now hitting page size limitation: https://mariadb.com/kb/en/innodb-row-formats-overview/#maximum-row-size
      Increasing innodb_page_size might help.

      1 Reply Last reply
      0
      • P
        P
        peterjn
        wrote on last edited by
        #3
        • According to de mariaDB documentation innodb_page_size can only be changed for a new databases (https://mariadb.com/kb/en/how-to-change-innodb_page_size/)

        • increasing innodb_page_size is bad for tables with small record size and a lot of inserts like the tables that store the values.

        PS: I think it is wise to remove 36.4 from the distributions. I just did a apt-get update && apt-get upgrade and now the netxms server is broken.

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          What is the value of innodb_page_size on your system?

          1 Reply Last reply
          0
          • P
            P
            peterjn
            wrote on last edited by
            #5

            My MariaDB standard debian. No parameters are changed.

            In the standaard debian conf innodb_page_size is not set.

            1 Reply Last reply
            0
            • F
              F
              Filipp Sudanov
              wrote on last edited by
              #6

              What's the output of

              show status where variable_name = "innodb_page_size";
              

              I've just tried to install NetXMS 3.5 from packages on Debian 10 and upgrade to 3.6 went successfully. Could it be that your NetXMS database was created some time ago and on older MariaDB?

              1 Reply Last reply
              0
              • P
                P
                peterjn
                wrote on last edited by
                #7

                MariaDB [(none)]> show status where variable_name = "innodb_page_size";
                +------------------+-------+
                | Variable_name    | Value |
                +------------------+-------+
                | Innodb_page_size | 16384 |
                +------------------+-------+

                The database was old. I upgraded to debian 10.

                I just did a dump, drop, create and restored of the database and known nxdbmgr upgrade is working and netxmsd is running again.

                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