• Stars
    star
    552
  • Rank 78,203 (Top 2 %)
  • Language
    Shell
  • License
    Other
  • Created about 9 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Seafile server package for Raspberry Pi.

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.

More Repositories

1

seafile

High performance file syncing and sharing, with also Markdown WYSIWYG editing, Wiki, file label and other knowledge management features.
C
11,597
star
2

seafile-docker

A Docker image for Seafile server
Python
520
star
3

seahub

The web end of seafile server.
Python
511
star
4

seadroid

Android client for Seafile
Java
504
star
5

seafile-client

Seafile desktop client.
C++
448
star
6

seafile-server

Seafile Server Core
C
424
star
7

seafile-server-installer-cn

One script to install seafile server
Shell
363
star
8

seafile-docs-cn

SeafileζœεŠ‘ε™¨η”¨ζˆ·ζ‰‹ε†Œ
Shell
293
star
9

seafile-iOS

iOS client for seafile
Objective-C
210
star
10

seafdav

Seafile webdav server
Python
81
star
11

seafile-user-manual

Manual for Seafile client
CSS
58
star
12

libsearpc

A simple C language RPC framework (including both server side & client side). Python binding is also provided
C
56
star
13

seadrive-gui

GUI part of seadrive.
C++
55
star
14

python-seafile

python client for seafile web api
Python
29
star
15

seafile-admin-docs

Shell
25
star
16

webapi-examples

seafile web api examples
C#
20
star
17

ccnet-server

Internal communication framework and user/group management for Seafile server
C
17
star
18

seafile-js

Seafile Javascript API
JavaScript
17
star
19

seadrive-fuse

SeaDrive daemon with FUSE interface
C
17
star
20

seafobj

python library for accessing seafile data model
Python
16
star
21

seafile-shell-ext

Windows Shell Extension for Seafile Client
C++
11
star
22

seafile-vagrant

vagrant configuration for seafile development.
Shell
9
star
23

NewQuickAction

QuickAction for android
Java
8
star
24

maven-repo

maven libraries used by seafle android app
5
star
25

seafile-outlook

Seafile Outlook plugin
C#
5
star
26

seafile-docs-ko

Manual for Seafile server (Korean)
3
star
27

seafile-zimlet

JavaScript
3
star
28

seafile-python-api-examples

seafile apython api examples
Shell
2
star
29

seafile-test-deploy

Scripts for setup the seafile test enviroment.
Shell
2
star
30

seafile-release-tools

Python
2
star
31

django-cas-ng

Django CAS (Central Authentication Service) client
Python
2
star
32

seafile-ansible

1
star
33

seafile-server-manual

1
star
34

docker-example-ali

Python
1
star
35

sea-markdown-editor

A WYSIWYG Markdown editor
JavaScript
1
star