Skip to content

Commit

Permalink
Review Meilisearch Cloud updating guide (#2762)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimachiavelli authored Apr 4, 2024
1 parent 75c1a67 commit 0d952f3
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions learn/update_and_migration/updating.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,29 @@ If migrating to the latest version of Meilisearch will cause you to skip multipl
If you are running Meilisearch as a `systemctl` service using v0.22 or above, try our [migration script](https://github.com/meilisearch/meilisearch-migration).
</Capsule>

<Capsule intent="danger">
This guide only works for versions v0.15 and above. If you are using an older version, please [contact support](https://discord.meilisearch.com) for more information.
</Capsule>
## Updating Meilisearch Cloud

## Updating on Meilisearch Cloud
Log into your Meilisearch Cloud account and navigate to the project you want to update.

If you're using Meilisearch Cloud, you don't need to follow the rest of this guide. Clicking the "Update to `vX.Y.Z`" button on the dashboard will take care of the update for you.
Click on the project you want to update. Look for the "General settings" section at the top of the page.

Click on the project you want to update. Look for the "Project overview" section at the top of the page. Once a new version of Meilisearch is available, you should see an update button next to the "Meilisearch version" field.
Whenever a new version of Meilisearch is available, you will see an update button next to the "Meilisearch version" field.

![Button to update Meilisearch version to 1.0.2](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/updating/update-button.png)

Clicking the button will open a pop-up warning. Once you agree to the update, the "Status" of your project will change from "running" to "updating".
To update to the latest Meilisearch release, click the "Update to v.X.Y.Z" button.

This will open a pop-up with more information about the update process. Read it, then click on "Update". The "Status" of your project will change from "running" to "updating".

![Project update in progress](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/updating/update-in-progress.png)

Once the project has been successfully updated, you will receive an email confirming the update and the "Status" will change back to "running".
Once the project has been successfully updated, you will receive an email confirming the update and "Status" will change back to "running".

## Updating a self-hosted Meilisearch instance

## Updating a local or deployed Meilisearch instance
<Capsule intent="warning">
This guide only works for v0.15 and above. If you are using an older Meilisearch release, please [contact support](https://discord.meilisearch.com) for more information.
</Capsule>

### Step 1: Export data

Expand Down Expand Up @@ -166,16 +170,15 @@ The server should return a response that looks like this:

Use the `taskUid` to [track the status](/reference/api/tasks#get-one-task) of your dump. Keep in mind that the process can take some time to complete.

<Capsule intent="note">
The response will vary slightly depending on your version. For v0.27 and below, the response returns a dump `uid`. You can track the status of the dump using the get dumps status endpoint:
<Capsule intent="note" title="Meilisearch v0.27 and below">
For v0.27 and below, the response to your request returns a dump `uid`. Use it with the `/dumps/:dump_uid/status` route to track the request status:

```sh
curl \
-X GET 'http://<your-domain-name>/dumps/:dump_uid/status'
-H 'Authorization: Bearer API_KEY'
# -H 'X-Meili-API-Key: API_KEY' for v0.24 or below
```

</Capsule>

Once the `dumpCreation` task shows `"status": "succeeded"`, you're ready to move on.
Expand Down

0 comments on commit 0d952f3

Please sign in to comment.