I’ve just tried the debian script and it is working. There are a few things you need to notice though. I’ve only tried it with the Professional version though so I’m not sure if it will work with the community version the same way.
First you need to download the latest Professional package and place it in /usr/src/seafile/ (you will need to create the directory)
Then download the scrip (i used wget --no-check-certificate https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_debian); You can place it anywhere, just be sure to run as root. I’ve personally run it from /opt
Edit the variables in the script - most likely you will only need to edit the following fields:
SEAFILE_SERVER_ADMINemail@example.com (this will be your admin username to log in)
SEAFILE_SERVER_TIME_ZONE=“Europe/Berlin” (just use your own timezone
Also, make sure that the hostname in your VPS is properly configured and you have a DNS record for it as the script will use it. otherwise you can edit the variables accordingly
Make the script executable by running chmod +x seafile_debian
Run the script with the command “bash seafile_debian 6.1.4” and wait until it finishes. It will give you all login details and password at the end. I like to wait a couple minutes and I reboot the server afterwards; not sure if it is needed but I’ve had instances in other seafile versions that I couldn’t get it working without rebooting.
You will also need to configure the nginx file as this was giving an error and preventing nginx from starting - I think it has an issue with the ssl keys installed. I solved this by getting a certbot certificate (letsencrypt) and edit the the file at
Start nginx and log in.
Then just configure postfix, firewall and fail2ban. I rather use iptables so i just uninstalled the ufw firewall that is installed by the script.