FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Upgrade issue from 1.21 -> 1.22

    Scheduled Pinned Locked Moved
    Q&A
    database upgrade
    0
    3
    1.3k
    Loading More Posts
    • 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.
    • danD
      dan
      last edited by

      Has anyone had an issue upgrading FusionAuth 1.21 -> 1.22 due to the state field of the tenant definition in the DB being missing?

      Logins still work but attempting to view the tenants in the console fails with a template error because of the missing field. It’s not a big issue as we can patch it easily enough, but I wonder if we missed a migration script or something.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        there is a migration script for 1.21 -> 1.22. It looks like it wasn't mentioned in the release notes, probably because it was a small migration. Perhaps that was an oversight.

        In general, if you are managing the migrations yourself (rather than having fusionauth do them for you) you should visit https://fusionauth.io/direct-download/ every time there is a release and download the migration scripts and run any new ones.

        https://fusionauth.io/docs/v1/tech/installation-guide/upgrade/#database has more details.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • robotdanR
          robotdan
          last edited by

          Added missing db migration notices for 1.21.0 and 1.22.0.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post