Maintenance Mode Failed

Maintenance mode on the database and search engine was attempted and failed. Possible reasons include:

  1. Silent configuration was attempted (see Documentation) and was unable to complete successfully.
  2. The database is not started or is not accessible using the JDBC URL provided in the database.url configuration (or environment variable).
  3. The database root credentials provided by database.root.username and optionally database.root.password configurations (or environment variables) were incorrect or did not have adequate privileges to create the schema.
  4. You are attempting to use a MySQL database, and the MySQL connector JAR is missing from the classpath or not included in the Docker container. The MySQL connector JAR must be downloaded and installed separately.
  5. You are attempting to use Elasticsearch, and Elasticsearch is not started or is not accessible using the URL(s) provided in the search.servers configuration (or environment variable).
  6. You are attempting to use database search, but the search.type configuration (or environment variable) is set to elasticsearch.

You can troubleshoot the maintenance mode failure by:

  1. Reviewing configuration provided in environment variables, Java System properties, and the fusionauth.properties file.
  2. Ensuring that the database and Elasticsearch services are accessible.
  3. Reviewing the FusionAuth logs for additional detail.