Seafile server package for Raspberry Pi. Maintained by seafile community.
- The latest stable rpi version is here.
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://raw.githubusercontent.com/haiwen/seafile-rpi/master/requirements/seahub_requirements_v10.0.1.txt -d https://raw.githubusercontent.com/haiwen/seafile-rpi/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
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 &
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.
See CONTRIBUTORS.