Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Improved content.

...

Note

The name of the database is different than in the confluence documentation. Rather than the database name confluence, we use confluencedb to clearly designate a database.

...

Check Updated JDBC Driver

Note

 Sometimes the most PostgreSQL recent JDBC4 driver is not always available with Confluence. If that is the case and you want to take advantage of the newer driver follow these steps.

Download Generally, Confluence is pretty good at packaging the most up to date JDBC driver or their supported databases and you can skip this step.

However, for enterprise class systems, it is a good idea to check if there is an important update available.

For example, we had one situation where the particular version of the PostgreSQL JDBC driver had a memory leak that would crash Confluence.

This was resolved by downloading the most recent JDBC4 driver from the PostgreSQL website and place replacing the old jar file into the /opt/confluence/confluence/WEB-INF/lib/ directory. Then delete the old JDBC4 driver.,

Code Block
languagebash
su - serveradmin
cd /opt/confluence/confluence/WEB-INF/lib/
wget http://jdbc.postgresql.org/download/postgresql-9.1-901.jdbc4.jar
rm postgresql-9.0-801.jdbc4.jar
Warning

Using the wrong JDBC driver will cause memory leaks

 

 # Delete the old jar file

Starting the Confluence Service

We will now start Starting Confluence for the first time to initialize everythinginvolves going starting the process and using a wizard to build the initial database.

Tip

If using virtual machine technology, now would be a good time to take a snapshot of the system.

Confluence 4.x introduces a new script to To start confluence,

Code Block
languagebash
cd /opt/confluence/bin/
./start-confluence.sh

Next, hit visit the website with a browser, http://krypton:8090/ to start the first time configuration wizard.

...

The intial user will be called "Server Admin" with user name serveradmin. Use a special email for this account and keep in mind that Confluence enforces that email addresses must be unique across all users.

Stopping the Service

There appears to be a problem with shutting down the Confluence server. According to Atlassian, this only happens on certain configuration and they are not able to determine yet why. I have personally experienced with every type of Virtualized Ubuntu system I have setup over the past few years. It seems to occur once there is 2-3 users worth of activity and data in the wiki.

...

Code Block
languagebash
kill 2364 # Note change 2364, to the process ID that you see on your screen.

Initial Administrator Tasks

Warning

TBC - This section still needs to be written to take the user through setting up the base url, creating their first space , with subsections to disabling automatic backup, how to do real backups and any other important activities.

Optimize Confluence

Warning

These instructions should be written with more detail. Particularly, "Setup email".

There are some basic tasks we should do before getting other people on board.

Once logged in go to, Browser, Confluence Admin. There are tasks there that Confluence recommends, the most important to us being,

...

  1. Setup email

...

  1. Disable automatic backup
  2. Setup email
  3. Update Confluence plugins

...

Code Block
languagebash
cd /opt/
sudo rm confluence
sudo ln -s ./atlassian-confluence-4.3.2 ./confluence

 

Plug-Ins

Also, keep a page listing any plug-ins you install. Upgrades generally do not require you to reinstall the plugins but they might be deprecated. After the upgrade is done, login as Administrator on Confluence and ensure plug-ins are up to date.

...

Info

Check out the Confluence Plugins page for more details.

 

Check Administration Console

...