Package Details: seafile-server 6.3.1-1

Git Clone URL: (read-only)
Package Base: seafile-server
Description: Seafile server core
Upstream URL:
Licenses: AGPL3
Conflicts: seafile
Submitter: eolianoe
Maintainer: Joffrey
Last Packager: Joffrey
Votes: 14
Popularity: 0.820330
First Submitted: 2017-01-07 15:22
Last Updated: 2018-06-15 20:36

Latest Comments

Joffrey commented on 2018-06-03 07:54

@ikwyl6 What is your processor architecture?

uname -a

Try to compile with :

makepkg -A

If it compile fine, I'll add your architecture in the PKGBUILD.

ikwyl6 commented on 2018-06-02 21:04

I have pogoplug with arm and I can't do a 'makepkg':

$ makepkg ==> ERROR: seafile-server is not available for the 'arm' architecture. ==> ERROR: changelog file (ChangeLog) does not exist or is not a regular file.

==> ERROR: An unknown error has occurred. Exiting...

Any ideas?

Captain_Rage commented on 2018-02-15 20:41

@cybertron See the recent comment for the seahub package.

cybertron commented on 2018-02-15 18:37

What is the acutal upgrade way? I used the seahub-preupgrade function after upgrading the arch packages but this function does not exsist anymore?

Joffrey commented on 2018-02-02 13:45

Major changes for v6.2.5-2 see ChangeLog : pacman -Qc seafile-server

After upgrade you'll must restart the daemon

klemens commented on 2018-01-27 20:40

The 6.2.5 release is currently broken: The updated seaserv python lib in seafile-server depends on the get_group_repos_by_user function to the seafile python lib added in e16e5401e, but the seafile lib is packaged in the seafile package and not seafile-server. However, this change is not included in seafile version 6.1.4 (it is not even anywhere in the repo and in the seafile-server repo it is only in the 6.2 branch and not in master, really confusing).

I temporarily "fixed" it by manually replacing with the one from seafile-server…

pvagner commented on 2018-01-03 13:04

Either I am too stupid or this is all just a nightmare. I have built and installed all the packages including seahub and seafile-server. By reading the wiki page and remembering my folder structure from before the seahub has been installed as a package I had the following directory structure: /srv/seafile for holding as many subfolders as I plan to run seafile sites on this machine. So it will include at least one folder e.g. files.domain.tld. Inside that folder there should be folders such as ccnet, seafile-data, seafile-server and conf. Seahub files are now part of an installed package inside /usr/share/seafile-server/seahub. No mather how hard I'm trying either on my own or by following advices you are trying to give to me the mysql setup is leading to the situation where the scripts are expecting an /usr/share/seafile-server/seahub copy inside /srv/seafile/files.domain.tld/seafile-server/seahub. Joffreys approach appears to be most straighforward however It still does not work for me. I can create these empty folders /srv/seafile/files.domain.tld/seafile-server/runtime /srv/seafile/files.domain.tld/seafile-server/seahub copy /usr/share/seafile-server/scripts/setup-seafile-mysql.* into /srv/seafile/files.domain.tld/seafile-server and run The database and ccnet config gets created however it finishes with a python traceback looking for /srv/seafile/files.domain.tld/seafile-server/seahub/tools/ I will be slowly tinkering with it occassionally and by 2022 I might be able to figure it out. I think this is not meant to be runing in a kind of multi site setup. I do fail to understand what an improvement seahub packaging brings when I do have to copy it to site specific folder anyway.

eolianoe commented on 2017-12-21 17:47

@all: sorry for the delay with the answers to e-mails and comments, real life is a bit busy for now. Expect an update of all seafile packages by the beginning of January.

Joffrey commented on 2017-12-21 10:24

@pvagner You do not have too much interest to use a seahub for all your instances, if I understood correctly, because the upgrade must be done manually.

For a MySQL install, I have made a patch:

--- a/scripts/
+++ b/scripts/
@@ -304,14 +304,13 @@
-        self.bin_dir = os.path.join(self.install_path, 'seafile', 'bin')
+        self.bin_dir = '/usr/bin'
         self.central_config_dir = os.path.join(self.top_dir, 'conf')

     def check_pre_condiction(self):
         def error_if_not_exists(path):
             if not os.path.exists(path):
                 Utils.error('"%s" not found' % path)

         paths = [
-            os.path.join(self.install_path, 'seafile'),
             os.path.join(self.install_path, 'seahub'),
             os.path.join(self.install_path, 'runtime'),
--- a/tools/seafile-admin
+++ b/tools/seafile-admin
@@ -864,3 +864,10 @@
+    # seahub.db is useless with MySQL and crash the startup!
+    with open(files[3], 'r') as f:
+        for line in f:
+            if 'DATABASES' in line:
+                del(files[2])
+                break
     for fpath in files:
         if not os.path.exists(fpath):
             error('%s not found' % fpath)

It works very well free to you to use it now. But I would like that we can discuss to find good solutions for to be introduced in the PKGBUILD :)

It miss an active maintainer for this package. A big thank at @eolianoe who brought a lot of contributions to this package, but now the package is outdated since 1 month and email without answers...

I use seafile-server with MariaDB in production and I hope to see in the future seafile in community repository ;)

pvagner commented on 2017-12-19 19:28

@klemens I will try your suggestion however I am still very confused. I've installed seafile-server and seahub packages. I do have scripts and seahub folder inside /usr/share/seafile-server . These are owned by root so seafile user can't write into these folders. It's clear seahub python scripts have to be compiled into pyc or pyo files and language files have to be compiled into gettext mo files. When creating instance specific folders inside /srv/seafile/seafile.whatever.tld the suggestion is to create yet another seafile-server folder with seahub inside or how to do it properly and ideally as efficiently as possible? Might it be possible just doing a bind mount or something similar to use the exact same seahub folder for all the instances? Or am I missing something else?

All comments