Navigation

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

    FusionAuth 1.37 is released

    Release
    5
    13
    660
    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.
    • dan
      dan last edited by

      Release notes: https://fusionauth.io/docs/v1/tech/release-notes#version-1-37-0

      Blog post: https://fusionauth.io/blog/2022/08/10/announcing-fusionauth-1-37

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

      1 Reply Last reply Reply Quote 1
      • G
        greggwonderly last edited by

        We use mysql and are getting exceptions that keep Fusion Auth in Docker container from running.

        fusionauth_1 | 2022-08-11 09:02:33.547 PM INFO com.inversoft.maintenance.DefaultMaintenanceModeWorkflow -
        fusionauth_1 |
        fusionauth_1 | ---------------------------------------------------------------------------------------------------------
        fusionauth_1 | ---------------------------------- Entering Silent Configuration Mode -----------------------------------
        fusionauth_1 | ---------------------------------------------------------------------------------------------------------
        fusionauth_1 |
        fusionauth_1 | Exception in thread "main" java.lang.NoClassDefFoundError: com/inversoft/mysql/MySQLHelper
        fusionauth_1 | at com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService.loadDriver(JDBCMaintenanceModeDatabaseService.java:430)
        fusionauth_1 | at com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService.lockDatabase(JDBCMaintenanceModeDatabaseService.java:281)
        fusionauth_1 | at com.inversoft.maintenance.db.DatabaseSilentModeWorkflowTask.perform(DatabaseSilentModeWorkflowTask.java:43)
        fusionauth_1 | at com.inversoft.maintenance.DefaultMaintenanceModeWorkflow.performSilentConfiguration(DefaultMaintenanceModeWorkflow.java:47)
        fusionauth_1 | at com.inversoft.maintenance.BaseMaintenanceModePrimeMain.modules(BaseMaintenanceModePrimeMain.java:58)
        fusionauth_1 | at org.primeframework.mvc.BasePrimeMain.hup(BasePrimeMain.java:65)
        fusionauth_1 | at org.primeframework.mvc.BasePrimeMain.start(BasePrimeMain.java:93)
        fusionauth_1 | at io.fusionauth.app.FusionAuthMain.main(FusionAuthMain.java:23)
        fusionauth_1 | Caused by: java.lang.ClassNotFoundException: com.inversoft.mysql.MySQLHelper
        fusionauth_1 | at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        fusionauth_1 | at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        fusionauth_1 | at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        fusionauth_1 | ... 8 more
        fusionauth_1 | Exception in thread "Thread-0" java.lang.NullPointerException: Cannot invoke "org.primeframework.mvc.netty.PrimeHTTPServer.shutdown()" because "this.server" is null
        fusionauth_1 | at org.primeframework.mvc.BasePrimeMain.shutdown(BasePrimeMain.java:84)
        fusionauth_1 | at org.primeframework.mvc.BasePrimeMain$PrimeHTTPServerShutdown.run(BasePrimeMain.java:106)

        C robotdan 2 Replies Last reply Reply Quote 1
        • C
          chekikeja last edited by

          I am facing the following error after I run the startup.bat script on windows.

          Exception in thread "main" java.lang.NoClassDefFoundError: com/inversoft/mysql/MySQLHelper
          at com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService.loadDriver(JDBCMaintenanceModeDatabaseService.java:430)
          at com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService.determineDatabaseStatus(JDBCMaintenanceModeDatabaseService.java:162)
          at com.inversoft.maintenance.db.DatabaseInteractiveWorkflowTask.perform(DatabaseInteractiveWorkflowTask.java:27)
          at com.inversoft.maintenance.DefaultMaintenanceModeWorkflow.getCurrentStage(DefaultMaintenanceModeWorkflow.java:63)
          at com.inversoft.maintenance.BaseMaintenanceModePrimeMain.modules(BaseMaintenanceModePrimeMain.java:71)
          at org.primeframework.mvc.BasePrimeMain.hup(BasePrimeMain.java:65)
          at org.primeframework.mvc.BasePrimeMain.start(BasePrimeMain.java:93)
          at io.fusionauth.app.FusionAuthMain.main(FusionAuthMain.java:23)
          Caused by: java.lang.ClassNotFoundException: com.inversoft.mysql.MySQLHelper
          at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
          at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
          ... 8 more
          Exception in thread "Thread-0" java.lang.NullPointerException: Cannot invoke "org.primeframework.mvc.netty.PrimeHTTPServer.shutdown()" because "this.server" is null
          at org.primeframework.mvc.BasePrimeMain.shutdown(BasePrimeMain.java:84)
          at org.primeframework.mvc.BasePrimeMain$PrimeHTTPServerShutdown.run(BasePrimeMain.java:106)

          1 Reply Last reply Reply Quote 1
          • C
            chekikeja @greggwonderly last edited by

            Hello @greggwonderly

            Have you managed to solve this issue? I am getting the same error log when running the startup script on windows.

            G robotdan 2 Replies Last reply Reply Quote 0
            • G
              greggwonderly @chekikeja last edited by

              @chekikeja I switched back to version 1.36 for now and it is working there as it was prior to this update.

              C dan 2 Replies Last reply Reply Quote 0
              • C
                chekikeja @greggwonderly last edited by

                @greggwonderly Using Postgresql worked for me. Although I realized if you had initially selected MySql, this error is still thrown. The solution is to do a fresh installation of fusionauth and only select Postgresql while filling the maintenance mode form.

                dan 1 Reply Last reply Reply Quote 0
                • dan
                  dan @chekikeja last edited by

                  @chekikeja FYI, windows support is going to come through WSL2 in 1.37 and beyond.

                  https://fusionauth.io/docs/v1/tech/release-notes

                  Windows install has been removed. Our strategy is to support Windows using WSL 2 with our provided debian package. Please plan to utilize this strategy, and open a GitHub issue if you encounter issues with the installation.

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

                  1 Reply Last reply Reply Quote 0
                  • dan
                    dan @greggwonderly last edited by

                    @greggwonderly Hmm. Interesting.

                    Were you upgrading?

                    Do you see this on a fresh install?

                    What version of mysql are you using?

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

                    1 Reply Last reply Reply Quote 0
                    • H
                      hwallenstone last edited by

                      I have the same problem. Yes, it is a fresh install.

                      robotdan 1 Reply Last reply Reply Quote 0
                      • robotdan
                        robotdan @hwallenstone last edited by

                        @hwallenstone @chekikeja @greggwonderly

                        Sorry for the delay here, I've opened a GH issue to identify the cause of this and resolve ASAP.
                        https://github.com/FusionAuth/fusionauth-issues/issues/1862

                        1 Reply Last reply Reply Quote 0
                        • robotdan
                          robotdan @greggwonderly last edited by

                          @greggwonderly

                          When using the Docker image you'll need to either use PostgreSQL or build the MySQL JDBC connector into the image.

                          We've updated the Docker Hub description and the Docker install instructions to make this clearer.

                          https://hub.docker.com/r/fusionauth/fusionauth-app
                          https://fusionauth.io/docs/v1/tech/installation-guide/docker#limitations
                          https://raw.githubusercontent.com/FusionAuth/fusionauth-containers/master/docker/fusionauth/fusionauth-app-mysql/Dockerfile

                          This is a current limitation due our current understanding of the license under which the MySQL JDBC connector is released by Oracle.

                          1 Reply Last reply Reply Quote 0
                          • robotdan
                            robotdan @chekikeja last edited by

                            @chekikeja

                            You'll need to use WSL v2 or wait for the update which will include a native Windows start script using PowerShell.

                            See https://github.com/FusionAuth/fusionauth-issues/issues/1848

                            dan 1 Reply Last reply Reply Quote 0
                            • dan
                              dan @robotdan last edited by

                              Just to close the loop on this, 1.40 includes the native window installation script and there are now instructions on how to install the mysql jar file.

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

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