> For the complete documentation index, see [llms.txt](https://docs.mikopbx.com/mikopbx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mikopbx.com/mikopbx/english/manual/maintenance/update.md).

# PBX update

{% hint style="danger" %}
Before updating, be sure to back up your PBX settings using the [**backup module**](https://github.com/mikopbx/docs.mikopbx.com/blob/english/manual/maintenance/backup.md).
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Updating from the web interface</strong></td><td>Through the web interface of MikoPBX, using the built-in update mechanism</td><td><a href="/pages/65y6I95TdCu2wAnNTs4k">/pages/65y6I95TdCu2wAnNTs4k</a></td><td><a href="/files/LHlfugt0QfAEAZSepihd">/files/LHlfugt0QfAEAZSepihd</a></td></tr><tr><td><strong>Updating from the MikoPBX console</strong></td><td>From the MikoPBX console, use the command to download and install the new version</td><td><a href="/pages/VMr1oAUISHHgrD5WLlO2">/pages/VMr1oAUISHHgrD5WLlO2</a></td><td><a href="/files/yrWwSyWXA1Tuydk6sTPd">/files/yrWwSyWXA1Tuydk6sTPd</a></td></tr><tr><td><strong>Updating the docker container</strong></td><td>By downloading the latest MikoPBX container image and restarting with the new image</td><td><a href="/pages/w8diJLagHTNPTivx1PcZ">/pages/w8diJLagHTNPTivx1PcZ</a></td><td><a href="/files/hKvOdvuckxTViJJsyOKQ">/files/hKvOdvuckxTViJJsyOKQ</a></td></tr></tbody></table>


---

# 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.mikopbx.com/mikopbx/english/manual/maintenance/update.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.
