# Upgrading

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet.
{% endhint %}

## Upgrading from v2.x

## Upgrading from v1.x or lower

Always upgrade to 1.0.4 first

Recommend backups, if possible local environment.&#x20;

For the local upgrade:

* Make sure you always hold a backup with the original database and all the files.
* Then on your local installation, uninstall and delete everything that is unused (plugins/themes), get rid of old content. The less risk of any conflicts.
* Then overwrite with the v1 to v2 upgrade files (in the ZIP that you downloaded with the link above).
* Go directly into the admin area (navigate to /e107\_admin/admin.php) and follow the instructions. You should get messages about database updates. Make sure those are completed first before using your website further.


---

# Agent Instructions: 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:

```
GET https://userguide.e107.org/installation-and-maintenance/upgrading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
