Seems bitbucket LTS 8.9 isn't working with the agent.
additionalJvmArgs:
- '-javaagent:/var/atlassian/application-data/bitbucket/atlassian-agent.jar'
Starting Bitbucket webapp at http://localhost:7990
--
Wed, Jun 28 2023 6:44:46 pm | 17:44:46.272 [main] INFO com.atlassian.security.serialfilter.DeserializationFilterConfigurator - Global serial filter set to JDK 11 DeserializationFilter
Wed, Jun 28 2023 6:44:56 pm | 2023-06-28 17:44:56,791 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication v8.9.2 using Java 11.0.19 on bitbucket-0 with PID 255 (/opt/atlassian/bitbucket/app/WEB-INF/classes started by bitbucket in /var/atlassian/application-data/bitbucket)
Wed, Jun 28 2023 6:44:56 pm | 2023-06-28 17:44:56,971 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to 1 default profile: "default"
Wed, Jun 28 2023 6:45:03 pm | 2023-06-28 17:45:02,549 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 8.9.2 (803e5fa built on Tue Jun 20 06:31:39 UTC 2023)
Wed, Jun 28 2023 6:45:03 pm | 2023-06-28 17:45:03,597 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Eclipse Adoptium OpenJDK 64-Bit Server VM 11.0.19+7
Wed, Jun 28 2023 6:45:11 pm | 2023-06-28 17:45:11,666 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 24.58 seconds (JVM running for 31.314)
Wed, Jun 28 2023 6:45:31 pm | 2023-06-28 17:45:31,874 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/bitbucket
Wed, Jun 28 2023 6:45:52 pm | ============================== agent working ==============================
Wed, Jun 28 2023 6:45:52 pm | ============================== agent working ==============================
Wed, Jun 28 2023 6:45:52 pm | 2023-06-28 17:45:52,622 WARN [spring-startup] c.a.s.i.license.DefaultLicenseHelper The provided license could not be decoded
Wed, Jun 28 2023 6:45:52 pm | com.atlassian.extras.common.LicenseException: com.atlassian.extras.common.LicenseException: Failed to verify the license.
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.extras.decoder.v2.Version2LicenseDecoder.checkAndGetLicenseText(Version2LicenseDecoder.java:217)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.extras.decoder.v2.Version2LicenseDecoder.doDecode(Version2LicenseDecoder.java:114)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.extras.decoder.api.AbstractLicenseDecoder.decode(AbstractLicenseDecoder.java:15)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.extras.core.DefaultLicenseManager.decodeLicense(DefaultLicenseManager.java:62)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.extras.core.DefaultLicenseManager.getAtlassianLicense(DefaultLicenseManager.java:50)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.extras.core.DefaultLicenseManager.getLicense(DefaultLicenseManager.java:39)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.stash.internal.license.DefaultLicenseHelper.decode(DefaultLicenseHelper.java:67)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.stash.internal.license.DefaultLicenseHelper.getDecoded(DefaultLicenseHelper.java:108)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.stash.internal.license.DefaultLicenseHelper.isClusteringEnabled(DefaultLicenseHelper.java:117)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.stash.internal.home.SharedHomeLockAcquirer.isSharedLockRequired(SharedHomeLockAcquirer.java:106)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.stash.internal.home.SharedHomeLockAcquirer.createHomeLock(SharedHomeLockAcquirer.java:96)
Wed, Jun 28 2023 6:45:52 pm | at com.atlassian.stash.internal.home.HomeLockAcquirer.lock(HomeLockAcquirer.java:56)
Wed, Jun 28 2023 6:45:52 pm | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Wed, Jun 28 2023 6:45:52 pm | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Wed, Jun 28 2023 6:45:52 pm | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Wed, Jun 28 2023 6:45:52 pm | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920)
Wed, Jun 28 2023 6:45:52 pm | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
Wed, Jun 28 2023 6:45:52 pm | at javax.servlet.GenericServlet.init(GenericServlet.java:158)
Wed, Jun 28 2023 6:45:52 pm | at java.base/java.lang.Thread.run(Thread.java:829)
Wed, Jun 28 2023 6:45:52 pm | ... 37 frames trimmed
Wed, Jun 28 2023 6:45:52 pm | Caused by: com.atlassian.extras.common.LicenseException: Failed to verify the license.
additionalContainers: []
additionalFiles: []
additionalHosts: []
additionalInitContainers: []
additionalLabels: {}
affinity: {}
confluence:
accessLog:
enabled: true
localHomeSubPath: logs
mountPath: /opt/atlassian/confluence/logs
additionalBundledPlugins: []
additionalEnvironmentVariables: []
additionalJvmArgs:
- '-javaagent:/var/atlassian/application-data/shared-home/libraries/atlassian-agent.jar'
- '-Dsynchrony.service.url=https://xxx/synchrony/v1'
license:
secretKey: license-key
secretName: conf-licence