Closed linyouye closed 5 months ago
Hello! Thank you for filing an issue.
If this is a bug report, please include relevant logs to help us debug the problem.
Join slack 🤖 to connect and communicate with our developers.
Retrieve the Path of the Data:
Run the command in your terminal:
cat .env | grep DATA_DIR
This will output the current value of DATA_DIR
which should be something like DATA_DIR=${DATA_DIR}/components/
.
Copy the Path to a New Location:
After identifying the path, use the cp
command to copy it:
cp -r DATA_DIR/ /openim/data
Replace components/
with the actual path if it's different.
Set the Environment Variable to the New Location:
Set the DATA_DIR
environment variable to the new path:
export DATA_DIR="/openim/data"
Note: This change is temporary and only applies to your current session. For a permanent change, you'll need to modify the .env
file or your system's environment settings.
Clone a New Repository and Initialize Variables:
Clone the new repository :
git clone https://github.com/openimsdk/openim-docker
Navigate to the repository directory and run:
make init
Start Docker Containers:
Finally, start the Docker containers:
docker compose up -d
Remember to adjust the commands according to your actual file paths and repository details. Also, ensure you have the necessary permissions to execute these commands and that Docker is properly installed and configured on your system.
In addition, we are currently considering developing a comprehensive upgrade plan. It would be greatly appreciated if you could pay attention to it and provide any assistance or guidance you may have. Your support would be invaluable to us.
Thanks for your guidance and I haved upgrade to V3.4 successfully.
But now I have a new question with V3.4 When I open ther Admin Web and try to login,It reports a CORS ERROR.
How can I customize the API URL
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
![]()
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
@linyouye Has the issue at hand been resolved at this point in time?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
What would you like to share?
Docker 部署 V3.3 后,如何升级到V3.4
Additional information
No response