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 votes

Hi Sorin,

You may want to refer to the following doco:

Disabling or Enabling a plugin

Hope this helps, Vicky.

0 votes

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

918 views 13 11
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