Hi,
We have problem to start Bit bucket server. Service AtlassianBitbucketElasticsearch doesn't start. and we receive the following error when trying to open web interface.
A fatal error has occurred
The following problem occurred, which prevents Atlassian Bitbucket from starting:
SpringMVC dispatcher [springMvc] could not be started
The installed version is 6.5.1.
We made a snapshot and installed version 7.21.5. Now services starts, but web interface doesn't.
We would appreciate any help on this issue.
Regards,
Ibrahim
Hi,
Have you checked git version?
https://confluence.atlassian.com/bitbucketserver0721/supported-platforms-1115666749.html
and the installed git version...
Best wishes
You give us two versions in there - do you mean you had 6.5.1 and upgraded to 7.21.5? Of Bitbucket? Or something else?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We upgrade Bitbucket to 7.21.5, since version 6.5.1 is not working. We can restore to 6.5.1 if we can fix it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, thank you for clarifying that for me.
So the next question is what is the rest of the startup errors you are getting? I mean, what do you get when you try to visit the server's site? And what are the other errors in the logs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When trying the service, we received the following error: The Atlassian Bitbucket Elasticsearch 6.5.3 (AtlassianBitbucketElasticsearch) service terminated unexpectedly.
Log information is below:
2022-10-04 13:40:05,552 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 13:40:06,051 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 4400 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 13:40:06,067 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 13:40:08,098 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 13:40:08,098 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 13:40:14,254 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 10.328 seconds (JVM running for 21.1)
2022-10-04 13:40:24,411 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 13:42:33,729 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 13:47:44,013 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 13:47:44,512 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 4216 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 13:47:44,512 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 13:47:46,543 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 13:47:46,543 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 13:47:53,809 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 11.344 seconds (JVM running for 21.233)
2022-10-04 13:48:02,930 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 13:49:15,577 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 13:55:53,590 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 13:55:54,075 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 9716 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 13:55:54,075 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 13:55:56,059 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 13:55:56,059 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 13:56:01,403 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.125 seconds (JVM running for 14.078)
2022-10-04 13:56:09,716 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 13:58:13,514 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 14:01:48,436 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 14:01:48,998 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 5224 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 14:01:48,998 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 14:01:50,780 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 14:01:50,780 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 14:01:56,264 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.219 seconds (JVM running for 13.972)
2022-10-04 14:02:04,233 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 14:28:18,868 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 14:29:36,377 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 14:29:36,862 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 9844 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 14:29:36,862 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 14:29:39,034 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 14:29:39,034 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_60-b27
2022-10-04 14:29:44,549 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.843 seconds (JVM running for 15.861)
2022-10-04 14:29:52,971 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 14:31:04,686 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 14:31:51,978 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 14:31:52,478 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 8952 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 14:31:52,479 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 14:31:54,502 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 14:31:54,502 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_60-b27
2022-10-04 14:32:00,059 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.638 seconds (JVM running for 14.716)
2022-10-04 14:32:08,885 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 14:42:28,072 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 14:43:19,870 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 14:43:20,433 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 4420 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 14:43:20,433 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 14:43:22,572 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 14:43:22,572 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 14:43:28,286 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.922 seconds (JVM running for 15.339)
2022-10-04 14:43:36,505 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 14:48:17,039 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 14:49:14,721 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 14:49:15,185 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 6780 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 14:49:15,185 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 14:49:17,201 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 14:49:17,201 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 14:49:22,404 WARN [Thread-2] c.a.b.i.b.BitbucketServerApplication Stop command received, but Bitbucket is not running
2022-10-04 14:49:22,998 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.609 seconds (JVM running for 14.461)
2022-10-04 14:49:31,685 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 14:49:56,692 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 14:49:57,169 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 7284 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 14:49:57,176 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 14:49:59,128 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 14:49:59,128 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 14:50:04,398 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.187 seconds (JVM running for 13.892)
2022-10-04 14:50:12,442 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 15:01:16,846 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 15:02:28,771 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 15:02:29,287 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 4156 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 15:02:29,303 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 15:02:31,209 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 15:02:31,209 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 15:02:37,088 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.832 seconds (JVM running for 20.071)
2022-10-04 15:02:47,073 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 15:07:36,951 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 15:09:40,910 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 15:09:41,410 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 5632 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 15:09:41,410 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 15:09:43,302 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 15:09:43,302 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 15:09:48,641 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 9.009 seconds (JVM running for 14.179)
2022-10-04 15:09:57,363 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 15:17:38,572 INFO [Thread-5] c.a.b.i.boot.log.BuildInfoLogger Bitbucket 6.5.1 has shut down
2022-10-04 15:18:21,762 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
2022-10-04 15:18:22,387 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BKCODE with PID 4300 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 15:18:22,387 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 15:18:24,903 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 15:18:24,903 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 15:18:32,887 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 12.875 seconds (JVM running for 23.801)
2022-10-04 15:19:10,758 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 15:49:23,532 WARN [spring-startup] o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'licenseHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/C:/Atlassian/Bitbucket/6.5.1/app/WEB-INF/lib/bitbucket-service-impl-6.5.1.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by BKCODE (192.168.5.19) since 10/3/22 9:21 PM
2022-10-04 15:49:23,548 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 15:49:23,579 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'licenseHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/C:/Atlassian/Bitbucket/6.5.1/app/WEB-INF/lib/bitbucket-service-impl-6.5.1.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by BKCODE (192.168.5.19) since 10/3/22 9:21 PM
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:676)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.lang.Thread.run(Thread.java:748)
... 18 frames trimmed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'licenseHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/C:/Atlassian/Bitbucket/6.5.1/app/WEB-INF/lib/bitbucket-service-impl-6.5.1.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by BKCODE (192.168.5.19) since 10/3/22 9:21 PM
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)
... 5 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/C:/Atlassian/Bitbucket/6.5.1/app/WEB-INF/lib/bitbucket-service-impl-6.5.1.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by BKCODE (192.168.5.19) since 10/3/22 9:21 PM
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
... 5 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by BKCODE (192.168.5.19) since 10/3/22 9:21 PM
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1778)
... 5 common frames omitted
Caused by: liquibase.exception.LockException: Could not acquire change log lock. Currently locked by BKCODE (192.168.5.19) since 10/3/22 9:21 PM
at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:230)
at liquibase.Liquibase.update(Liquibase.java:184)
at liquibase.Liquibase.update(Liquibase.java:179)
at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:317)
at liquibase.database.ExtendedSpringLiquibase.afterPropertiesSet(ExtendedSpringLiquibase.java:32)
... 5 common frames omitted
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just realized that problem came after Git was uninstalled from a guy without knowing the effect it'll have. We installed again, but didn't work. It may need some configuration which we don't know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That log looks like you have not upgraded Bitbucket. It's still referring to the old version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, becuase we reverted the snapshot, and would be willing if we could fix this version first. So problem started after GIT was uninstalled and re-installation didn't fix it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, OK.
I suspect you took your snapshot when Bitbucket was running, which often leaves it in a state where it looks like it is running, despite not being, so when you try to start it, it thinks it is already running.
Have a run through https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-does-not-start-could-not-acquire-change-log-lock-779171307.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I run the script on SQL, again service doesn't start and log is below.
2022-10-04 22:32:06,483 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on BQKCODE with PID 6932 (C:\Atlassian\Bitbucket\6.5.1\app\WEB-INF\classes started by atlbitbucket in C:\Atlassian\Bitbucket\6.5.1\app)
2022-10-04 22:32:06,484 INFO [main] c.a.b.i.b.BitbucketServerApplication The following profiles are active: windows
2022-10-04 22:32:08,254 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 6.5.1 (cc9dc40 built on Mon Jul 29 01:40:22 CEST 2019)
2022-10-04 22:32:08,254 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_172-b11
2022-10-04 22:32:13,513 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 8.867 seconds (JVM running for 14.36)
2022-10-04 22:32:22,203 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket
2022-10-04 22:32:34,007 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\Atlassian\ApplicationData\Bitbucket\shared
2022-10-04 22:32:39,772 WARN [spring-startup] com.hazelcast.instance.Node [192.168.5.19]:5701 [atlbitbucket] [3.11.1] No join method is enabled! Starting standalone.
2022-10-04 22:33:23,562 INFO [spring-startup] c.a.s.i.h.s.WindowsHookScriptCommandLineFactory Found GNU bash at C:\Program Files\Git\bin\bash.exe
2022-10-04 22:33:26,814 INFO [spring-startup] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:53376
2022-10-04 22:33:32,344 INFO [spring-startup] c.a.s.i.s.g.t.DefaultTranscodeServer Callback socket listening at 127.0.0.1:53378
2022-10-04 22:33:41,974 WARN [FelixStartLevel] o.e.g.b.e.i.s.ExtenderConfiguration Gemini Blueprint extensions bundle not present, annotation processing disabled.
2022-10-04 22:34:11,988 WARN [ThreadPoolAsyncTaskExecutor::Thread 14] c.r.a.samlsso.AbstractSamlSsoService Configuration is not valid, not initializing.
2022-10-04 22:34:15,508 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/plugin/connect/confluence/ in bundle com.atlassian.plugins.atlassian-connect-plugin; it does not exist
2022-10-04 22:34:19,133 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle com.atlassian.oauth.atlassian-oauth-service-provider-plugin; it does not exist
2022-10-04 22:34:21,170 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbucket.languages.de_DE; it does not exist
2022-10-04 22:34:21,170 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbucket.languages.fr_FR; it does not exist
2022-10-04 22:34:21,185 WARN [spring-startup] c.a.s.i.p.s.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle tac.bitbucket.languages.ja_JP; it does not exist
2022-10-04 22:34:21,514 INFO [spring-startup] c.a.s.internal.scm.PluginScmService Bitbucket is using C:\Program Files\Git\cmd\git.exe version 2.38.0
2022-10-04 22:34:22,076 INFO [spring-startup] c.a.b.internal.ssh.server.SshServer Starting SSH server on port 7999...
2022-10-04 22:34:22,279 INFO [spring-startup] c.a.b.internal.ssh.server.SshServer Started SSH server successfully.
2022-10-04 22:34:23,263 INFO [spring-startup] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: AuthenticationCheck
2022-10-04 22:34:23,357 INFO [spring-startup] c.a.b.i.s.i.e.DefaultIndexEventQueueProcessor Event queue processor has been started
2022-10-04 22:34:23,357 INFO [spring-startup] c.a.b.i.s.c.c.DefaultClusterJobManager Registering job for ElasticsearchSynchronizeJob
2022-10-04 22:34:23,357 INFO [spring-startup] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: SearchIndexCheck
2022-10-04 22:34:23,357 INFO [spring-startup] c.a.b.i.s.c.c.DefaultClusterJobManager Registering job for StartupChecksJob
2022-10-04 22:34:23,388 INFO [spring-startup] c.a.b.i.s.c.j.c.HealthCheckRunner New health check registered: KnownIssueCheck
2022-10-04 22:34:38,432 INFO [Caesium-1-1] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search
2022-10-04 22:34:39,512 WARN [Caesium-1-1] c.a.b.i.s.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch during index synchronisation.
2022-10-04 22:34:39,512 WARN [Caesium-1-1] c.a.b.i.s.c.cluster.ClusterJobRunner Job execution failed. Rescheduling. Job key: com.atlassian.bitbucket.internal.search.indexing.jobs.StartupChecksJob Job id: 264849c0-6cc6-4310-8f50-cde11ba8764d
2022-10-04 22:35:12,569 WARN [Caesium-1-4] c.a.a.c.h.r.RemoteHashingInstructionsReader Unable to read remote instructions with key 'uid.onewayhash'.
2022-10-04 22:35:12,569 WARN [Caesium-1-4] c.a.a.c.h.BcryptAnalyticsEmailHasher No instructions for hashing could be found.
2022-10-04 22:35:39,553 INFO [Caesium-1-1] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search
2022-10-04 22:35:40,584 WARN [Caesium-1-1] c.a.b.i.s.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch during index synchronisation.
2022-10-04 22:35:40,584 WARN [Caesium-1-1] c.a.b.i.s.c.cluster.ClusterJobRunner Job execution failed. Rescheduling. Job key: com.atlassian.bitbucket.internal.search.indexing.jobs.StartupChecksJob Job id: b9c8bc3e-a856-483d-ade8-dd1b64b32e4e
2022-10-04 22:35:53,209 WARN [UpmScheduler:thread-1] com.atlassian.upm.pac.PacClientImpl Error when querying application info from MPAC: com.atlassian.marketplace.client.MpacException: org.apache.http.conn.ConnectTimeoutException: Connect to marketplace.atlassian.com:443 [marketplace.atlassian.com/185.166.143.33, marketplace.atlassian.com/185.166.143.34, marketplace.atlassian.com/185.166.143.35] failed: connect timed out
2022-10-04 22:37:40,624 INFO [Caesium-1-2] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search
2022-10-04 22:37:41,654 WARN [Caesium-1-2] c.a.b.i.s.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch during index synchronisation.
2022-10-04 22:37:41,654 WARN [Caesium-1-2] c.a.b.i.s.c.cluster.ClusterJobRunner Job execution failed. Rescheduling. Job key: com.atlassian.bitbucket.internal.search.indexing.jobs.StartupChecksJob Job id: 2603ed1d-f43d-4e07-961c-51f2050f5e7e
2022-10-04 22:41:41,758 INFO [Caesium-1-3] c.a.b.i.s.i.jobs.StartupChecksJob Running startup jobs for search
2022-10-04 22:41:42,774 WARN [Caesium-1-3] c.a.b.i.s.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch during index synchronisation.
2022-10-04 22:41:42,774 WARN [Caesium-1-3] c.a.b.i.s.c.cluster.ClusterJobRunner Job execution failed. Rescheduling. Job key: com.atlassian.bitbucket.internal.search.indexing.jobs.StartupChecksJob Job id: f6283320-1988-40b2-b0d2-8b46907492d7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are there any errors after this? These are now all warnings and information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are no errors, but service doesn't start either, and web interface doesn't open. I don't know where else to look for errors, or any debug that could lead to the cause of the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so how are you running the service, and what do the logs for the service runner saying? Also, can you check both application and the Tomcat logs? We've only seen one part of one of those so far.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Services are running under local user account which is part of admin group, and AtlassianBitbucket service starts normally, and logs show all normal, but the AtlassianBitbucketElasticsearch service doesn't start at all, and I cannot find a log for it. Everything related to Tomcat log is very old, years old, but our problem started a week ago, after uninstalling GIT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But how are you running the services? What starts them? And what do the logs for that process of start up say?
You need to also look at the current Tomcat log, not an old one that you're not using any more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
These are Windows services running under a windows user account with admin privileges. I don't find any log for the service that doesn't start (AtlassianBitbucketElasticsearch) or any Tomcht log. I searched all the Atlassian folders but I cannot find any new log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to be reading the logs for the service start up.
Tomcat's main log is called catalina.out, and Tomcat won't start if it can't create and write to the log, so you definitely have one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to say, but I cannot find that log, and there is no Tomcat service installed. The only log I find related to AtlassianBitbucketElasticsearch is the one below.
Java HotSpot(TM) 64-Bit Server VM (25.172-b11) for windows-amd64 JRE (1.8.0_172-b11), built on Mar 28 2018 21:21:52 by "java_re" with MS VC++ 10.0 (VS2010)
Memory: 4k page, physical 16383000k(8142812k free), swap 18873368k(15176716k free)
CommandLine flags: -XX:+AlwaysPreTouch -XX:CMSInitiatingOccupancyFraction=75 -XX:ErrorFile=logs/hs_err_pid%p.log -XX:GCLogFileSize=67108864 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -XX:InitialHeapSize=1073741824 -XX:MaxHeapSize=1073741824 -XX:MaxNewSize=357916672 -XX:MaxTenuringThreshold=6 -XX:NewSize=357916672 -XX:NumberOfGCLogFiles=32 -XX:OldPLABSize=16 -XX:OldSize=715825152 -XX:-OmitStackTraceInFastThrow -XX:+PrintGC -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:ThreadStackSize=1024 -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseGCLogFileRotation -XX:-UseLargePagesIndividualAllocation -XX:+UseParNewGC
2022-10-04T23:20:24.676+0200: 0.852: Total time for which application threads were stopped: 0.0002767 seconds, Stopping threads took: 0.0000287 seconds
2022-10-04T23:20:24.693+0200: 0.872: Total time for which application threads were stopped: 0.0001052 seconds, Stopping threads took: 0.0000262 seconds
2022-10-04T23:20:24.864+0200: 1.038: Total time for which application threads were stopped: 0.0002776 seconds, Stopping threads took: 0.0000387 seconds
Heap
par new generation total 314560K, used 33583K [0x00000000c0000000, 0x00000000d5550000, 0x00000000d5550000)
eden space 279616K, 12% used [0x00000000c0000000, 0x00000000c20cbfc0, 0x00000000d1110000)
from space 34944K, 0% used [0x00000000d1110000, 0x00000000d1110000, 0x00000000d3330000)
to space 34944K, 0% used [0x00000000d3330000, 0x00000000d3330000, 0x00000000d5550000)
concurrent mark-sweep generation total 699072K, used 0K [0x00000000d5550000, 0x0000000100000000, 0x0000000100000000)
Metaspace used 8896K, capacity 9142K, committed 9344K, reserved 1056768K
class space used 996K, capacity 1113K, committed 1152K, reserved 1048576K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bitbucket is a web-application that has to be run by a web-application server.
Atlassian mostly run their web-applications on Tomcat nowadays. So, while you might not see Tomcat running as a service, your Bitbucket (and elasticsearch) are running Tomcat.
I am afraid that we, the Community, can't help you unless you can give us the service, Tomcat and application logs that show the errors that are blocking you.
If you can't work out where these are, the best thing to do would be to raise a support request with Atlassian (and give them as much configuration info as you can) - start at https://support.atlassian.com/contact
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your suggestion, but there is no way (link) to contact supports. Published links bring me here or to the documentation, none to the technical support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The contact page asks you a load of questions and takes you to a support request form - that is how you contact support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried many times, but it only give option to come the Atlassian Community. If I choose to ask help for Upgrading..., at the end of the page, it shows a link to create a support ticket, and after I click, it displays the following:
They say that all roads, lead to Rome.
But we’ve lost our way, so let’s try going home.
Head to our documentation homepage that does exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.