Error creating bean with name 'databaseSupplier'
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Bitbucket Failed to start on the initial start after attempting upgrade
The following appears in the atlassian-bitbucket
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseSupplier': Invocation of init method failed; nested exception is com.atlassian.stash.internal.db.UnsupportedDatabaseException: The configured database is unsupported at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ... 5 common frames omitted Caused by: com.atlassian.stash.internal.db.UnsupportedDatabaseException: The configured database is unsupported at com.atlassian.stash.internal.db.DefaultDatabaseSupplier.validate(DefaultDatabaseSupplier.java:147) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... 5 common frames omitted
- The type and version of the database
- The version of git installed on the Bitbucket Server host machine
- The exact steps taken during the upgrade process
- Verify if a backup was taken of the instance prior to the upgrade
issues like this occur when the supported platforms are not updated with respect to the upgrade.
The issue is generally resolved by pointing to the correct version of Database.