> For the complete documentation index, see [llms.txt](https://docs.b2b-sellers.com/b2b-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2b-sellers.com/b2b-platform/3/user-guide/setup/upgrade.md).

# 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/>

EN <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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.b2b-sellers.com/b2b-platform/3/user-guide/setup/upgrade.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
