This morning, while working on an internal JIRA instance, I encountered the following error:
ERROR [c.a.j.appconsistency.db.PostgresSchemaConfigCheck] The schema name 'null' in your dbconfig.xml file contains upper case characters and JIRA only supports lower case schemas in POSTGRES.
Searching for an answer on this, I found that no one really had documented this error message and I figured I would create something so that others (and my future self) don't have to approach this from a blank-slate.
This error occurred on JIRA 7.0 Service Desk 3.xx with a dbconfig.xml file generated by config.sh.
The dbconfig.xml (with some information redacted) appears as follows:
<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>postgres72</database-type>
<jdbc-datasource>
<url>jdbc:postgresql://***REDACTED***/***REDACTED***</url>
<driver-class>org.postgresql.Driver</driver-class>
<username>***REDACTED***</username>
<password>***REDACTED***</password>
<pool-min-size>***REDACTED***</pool-min-size>
<pool-max-size>***REDACTED***</pool-max-size>
<pool-max-wait>***REDACTED***</pool-max-wait>
<time-between-eviction-runs-millis>***REDACTED***</time-between-eviction-runs-millis>
<pool-max-idle>***REDACTED***</pool-max-idle>
<pool-prepared-statements>***REDACTED***</pool-prepared-statements>
<pool-remove-abandoned>***REDACTED***</pool-remove-abandoned>
<pool-remove-abandoned-timeout>***REDACTED***</pool-remove-abandoned-timeout>
<pool-test-while-idle>***REDACTED***</pool-test-while-idle>
<validation-query-timeout>***REDACTED***</validation-query-timeout>
</jdbc-datasource>
</jira-database-config>