Filip Chabik
Filip Chabik

Welcome to my blog where I'm sharing my adventures, struggles, success & defeat stories from a life of a SysAdmin. If you want to get in touch, tweet me!



Filip Chabik

Upgrading Seafile to 1.5.0

Guide for bumping up Seafile from 1.4.x to 1.5.0.

Filip ChabikFilip Chabik

This upgrade guide assumes, that you previously followed Deploying Seafile with nginx and MySQL on Debian Wheezy and now you are upgrading to the latest stable release, 1.5.0.

You can always find (and collaborate!) latest version of this guide on GitHub: Upgrading Seafile.

Download latest version via:

sudo -u seafile wget -c /home/seafile/seafile/installed/

Change to home directory where installed folder inside your seafile main location:

cd /home/seafile/seafile/installed

Stop the currently running instance, as you are about to start upgrade process:

sudo service seafile stop

Remove older version that resides in your current folder, unpack new version and afterwards move unpacked folder one level up:

sudo -u seafile rm seafile-server-1.4.5.tar.gz
sudo -u seafile unp seafile-server_1.5.0_x86-64.tar.gz
sudo -u seafile mv seafile-server-1.5.0 ..

Change to upgrade directory of your new Seafile server instance and launch the upgrade script:

cd ../seafile-server-1.5.0/upgrade
sudo -u seafile ./

Download new version of init script for Seafile, make sure it's executable and start it:

sudo wget -O /etc/init.d/seafile
sudo chmod +x /etc/init.d/seafile
sudo service seafile start

Update nginx config file:

sudo vi /etc/nginx/sites-available/seafile

Change version from 1.4.5 to 1.5.0 in the location /media section and save it.
Reload nginx configuration:

sudo service nginx reload

That's it! Enjoy your new version of Seafile! (:

Filip Chabik

Filip Chabik

Born'n'raised in Wrocław, currently living, working and having fun in lovely Berlin. Linux SysAdmin. Vegetarian, atheist skeptic and animal lover (feeder of two cats). Taken (sorry girls...).