UNSOLVED Cannot setup the first administrator account
I'm new to FusionAuth and trying to set up a new application.
I'm following the 5 mins guide and I'm working on Windows. After installing FusionAuth, I successfully started FusionAuth through the command fusionauth/bin/startup.bat. Then, I completed the first step of the Maintenance mode entering the Postgres username and password. So far so good. Everything seems working as expected.
At this point, I enter all required fields by the FusionAuth Setup Wizard to set up the first administrator account. However, when I submit it fails. The only message I can see says that something has failed. No explanation. I looked at the logs but I couldn't find anything helpful.
Can somebody help me with this? Maybe there is something basic that I'm missing. I'm attaching a screenshot of the setup wizard with the error message.
Thanks in advance!!
Did you end up resolving this?
Things I'd look at:
- any errors in the log file
- whether the fusionauth database user was created and if that user can log in (you can look in the fusionauth.properties file for that info)
- what the fusionauth database looks like
I'd also be interested in the database you are using (including version) and the version of fusionauth.
os: windows 11
I am also facing same issue.
No error in fusionsuth-app.log
What version of PostgreSQL? There's a known issue with postgresql version 15 that should be fixed in FusionAuth 1.43.
You can track the progress of that issue here: https://github.com/FusionAuth/fusionauth-issues/issues/2015
I tried creating fresh schema using sql script, but no luck still stuck at this admin setup page
--------------------------------- Starting FusionAuth version [1.42.1] ----------------------------------
2023-01-18 04:06:28.186 pm INFO io.fusionauth.api.plugin.guice.PluginModule - No plugins found
2023-01-18 04:06:28.320 pm INFO io.fusionauth.api.service.system.NodeService - Node [392c604f-8e73-4a67-8038-e15c17ae562a] started.
2023-01-18 04:06:28.691 pm INFO io.fusionauth.api.configuration.DefaultFusionAuthConfiguration - Loading FusionAuth configuration file [C:\dev\actops\fusion\fusionauth\config\fusionauth.properties]
2023-01-18 04:06:28.746 pm INFO io.fusionauth.api.configuration.DefaultFusionAuthConfiguration - Dynamically set property [fusionauth-app.url] set to [http://192.168.1.9:9011]
2023-01-18 04:06:28.747 pm INFO com.inversoft.configuration.BasePropertiesFileInversoftConfiguration -
- Overriding default value of property [database.mysql.enforce-utf8mb4] with value [true]
- Overriding default value of property [fusionauth-app.runtime-mode] with value [development]
- Overriding default value of property [search.type] with value [database]
2023-01-18 04:06:28.748 pm INFO com.inversoft.jdbc.hikari.DataSourceProvider - Connecting to PostgreSQL database at [jdbc:postgresql://localhost:5432/fusionauth]
2023-01-18 04:06:28.749 pm WARN com.zaxxer.hikari.HikariConfig - HikariPool-1 - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool.
2023-01-18 04:06:28.749 pm INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2023-01-18 04:06:28.787 pm INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@303c55fa
2023-01-18 04:06:28.794 pm INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2023-01-18 04:06:29.463 pm INFO com.inversoft.scheduler.DefaultScheduler - Starting up scheduler
2023-01-18 04:06:29.464 pm INFO com.inversoft.scheduler.DefaultScheduler - Scheduler is running
2023-01-18 04:06:29.563 pm INFO io.fusionauth.api.service.system.NodeService - Node [392c604f-8e73-4a67-8038-e15c17ae562a] added with address [http://192.168.1.9:9011]
2023-01-18 04:06:30.065 pm INFO io.fusionauth.app.primeframework.FusionHTTPContextAuthSetup - Initializing the FusionAuth HTTP Context.
2023-01-18 04:06:30.193 pm INFO org.primeframework.mvc.PrimeMVCRequestHandler - Initializing Prime
2023-01-18 04:06:30.194 pm INFO org.primeframework.mvc.PrimeMVCRequestHandler - Initializing Prime
2023-01-18 04:06:30.195 pm INFO io.fusionauth.http.server.HTTPServer - Starting the HTTP server. Buckle up!
2023-01-18 04:06:30.222 pm INFO io.fusionauth.http.server.HTTPServer - HTTP server listening on port 
2023-01-18 04:06:30.222 pm INFO io.fusionauth.http.server.HTTPServer - HTTP server started successfully
2023-01-18 04:06:30.222 pm INFO io.fusionauth.http.server.HTTPServer - Starting the HTTP server. Buckle up!
My issue resolved , Issue occurred due to port conflict
@vvicazz That's great news!