Start and Stop Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community

How you start and stop Confluence depends on whether you are running Confluence as a Service. 

To check whether Confluence is already running you can go to http://<base-url>/status.

Windows

When installed as a service...

If you installed Confluence as a service, you can Start Confluence Server and Stop Confluence Server from the Windows Start menu. 

You can't start or stop Confluence manually using the start-confluence.bat and stop-confluence.bat file.

When not installed as a service...

If you didn't install Confluence as a service you'll need to start and stop Confluence manually. The way you do this depends on how Confluence was originally installed.

If you installed Confluence manually, and have Java installed on your server:

  • To start Confluence run <installation-directory>\bin\start-confluence.bat
  • To stop Confluence run <installation-directory>\bin\stop-confluence.bat

We recommend running Confluence with a dedicated user account. To do this, use use the runas command to execute start-confluence.bat.

> runas /env /user:<DOMAIN>\<confluence> start-confluence.bat

Where <DOMAIN> is your Windows domain or computer name and <confluence> is the name of your dedicated user.

If you installed Confluence using the installer, and don't have Java installed, use the Start and Stop Confluence options in the Start menu, or:

  • To start Confluence run <installation-directory>\startup-bundled-jre.bat
  • To stop Confluence run <installation-directory>\shutdown-bundled-jre.bat
With add-ons disabled (for troubleshooting)...

It is possible to start Confluence Server with user installed apps temporarily disabled. This is useful if you need to troubleshoot problems with your site, particularly if an app may be preventing Confluence from starting up successfully.

To start Confluence with all user installed apps temporarily disabled:

> cd <installation-directory>/bin
> start-confluence.bat /disablealladdons

To start Confluence with a particular app temporarily disabled:

> cd <installation-directory>/bin
> start-confluence.bat /disableaddon=com.atlassian.test.plugin

where com.atlassian.test.plugin is the app key. To disable multiple apps, use a colon separated list. Regex/wildcards are not permitted, the full key of the plugin must be provided.

These parameters are applied at startup only, they do not persist. If you want to permanently disable an app, go to

> Manage apps

to do this via UPM.

Notes

  • If the app key contains a space, disabling the app using this method will not work, you need to manually deal with that app.
  • This feature does not work for Confluence Data Center.
  • replace /bin/start-confluence.bat with startup-bundled-jre.bat if you installed Confluence using the installer, and are using the bundled JRE (Java Runtime Engine).

Linux 

When installed as a service...

If you installed Confluence as a service, use one of the following commands to start, stop or restart Confluence.

$ sudo /etc/init.d/confluence start
$ sudo /etc/init.d/confluence stop
$ sudo /etc/init.d/confluence restart

You can't start or stop Confluence manually using the start-confluence.sh and stop-confluence.sh files.

When not installed as a service...

If you didn't install Confluence as a service you'll need to start and stop Confluence manually.

  • To start Confluence run <installation-directory>\bin\start-confluence.sh
  • To stop Confluence run <installation-directory>\bin\stop-confluence.sh


We recommend running Confluence with a dedicated user account:

$ su -u <user>
$ ./start-confluence.sh

Where <user> is the name of your dedicated user.

If you're using Ubuntu the command is a little different:

$ sudo su <user>
$ ./start-confluence.sh
With add-ons disabled (for troubleshooting)...

It is possible to start Confluence with user installed apps temporarily disabled. This is useful if you need to troubleshoot problems with your site, particularly if an app may be preventing Confluence from starting up successfully.

To start Confluence with all user installed apps temporarily disabled:

$ cd <installation-directory>/bin
$ ./start-confluence.sh --disable-all-addons 

To start Confluence with a particular app temporarily disabled:

$ cd <installation-directory>/bin
$ ./start-confluence.sh --disable-addons=com.atlassian.test.plugin

where com.atlassian.test.plugin is the app key.

To disable multiple apps, use a colon separated list, for example, com.atlassian.test.plugin:com.atlassian.another.plugin. Regex/wildcards are not permitted, the full key of the plugin must be provided.

These parameters are applied at startup only, they do not persist. If you want to permanently disable an app, go to

> Manage apps

to do this via UPM.

Notes

  • If the app key contains a space, disabling the app using this method will not work, you need to manually deal with that app.
  • This feature does not work for Confluence Data Center.
Last modified on Apr 13, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.