Hello,
I try to start bitbucket [atlas-run -DskipTests], but receive multiple errors.
I follow https://developer.atlassian.com/server/framework/clientside-extensions/guides/introduction/
My purpose is to create client side extension.
When trying to access http://localhost:7990/bitbucket/
I receive:
A fatal error has occurred
The following problems occurred, which prevents Atlassian Bitbucket from starting:
- Required plugin com.atlassian.activeobjects.activeobjects-plugin has failed to start
- Required plugin com.atlassian.applinks.applinks-plugin has failed to start
- Required plugin com.atlassian.atlassian-failure-cache-plugin has failed to start
- Required plugin com.atlassian.auiplugin has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-crowd-spi has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-nav-links has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-policies has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-rest has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-sal has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-velocity-helper has failed to start
- Required plugin com.atlassian.bitbucket.server.bitbucket-upm-accessor has failed to start
- Required plugin com.atlassian.crowd.embedded.admin has failed to start
- Required plugin com.atlassian.oauth.consumer has failed to start
- Required plugin com.atlassian.oauth.consumer.sal has failed to start
- Required plugin com.atlassian.oauth.serviceprovider has failed to start
- Required plugin com.atlassian.oauth.serviceprovider.sal has failed to start
- Required plugin com.atlassian.plugins.atlassian-clientside-extensions-runtime has failed to start
- Required plugin com.atlassian.plugins.atlassian-client-resource has failed to start
- Required plugin com.atlassian.plugins.atlassian-nav-links-plugin has failed to start
- Required plugin com.atlassian.plugins.atlassian-plugins-webresource-plugin has failed to start
- Required plugin com.atlassian.plugins.atlassian-plugins-webresource-rest has failed to start
- Required plugin com.atlassian.plugins.jquery has failed to start
- Required plugin com.atlassian.plugins.less-transformer-plugin has failed to start
- Required plugin com.atlassian.plugins.rest.atlassian-rest-module has failed to start
- Required plugin com.atlassian.soy.soy-template-plugin has failed to start
- Required plugin com.atlassian.stash.ssh-plugin has failed to start
- Required plugin com.atlassian.templaterenderer.api has failed to start
- Required plugin com.atlassian.templaterenderer.atlassian-template-renderer-velocity1.6-plugin has failed to start
- Required plugin com.atlassian.troubleshooting.plugin-bitbucket has failed to start
- Required plugin com.atlassian.upm.atlassian-universal-plugin-manager-plugin has failed to start
from logs:
[INFO] 2022-10-06 19:46:58,092 WARN [spring-startup] c.a.p.c.r.StaticPluginPathScanner Cannot scan directory /static/bitbucket/internal/feature/admin/ratelimit/ in web static as it does not exist
[INFO] 2022-10-06 19:47:07,449 INFO [spring-startup] c.a.s.internal.scm.PluginScmService Bitbucket is using C:\Program Files\Git\bin\git.exe version 2.38.0
[INFO] 2022-10-06 19:47:07,652 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 372.524 seconds (JVM running for 373.566)
[INFO] bitbucket started successfully in 393s at http://localhost:7990/bitbucket
[INFO] Type Ctrl-C to shutdown gracefully
[INFO] 2022-10-06 19:47:42,713 INFO [threadpool:thread-2] c.a.b.i.b.s.m.BuildStatusMigrationRunner Starting Java based migration of remaining build statuses
[INFO] 2022-10-06 19:47:52,731 ERROR [threadpool:thread-2] c.a.s.i.c.StateTransferringRunnable Error while processing asynchronous task
[INFO] com.atlassian.stash.internal.plugin.OsgiServiceProxyFactoryImpl$ServiceTimeoutExceeded: Timeout exceeded waiting for service - com.atlassian.bitbucket.dmz.build.status.dao.DmzLegacyBuildDao
[INFO] at com.atlassian.stash.internal.plugin.OsgiServiceProxyFactoryImpl$DynamicServiceInvocationHandler.invoke(OsgiServiceProxyFactoryImpl.java:102)
[INFO] at jdk.proxy2/jdk.proxy2.$Proxy443.getMaxId(Unknown Source)
[INFO] at com.atlassian.bitbucket.internal.build.status.migration.BuildStatusMigrationRunner.lambda$null$4(BuildStatusMigrationRunner.java:119)
[INFO] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
[INFO] at com.atlassian.bitbucket.internal.build.status.migration.BuildStatusMigrationRunner.lambda$doJavaMigration$5(BuildStatusMigrationRunner.java:118)
[INFO] at com.atlassian.stash.internal.concurrent.StateTransferringRunnable.run(StateTransferringRunnable.java:50)
[INFO] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
[INFO] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[INFO] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
[INFO] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[INFO] at java.base/java.lang.Thread.run(Thread.java:1589)
Thanks! Tamir