Update README.md

This commit is contained in:
Gerrit Gogel 2023-08-13 18:13:03 +02:00 committed by GitHub
parent 1b8b40a438
commit 38529f81ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,7 @@ Networks:
The default path for named volumes on Docker is `/var/lib/docker/volumes/PROJECT-NAME_VOLUME-NAME/_data`.
To migrate storage from the official Docker deployment or native (non-Docker) deployment run:
```
mkdir -p /var/lib/docker/volumes/seafile_seafile-data/_data
mkdir -p /var/lib/docker/volumes/seafile_seafile-mariadb/_data
@ -176,7 +177,8 @@ Networks:
mv /var/lib/docker/volumes/seafile_seafile-data/_data/seafile/seahub-data/avatars /var/lib/docker/volumes/seafile_seahub-avatars/_data
```
If you are migration from a native (non-Docker) deployment, you additonaly need to change the ownership of the folders:
If you are migrating from a native (non-Docker) deployment, you additionally need to change the ownership of the folders:
```
chown -R root:root /var/lib/docker/volumes/seafile_seafile-data
chown -R root:root /var/lib/docker/volumes/seafile_seafile-mariadb