You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello, I am trying to clone the production Bitbucket instance to the test one, so I cloned the DB and NFS, but it doesn't work. I already tried executing "UPDATE DATABASECHANGELOGLOCK SET LOCKED=0, LOCKGRANTED=null, LOCKEDBY=null where ID=1;
commit;". Here's the log:
2022-10-05 12:05:42,846 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to 1 default profile: "default"
2022-10-05 12:05:43,701 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 7.21.5 (c3bc80a built on Mon Sep 19 05:04:09 UTC 2022)
2022-10-05 12:05:43,701 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: AdoptOpenJDK OpenJDK 64-Bit Server VM 1.8.0_212-b03
2022-10-05 12:05:45,000 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 3.308 seconds (JVM running for 3.896)
2022-10-05 12:05:47,618 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/bitbucket
2022-10-05 12:05:48,015 INFO [spring-startup] c.a.s.i.j.DefaultDataSourceConfigurationFactory Replaced legacy Oracle JDBC driver: oracle.jdbc.driver.OracleDriver -> oracle.jdbc.OracleDriver
2022-10-05 12:06:01,108 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 t
hrough 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]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentEx
ception
2022-10-05 12:06:01,130 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket
2022-10-05 12:06:01,134 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 'sharedHome
LockAcquirer' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:767)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.lang.Thread.run(Thread.java:748)
... 19 frames trimmed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804)
... 5 common frames omitted
Caused by: java.lang.IllegalArgumentException: null
at com.atlassian.stash.internal.license.DefaultLicenseHelper.decode(DefaultLicenseHelper.java:94)
at com.atlassian.stash.internal.license.DefaultLicenseHelper.getDecoded(DefaultLicenseHelper.java:108)
at com.atlassian.stash.internal.license.DefaultLicenseHelper.isClusteringEnabled(DefaultLicenseHelper.java:117)
at com.atlassian.stash.internal.home.SharedHomeLockAcquirer.isSharedLockRequired(SharedHomeLockAcquirer.java:106)
at com.atlassian.stash.internal.home.SharedHomeLockAcquirer.createHomeLock(SharedHomeLockAcquirer.java:96)
at com.atlassian.stash.internal.home.HomeLockAcquirer.lock(HomeLockAcquirer.java:56)
... 5 common frames omitted
2022-10-05 12:06:01,537 WARN [http-nio-7990-exec-8] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
Thank you!