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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can't use environment variable settings

When starting a confluence docker, there is a stack dump when setting ATL_JDBC_URL:

docker run --network net --name jira -e ATL_JDBC_USER=confluence -e ATL_JDBC_PASSWORD=password -e ATL_DB_DRIVER=org.postgresql.Driver -e ATL_JDBC_URL=jdbc:postgresql://postgres:5432/confluence -p 8090:8090 -p 8091:8091 -i -t --rm



INFO:root:Generating /opt/atlassian/confluence/conf/server.xml from template server.xml.j2
INFO:root:Generating /opt/atlassian/confluence/confluence/WEB-INF/classes/seraph-config.xml from template seraph-config.xml.j2
INFO:root:Generating /opt/atlassian/confluence/confluence/WEB-INF/classes/ from template
INFO:root:Generating /var/atlassian/application-data/confluence/confluence.cfg.xml from template confluence.cfg.xml.j2
Traceback (most recent call last):
File "/", line 17, in <module>
user=RUN_USER, group=RUN_GROUP, overwrite=False)
File "/", line 57, in gen_cfg
cfg = jenv.get_template(tmpl).render(env)
File "/usr/lib/python3/dist-packages/jinja2/", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/jinja2/", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python3/dist-packages/jinja2/", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/jinja2/", line 37, in reraise
raise value.with_traceback(tb)
File "/opt/atlassian/etc/confluence.cfg.xml.j2", line 28, in top-level template code
<property name="hibernate.connection.driver_class">{{ databases[atl_db_type][0] }}</property>
File "/usr/lib/python3/dist-packages/jinja2/", line 411, in getitem
return obj[argument]
jinja2.exceptions.UndefinedError: dict object has no element Undefined


Not sure what is happening here. This is my first introduction to confluence.

1 answer

Finally, got this. ATL_DB_TYPE needs to be set.  

Hi @jagauthier 

What value did you use?

I've got an error when used like 'ATL_DB_TYPE=postgres'

jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'postgres'

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events