# Upgrade

Upgrading works just like the installation. However, in some major versions or when upgrading Shopware versions, there are some things that should be taken into consideration to avoid issues during the upgrade.

## General Upgrade Process

Upgrading works just like installing, where you can usually upload the file, and then click update in the admin.

Alternatively, you can also install the update via command line input.

{% hint style="warning" %}
If you notice that it doesn't say "update" as usual after uploading the file, you have to install the update via server console.
{% endhint %}

### Command Line Update Process

If you choose to install the file via command line, there is a different CLI you need to run after uploading it via Shopware admin compared to when you first installed B2Bsellers Suite onto your Shopware installation.

Navigate to the shop's root directory, then enter the following comand:

```
bin/console plugin:update b2bsellerscore
```

This will install the plugin update.

{% hint style="info" %}
From 3.1.6 onwards, it is currently required to update via this method.
{% endhint %}



## Upgrading to 3.1.6+ with Shopware 6.6.9+ via ZIP file

{% hint style="warning" %}
Important note regarding updating B2Bsellers Suite to version 3.2.2 - If your shop is using Shopware 6.6.9 or newer, a technical restriction prevents updating the plugin via Shopware Administration. If you plan on upgrading via .zip file, you will need to update using the console.
{% endhint %}

## Upgrading to [2.2.0](https://docs.b2b-sellers.com/b2b-platform/release-notes/b2bsellerscore/version-v2.x.x/version-v2.2.0)

{% hint style="warning" %}
Before upgrading to this version we recommend deleting existing carts and contexts.
{% endhint %}

## Upgrading if 2.1.0 is inbetween your versions

{% hint style="danger" %}
Please make sure to read the section on bottom and do a two step upgrade, to 2.0.x first, then to 2.1.0, and then to the version you intend to install.
{% endhint %}

## Upgrading from 1.x to 2.x&#x20;

{% hint style="warning" %}
When going straight from 1.x to the latest 2.x version, you need to do a two step upgrade due to table prefix changes. We recommend going to 2.0.x first, and then to 2.1.
{% endhint %}

For more context, please see our release notes for 2.1:&#x20;

DE [https://www.b2b-sellers.com/de/b2bsellers-release-2-1-0/](https://www.b2b-sellers.com/de/b2bsellers-release-2-1-0/)

EN [https://www.b2b-sellers.com/en/b2bsellers-release-2-1-0/](https://www.b2b-sellers.com/en/b2bsellers-release-2-1-0/)

Most important takeaways:

* Please update Shopware min. 6.5.3.X before updating the B2Bsellers Suite.
* Please delete the B2BDemodata plugin completely before updating
* Store API has changed
