How to move Data Dir?

Hello everybody,

today i am installing a seafile community server for the first time. The whole thing runs under Proxmox. There I have a LXC with Ubuntu Server 20.04 LTS running. This privileged LXC mounts via NFS a directory on the NAS. The mounted target in the LXC is the directory /mnt/seafiledata

I have taken this file for installation:
https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_7.1.5_x86-64.tar.gz

I proceeded like this:
sudo su seafile
cd /home/seafile/
wget https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_7.1.5_x86-64.tar.gz
tar xvf seafile-server_7.1.5_x86-64.tar.gz
cd seafile-server-7.1.5/
./setup-seafile-mysql.sh

Seafile did not ask me for the path to the data dir, but simply put it on /home/seafile/seafile-data.

Where do I have to do something to move the data dir from /home/seafile/seafile-data to /mnt/seafiledata?

Thanks a lot
Greeting H-BLOGX

You will have to manually move the folder and set a symlink from seafile-data to /mnt/seafiledata.
Make sure that the server is shut off before moving the data. :slight_smile: