Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
26.61k stars 2.66k forks source link

How to upgrade a docker installation to the latest version #248

Closed jignnsd closed 1 year ago

jignnsd commented 1 year ago

Please help! I did a anything-llm docker installation in multi-user mode, I want to upgrade the latest version. It is installed on my server that is exposed to the internet with its own public domain. How is the best way to do it without loosing workspaces data, users, etc? many thanks

timothycarambat commented 1 year ago

Since you are in docker mode - you should be able to Export from the UI settings and obtain a .zip file of your entire AnythingLLM data.

Then you can update + rebuild and load in the same .zip file and it should restore your data. Once you upload the new zip you should also go to the /api/migrate endpoint to make sure the database schema is correct.

jignnsd commented 1 year ago

Many thanks @timothycarambat for your quick response. I'll be checking this. Take care