ERROR anonymous New issue / add comment [c.a.d.c.p.ciphers.base64.Base64Cipher] Runtime Exception

Mariano Edvardsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 26, 2024

Error when reverting from 10.3 to 10.0. I have deleted caches and tmp files but I am not sure why I get this error.

 

I also tried creating password encrypted files with

java -cp "./*" com.atlassian.db.config.password.tools.CipherTool -c com.atlassian.db.config.password.ciphers.algor

but that also failed.

 

Anyone know how to revert this? For the time being I can only restore the whole DB but this is extremely time consuming.

 

Error with context:

 

024-12-26 21:08:30,382-0300 Caesium-1-4 INFO ServiceRunner     [c.a.j.issue.index.DefaultIndexManager] Start to check for index consistency.

2024-12-26 21:08:30,384-0300 Caesium-1-4 WARN ServiceRunner     [c.a.j.issue.index.IndexConsistencyUtils] Index consistency check failed for index 'Issue': expectedCount=65; actualCount=0; tolerancePercentage=10, tolerance=10

2024-12-26 21:08:30,384-0300 Caesium-1-4 INFO ServiceRunner     [c.a.j.issue.index.DefaultIndexManager] Index consistency check finished. indexConsistent: false; timeToCheckIndexConsistency: 1 ms

2024-12-26 21:08:30,384-0300 Caesium-1-4 WARN ServiceRunner     [c.a.jira.servlet.ApplicationStateResolverImpl] The search index is inconsistent. This node will report its status as ERROR. You will find information on how to resolve this problem here: https://jira.atlassian.com/browse/JRASERVER-66970

2024-12-26 21:09:00,016-0300 Caesium-1-2 ERROR anonymous    New issue / add comment [c.a.d.c.p.ciphers.base64.Base64Cipher] Runtime Exception thrown when decrypting: {ATL_SECURED}

java.lang.IllegalArgumentException: Illegal base64 character 7b

at java.base/java.util.Base64$Decoder.decode0(Base64.java:848)

at java.base/java.util.Base64$Decoder.decode(Base64.java:566)

at java.base/java.util.Base64$Decoder.decode(Base64.java:589)

at com.atlassian.db.config.password.ciphers.base64.Base64Cipher.decodeFromString(Base64Cipher.java:67)

at com.atlassian.db.config.password.ciphers.base64.Base64Cipher.decrypt(Base64Cipher.java:53)

at com.atlassian.mail.server.managers.jira.EncryptionManager.decryptPassword(EncryptionManager.java:60)

at com.atlassian.mail.server.managers.jira.AuthConfigMapper.toConfigurationData(AuthConfigMapper.java:117)

at com.atlassian.mail.server.managers.jira.OFBizMailServerManager.constructMailServerImpl(OFBizMailServerManager.java:317)

at com.atlassian.mail.server.managers.jira.OFBizMailServerManager.constructMailServer(OFBizMailServerManager.java:287)

at com.atlassian.mail.server.managers.jira.OFBizMailServerManager.getMailServer(OFBizMailServerManager.java:131)

at com.atlassian.jira.service.services.mail.MailFetcherService.getMailServer(MailFetcherService.java:512)

at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:421)

at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:234)

at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:68)

at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:62)

at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:44)

at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:32)

at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)

at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)

at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:500)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:495)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJobWithRecoveryGuard(CaesiumSchedulerService.java:519)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:415)

at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)

at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)

at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)

at java.base/java.lang.Thread.run(Thread.java:840)

 

1 answer

1 accepted

1 vote
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2024

@Mariano Edvardsson -

I would recommend you to contact Atlassian Support (https://support.atlassian.com) with your support file zip for their direct analysis, so you don't have to do unnecessary works trying to figure it out on your own.

I have not seen this type of error before against an on-prems env.  What is your reasoning to down-grade version from 10.3 to 10.0?

Best, Joseph Chung Yin

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events