Seafile server package for Raspberry Pi. Maintained by seafile community.
- The latest stable rpi version is here.
E.g. to compile Seafile server v9.0.2:
$ wget https://raw.githubusercontent.com/haiwen/seafile-rpi/master/build.sh
$ chmod u+x build.sh
$ ./build.sh -DTA -v 9.0.2
Calling ./build.sh
without arguments will return usage information and a list of all available arguments:
seafile@rpi-focal:~$ ./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 seahub
-6 Build/update seafobj
-7 Build/update seafdav
-8 Build/update Seafile server
-A All options -1 to -8 in one go
-v <vers> Set seafile server version to build
default: 9.0.2
-r <vers> Set libsearpc version
default: 3.2-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/v9.0.2-server/requirements.txt
-d <vers> Set python requirement file for seafdav
default: https://raw.githubusercontent.com/haiwen/seafdav/v9.0.2-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-9.0.2-focal-armv7l.tar.gz
├── built-seafile-sources
│ └── R9.0.2
├── 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
$ time bash ./build-batch.sh 9.0.2
Edit the script in order to build for your preferred distributions.
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.