When building with gcc 15, I had to add this to the build function to ignore some of the warnings that became errors in v15.
export CFLAGS="$CFLAGS -Wno-error -Wno-incompatible-pointer-types"
Git Clone URL: | https://aur.archlinux.org/seafile-server.git (read-only, click to copy) |
---|---|
Package Base: | seafile-server |
Description: | Seafile server core |
Upstream URL: | https://github.com/haiwen/seafile-server |
Licenses: | Apache-2.0, AGPL-3.0-only |
Conflicts: | seafile |
Submitter: | eolianoe |
Maintainer: | Joffrey |
Last Packager: | Joffrey |
Votes: | 18 |
Popularity: | 0.000000 |
First Submitted: | 2017-01-07 15:22 (UTC) |
Last Updated: | 2025-05-12 12:00 (UTC) |
When building with gcc 15, I had to add this to the build function to ignore some of the warnings that became errors in v15.
export CFLAGS="$CFLAGS -Wno-error -Wno-incompatible-pointer-types"
@trap000d Thank you. python-pymysql should be added as dependencies
Important note of upgrade to seafile-server/seahub 12.X
Upstream now use Docker as default install option, so for standalone seafile they require an extra configuration file: ".env". Without proper content and location seafile won't start.
For details please refer to https://manual.seafile.com/12.0/upgrade/upgrade_notes_for_12.0.x/#3-create-the-env-file-in-conf-directory
@Joffrey thank you to maintain this package. Any plans to update the arch's wiki? Current server version says seafile-admin is deprecated, so I had to use setup-seafile-mysql.sh
Also it's a bit tricky to use the systemd units because I don't know how script create the files/folders structure, etc.
Finally after a lot of tries/errors, I can make it work, but I had to copy from /usr/share to /srv/seafile. I'm not sure how I have to make the updates later... so what I have to overwrite.
How are you managing your seafile server guys?
Thank you
Thanks @pvagner it's fixed.
Dear @Joffrey Since seafile-server 10.0 there is a new notification-server binary which is missing in the package.
diff --git a/PKGBUILD b/PKGBUILD
index 4138eab..c5b5bcd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=seafile-server
pkgver=10.0.1
-pkgrel=1
+pkgrel=2
pkgdesc='Seafile server core'
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url='https://github.com/haiwen/seafile-server'
@@ -73,6 +73,8 @@ build() {
cd ./fileserver
go build .
+ cd ../notification-server
+ go build .
}
package() {
@@ -88,6 +90,7 @@ package() {
ln -s /usr/bin/ "$pkgdir/usr/share/$pkgname/seafile/bin"
install -Dm755 ./fileserver/fileserver "$pkgdir/usr/bin/fileserver"
+ install -Dm755 ./notification-server/notification-server "$pkgdir/usr/bin/notification-server"
# Systemd
install -Dm644 \
@ChuckHL seafile-admin
is no longer maintained, use setup-seafile-mysql.sh
or setup-seafile.sh
script instead.
I am unable to make a fresh install of seafile.
I managed to install all the required apps and packages.
I got an error regarding the python version. It said that it is not compatible with python 3 and to use python 2 (which if i am not mistaken, seafile 7 and above were supposed to be python 3).
I changed my env to use python 2 and now i get the following error when running: seafile-admin setup
Error: seaf-server-init not found in PATH. Have you built and installed seafile server?
Any idea on what am I missing?
Regards
It's reported https://bugs.archlinux.org/task/66365 .
Pinned Comments