← ServerPilot Docs

How to Downgrade Composer to Version 1

With the release of Composer version 2, ServerPilot now provides this version to all servers by default. However, some applications may not be fully compatible with version 2, and so you may need to use version 1 until they address those incompatibilities.

If for any reason you need to downgrade Composer to the latest version 1 release, you can do so by running the following command as root:

sudo composer self-update --1

To prevent ServerPilot from automatically updating its package to version 2 in the future, you can tell the advanced package tool (apt) software to hold our package by running the following command as root:

sudo apt-mark hold sp-composer

When you're ready to use version 2, you can remove the hold on our package with the following command as root:

sudo apt-mark unhold sp-composer

Once the hold has been removed, then ServerPilot will eventually automatically update the composer package again. However, you can manually upgrade it to the latest version 2 release by running the following command as root:

sudo composer self-update --2
Last updated: November 7, 2020

Launch your first site in 5 minutes