Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Database password $sD1!234&xxx is interpreted as a variable

Our Atlassian database has a password with special characters.

During the installation of Confluence I get an error that the reference to the variable xxx in the configuration file must end with a ;

How can I use the special character & in the password?

4 answers

1 accepted

0 votes
Answer accepted
Daniel Ebers Community Leader Jan 26, 2021

I have been facing a very similar issue, but this time Jira <-> PostgreSQL, basically like described in: https://jira.atlassian.com/browse/JRASERVER-66178

While I could not find anything for Confluence on jira.atlassian.com it still could apply to Confluence in some sense.
Of course, a pretty complex password which cannot be guessed is what we all want in order to have a secure environment.

To be honest, for my case it meant to remove one troubling special character from password (set a new password) as the troubleshooting took longer than setting a new password - but please see this as a personal opinion.

I also changed the password because as you say, troubleshooting took longer than resetting the password.

0 votes

Hello @Phil795 ,

 

We are using Atlassian Confluence server 7.1.0 with our production.

We using a password something like this "001d91reZ$z^" . we did not faced any issues with the password.

If you have some DB Admin support from organization, you can ask they about password settings. as I'm aware of Database related.  These DB admins have more exposure on this topics.

 

Thanks.

0 votes

The config files need passwords to be encoded so that they don't directly expose "control" characters.  A $ at the start of a word can be seen as "this is a variable name, so read the environment for the variable content".

So, either you'll need to investigate encoding, but if you can, I would try a password that doesn't start with $ (I seem to remember it's fine if it's not the first character)

Perhaps the example password was poorly chosen.

The password is (in modified form) like this: +;D7\Fq(a[v&AhP6

The error that is issued after starting the Confluence container is the following:

BootstrapException: Unable to bootstrap application: Failed to parse config file: Error on line 24 of document : The reference to entity "AhP6" must end with the ';' delimiter. Nested exception: The reference to entity "AhP6" must end with the ';' delimiter.

 
We use Bitbucket and Jira with the same password, where no problems occurred at all.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.9.1
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

125 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you