mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
update migrate non docker to docker: memcached -> redis (#554)
Some checks are pending
Deploy CI - 13.0 / deploy (push) Waiting to run
Some checks are pending
Deploy CI - 13.0 / deploy (push) Waiting to run
This commit is contained in:
parent
2d4a75a254
commit
1e8ed39bfd
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue