Package Details: seahub 11.0.8-1

Git Clone URL: https://aur.archlinux.org/seahub.git (read-only, click to copy)
Package Base: seahub
Description: The web frontend for seafile server
Upstream URL: https://github.com/haiwen/seahub
Licenses: Apache
Submitter: eolianoe
Maintainer: Joffrey
Last Packager: Joffrey
Votes: 7
Popularity: 0.000000
First Submitted: 2017-07-03 09:48 (UTC)
Last Updated: 2024-04-20 09:42 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

Joffrey commented on 2023-07-22 08:45 (UTC)

@figue thanks for your report, it's fixed.

figue commented on 2023-07-16 15:54 (UTC) (edited on 2023-07-16 20:36 (UTC) by figue)

Edited: sorry my original comment was not correct. My Seahub doesn't start apparently because latest Pillow upgrade. The problem seems to be in ANTIALIAS filters in 2 files:

/srv/seafile/myinstance/seafile-server/seahub/seahub/thumbnail/utils.py
/srv/seafile/myinstance/seafile-server/seahub/seahub/avatar/settings.py

I've changed Image.ANTIALIAS to Image.LANCZOS and now Seahub starts. Then I confirm that there is a pull request with those same indications:

https://github.com/haiwen/seahub/pull/5549

Perhaps is a good idea to patch the AUR package with that? It seems simple, in prepare() add:

    # Fixes Pillow 10.0.0 ANTIALIAS deprecation
    sed -e 's/Image\.ANTIALIAS/Image\.LANCZOS/g' -i seahub/thumbnail/utils.py -i seahub/avatar/settings.py

Joffrey commented on 2022-12-17 09:29 (UTC)

Hello @angel6700,
You must copy its contents elsewhere.
I install seafile-server like this.

Add an instance

Creating an instance is not a requirement, you can add the content directly to the seafile home directory.
But you will have to overload seafile-server and seahub Systemd service.

[seafile@9cabe06ab369 ~]$ whoami
seafile
[seafile@9cabe06ab369 ~]$ pwd
/srv/seafile
[seafile@9cabe06ab369 ~]$ mkdir instance
[seafile@9cabe06ab369 ~]$ cp -rp /usr/share/seafile-server instance/
In production
./instance/seafile-server/setup-seafile-mysql.sh
For tests with Sqlite
./instance/seafile-server/setup-seafile.sh
Add an admin user
./instance/seafile-server/reset-admin.sh
Start services
systemctl start seafile-server@instance
systemctl start seahub@instance

Wiki and package contributions are welcome.

angel6700 commented on 2022-12-15 22:50 (UTC) (edited on 2022-12-15 22:51 (UTC) by angel6700)

Hello, I'm not able to configure seafile by reading archlinux wiki and seafile official documentation.

The wiki is outdated, because the seafile-admin command should not be used (as explained in one of the comments of seafile-server aur package).

The file setup-seafile-mysql.py is installed in: /usr/share/seafile-server/setup-seafile-mysql.py

so it tries to create directories in /usr/share/ which is not possible for seafile user, and not desirable for root user.

What am I doing wrong or missing?

Joffrey commented on 2022-03-26 10:31 (UTC)

Thanks @ishkur for your report, I have fixed the Django version in the package.

ishkur commented on 2022-03-24 10:13 (UTC)

A word of warning: don't update your django to version 4, as it seems to be a kind of a spring cleaning exercise full of breaking changes. Otherwise seahub will not start due to various errors. I started to fix them, but gave up after a while, because it is just too much.

DanSman commented on 2021-12-15 05:33 (UTC)

Hey guys

I don't have any issues anymore like I mentioned comments below. @Artain try that
pacman -Qoq /usr/lib/python3.9
pikaur -S $(pacman -Qoq /usr/lib/python3.9) --rebuild
With your helper, of course. But my setup is different anyway. I use aur-seahub only to get all dependencies + libselinux. And everything else I installed through the official installation/tutorial because I was too stupid to understand this way here :)
I have 4 server running this way and everything is running fine. But also still on latest 8 version.

trap000d commented on 2021-12-15 03:14 (UTC)

@DanSman, I had an issue with the latest upgrade. In short, I didn't follow the right order - at first I've upgraded seafile, and only then - the rest of system, then rebooted. After that I've got: === seafile.sh[648]: seaf-server: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or directory === which has been resolved with one more clean rebuild of seafile/seahub.

In your case it might be some missed Python package, indeed. To trace it down find the line in gunicorn.conf.py

== gunicorn.conf.py ==

daemon = True

==

and change it to daemon = False

then try to start seafile.sh and seahub.sh -- all errors will go onto stdout so you'll have a chance to figure out what is wrong.

Artain commented on 2021-12-14 19:54 (UTC)

@DanSman I celebrated too early. It did start but it's not working. I still don't get any logs. And after downgrading get the same result. But after 4h I can only hope @Joffrey updates to version 9 and I can get it working again then.

DanSman commented on 2021-12-14 18:44 (UTC) (edited on 2021-12-14 18:44 (UTC) by DanSman)

@Artain
Thanks for the hint! I have it back on track as well.

pacman -Qoq /usr/lib/python3.9
pikaur -S $(pacman -Qoq /usr/lib/python3.9) --rebuild
Was my solution.