How do I start confluence in safe mode or with specific plugins disabled directly from the command line?

I am looking for a solution that would allow me to start confluence in safe mode (all plugins disabled) or to specify which plugins to be ignored?

I am doing this because I try to do an updrade from 3.5.x production confluence to latest 4.2.x confluence and the upgrade seems to fail due to some plugins.

Also, it would be helpful to know how can I upgrade plugins before upgrading confluence, this seems like a chicken and the egg problem: plugin x is blocking upgrade but there is a newer version of the plugin which is supposed to work with the newer confluence.

3 answers

0 vote

Hi Sorin,

You may want to refer to the following doco:

Disabling or Enabling a plugin

Hope this helps, Vicky.

0 vote

Or this one for Confluence 3.5

Hi Sorin,

Just in addition to Vicky's answer, as you're performing an upgrade you can disable all the plugins that you want to disable in the beginning of the upgrade(Confluence 3.5.x) and so upgrade and just enable again in the latest version (4.2.x), and in this meantime you can check at our and search for the latest versions of your plugins that work with Confluence 4.2.x.

Best Regards,


Preparing an upgrade: this means that I have a script that replicates confluence 3.x database which I am trying to upgrade on another machines using Confluence 4.x. As you can imagine I do not have another 3.x instance for test and I do want to have a slipstream upgrade process.

Usually when I found problems on the 4.x-test-instance I do fix them in production and do the upgrade again. Disabling the plugins in production is not an option.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

395 views 17 9
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you