From a13ab9edbaf5a8bee5cc1aaa956a034f0329c02a Mon Sep 17 00:00:00 2001 From: Valentino Stillhardt <4715129+Fusseldieb@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:15:14 -0300 Subject: [PATCH] Tips coming from Git --- docs/migration.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/migration.mdx b/docs/migration.mdx index 13b9a26..58c8e19 100644 --- a/docs/migration.mdx +++ b/docs/migration.mdx @@ -104,6 +104,9 @@ docker volume create --name ollama docker run --rm -v ollama-webui_open-webui:/from -v open-webui:/to alpine ash -c "cd /from ; cp -av . /to" docker run --rm -v ollama-webui_ollama:/from -v ollama:/to alpine ash -c "cd /from ; cp -av . /to" ``` + +Depending on whether you had ollama installed, or already had the same volume names in place, some of the commands **might throw errors**, but they can usually be safely ignored since we're overwriting. + Then, start both containers as usual, as described in the Getting started guide. Once you verify that all the data has been migrated you can erase the old volume using the command `docker volume rm` mentioned above.