Seafile server package for Raspberry Pi. Maintained by seafile community.
Download
- The latest stable rpi version is here.
Build
E.g. to compile Seafile server v10.0.1:
$ wget https://raw.githubusercontent.com/haiwen/seafile-rpi/master/build.sh
$ chmod u+x build.sh
$ sudo ./build.sh -DTA -v 10.0.1 -h https://github.com/haiwen/seafile-rpi/blob/feat/master/requirements/seahub_requirements_v10.0.1.txt -d https://github.com/haiwen/seafile-rpi/blob/feat/master/requirements/seafdav_requirements_v10.0.1.txt
Calling ./build.sh
without arguments will return usage information and a list of all available arguments:
seafile@rpi-focal:~$ sudo ./build.sh
Usage:
build.sh [OPTIONS]
OPTIONS:
-D Install build dependencies
-T Install thirdparty requirements
-1 Build/update libevhtp
-2 Build/update libsearpc
-3 Build/update seafile (c_fileserver)
-4 Build/update seafile (go_fileserver)
-5 Build/update seafile (notification_server)
-6 Build/update seahub
-7 Build/update seafobj
-8 Build/update seafdav
-9 Build/update Seafile server
-A All options -1 to -9 in one go
-v <vers> Set seafile server version to build
default: 10.0.1
-r <vers> Set libsearpc version
default: 3.3-latest
-f <vers> Set fixed libsearpc version
default: 3.1.0
-h <vers> Set python requirement file for seahub
default: https://raw.githubusercontent.com/haiwen/seahub/v10.0.1-server/requirements.txt
-d <vers> Set python requirement file for seafdav
default: https://raw.githubusercontent.com/haiwen/seafdav/v10.0.1-server/requirements.txt
use --version for version info of this script.
Schema of created directory structure after execution of ./build.sh
:
seafile@rpi-focal:~$ tree . -L 3
.
โโโ build.sh
โโโ build-server.py.patch
โโโ built-seafile-server-pkgs
โย ย โโโ seafile-server-10.0.1-focal-armv7l.tar.gz
โโโ built-seafile-sources
โย ย โโโ R10.0.1
โโโ go
โย ย โโโ pkg
โโโ haiwen-build
โย ย โโโ libevhtp
โย ย โโโ libsearpc
โย ย โโโ seafdav
โย ย โโโ seafile-server
โย ย โโโ seafobj
โย ย โโโ seahub
โย ย โโโ seahub_thirdparty
โโโ opt
ย ย โโโ local
Batch Build
If you want to build for multiple distributions and architectures via lxc containers you can run:
$ wget https://raw.githubusercontent.com/haiwen/seafile-rpi/master/build-batch.sh
$ chmod u+x build-batch.sh
$ sudo time bash ./build-batch.sh 10.0.1
Edit the script in order to build for your preferred distributions.
If want to execute the script in the background with logs written to build-batch.log
call:
sudo su
nohup bash -c "sudo time bash ./build-batch.sh 9.0.9" >build-batch.log 2>build-batch.log < /dev/null &
Manual and Guides
Reporting Issues / GitHub Issues
If you have any problems or suggestions when using the seafile rpi server package, please report it on seafile server forum.
GitHub Issues support is dropped and will not be maintained anymore. If you need help, clarification or report some weird behaviour, please post it on the seafile server forum as well.
Contributors
See CONTRIBUTORS.