update migrate non docker to docker: memcached -> redis (#554)
Some checks are pending
Deploy CI - 13.0 / deploy (push) Waiting to run

This commit is contained in:
Huang Junxiang 2025-07-02 21:41:02 +08:00 committed by GitHub
parent 2d4a75a254
commit 1e8ed39bfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@
The recommended steps to migrate from non-docker deployment to docker deployment on two different machines are: The recommended steps to migrate from non-docker deployment to docker deployment on two different machines are:
1. Upgrade your Seafile server to the latest version. 1. Upgrade your Seafile server to the latest version.
2. Shutdown the Seafile, Nginx and Memcached according to your situations. 2. Shutdown the Seafile, Nginx and cache server (e.g., Redis) according to your situations.
3. Backup MySQL databse and Seafile libraries data. 3. Backup MySQL databse and Seafile libraries data.
4. Deploy the Seafile Docker in the new machine. 4. Deploy the Seafile Docker in the new machine.
5. Recover the Seafile libraries and MySQL database in the new machine. 5. Recover the Seafile libraries and MySQL database in the new machine.
@ -41,13 +41,13 @@ su seafile
./seahub.sh stop ./seahub.sh stop
``` ```
### Stop Nginx, cache server (e.g., *Memcached*), ElasticSearch ### Stop Nginx, cache server (e.g., *Redis*), ElasticSearch
You have to stop the above services to avoid losing data before migrating. You have to stop the above services to avoid losing data before migrating.
```sh ```sh
systemctl stop nginx && systemctl disable nginx systemctl stop nginx && systemctl disable nginx
systemctl stop memcached && systemctl disable memcached systemctl stop redis && systemctl disable redis
docker stop es && docker remove es docker stop es && docker remove es
``` ```