Fast cloud storage for in-house hosting
Clients
Seafile offers desktop clients for Linux, macOS, Windows, Android, and iOS. A client can connect to multiple Seafile servers. The Linux client can be found in the repositories of many distributions, but these are often older versions. In Ubuntu 20.04, for example, the version counter has only reached 8.0.7. To fetch an up-to-date version of the client, run the commands from Listing 4 on Ubuntu 20.04. For Ubuntu 22.04, change focal
to jammy
in the first command, and for Debian 11 change focal
to bullseye
.
Listing 4
Installing the Client
$ sudo bash -c "echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/focal/ stable main' > /etc/apt/sources.list.d/seafile.list" $ sudo apt update $ sudo apt install -y seafile-gui
Seafile can also be integrated directly into file managers such as Dolphin (KDE Plasma) or Nautilus (Gnome) via WebDAV instead of using a client [10]. Clicking on the IP in the client will take you to the web interface in the browser. The client can also be operated in the terminal emulator after installing the terminal client on servers without X or with the seaf-cli package [11].
Seafile's specialties are file synchronization and content sharing (Figure 4). After installation, the client synchronizes all data stored in the Seafile/
folder with the server. Seafile detects even the smallest differences and synchronizes only the changes. Changes to files also trigger very practical versioning (Figure 5).
![](/var/linux_magazin/storage/images/issues/2022/264/seafile-9/figure-4/812216-1-eng-US/Figure-41_large.png)
![](/var/linux_magazin/storage/images/issues/2022/264/seafile-9/figure-5/812219-1-eng-US/Figure-51_large.png)
This proves to be very useful, especially when several users are working on one file. Much like Git, this makes it possible to track who made what changes and when. Upgrading to a new version of Seafile is done in a separate folder, so that you can switch back to the old version in case of problems.
Content sharing relies on file shares that can be restricted to individual Seafile users. File and folder shares for third parties rely on public links like in Nextcloud. To collaborate on documents with other users, you may want to integrate OnlyOffice's online editors [12] or connect to Collabora Office [13] (Figure 6). If you don't need a full office suite, you can use the built-in Markdown editor for composing.
![](/var/linux_magazin/storage/images/issues/2022/264/seafile-9/figure-6/812222-1-eng-US/Figure-61_large.png)
Conclusions
If you're more concerned with file storage, synchronization, and content sharing than collaboration, Seafile is probably the right choice for you. However, collaborative work also works well, even though integrating the Office programs is more complicated than with Seafile's competitors. The documentation is detailed [14]. If you speak German (or can work with YouTube's auto-translate function for captions), there is a 10-part YouTube series in German [15] where you can also learn more about the program.
The biggest advantage of Seafile over Nextcloud or ownCloud is its superior speed for synchronization and access. This is mainly due to the memory model used. Unlike its competitors, Seafile uses block storage [16] instead of file storage. On the other hand, Seafile does not have any additional apps like ownCloud or Nextcloud do. So if you need to integrate a calendar, email, and other components, you will need to opt for a different solution. Otherwise Seafile is a good option.
Infos
- Seafile: https://www.seafile.com/en/home
- GitHub: https://github.com/haiwen/seafile
- Seafile editions: https://www.seafile.com/en/product/private_server/
- Download: https://www.seafile.com/en/download/
- Docker: https://manual.seafile.com/docker/deploy_seafile_with_docker/
- Install script:https://github.com/haiwen/seafile-server-installer
- Manual installation: https://manual.seafile.com/deploy/using_mysql/
- Seafile on the Rasp Pi: https://github.com/jojo243/seafile-docker-arm64
- Docker Compose YAML:https://download.seafile.com/d/320e8adf90fa43ad8fee/files/?p=/docker/docker-compose.yml
- WebDAV: https://manual.seafile.com/extension/webdav/
- seaf-cli: https://help.seafile.com/syncing_client/linux-cli/
- OnlyOffice: https://www.onlyoffice.com
- Collabora: https://www.collaboraoffice.com/solutions/collabora-office/
- Office programs integration documentation: https://manual.seafile.com/
- YouTube series (in German): https://www.youtube.com/watch?v=uS4c2DPZA6M&t=779s
- Block storage: https://cloud.netapp.com/blog/cvo-blg-what-is-block-storage-pros-cons-and-comparisons
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.