Package Details: seahub 11.0.13-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-11-14 17:03 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 14 Next › Last »

ChuckHL commented on 2024-04-28 16:24 (UTC) (edited on 2024-04-28 18:56 (UTC) by ChuckHL)

The latest gunicorn-22.0.0-2 breaks seahub the following way:

Apr 28 10:23:44 ArchPC seahub.sh[1549]: Starting seahub at port 8000 ... Apr 28 10:23:45 ArchPC seahub.sh[1562]: Traceback (most recent call last): Apr 28 10:23:45 ArchPC seahub.sh[1562]: File "/usr/bin/gunicorn", line 5, in <module> Apr 28 10:23:45 ArchPC seahub.sh[1562]: from gunicorn.app.wsgiapp import run Apr 28 10:23:45 ArchPC seahub.sh[1562]: ModuleNotFoundError: No module named 'gunicorn' Apr 28 10:23:50 ArchPC seahub.sh[1549]: Error:Seahub failed to start. Apr 28 10:23:50 ArchPC seahub.sh[1549]: Please try to run "./seahub.sh start" again Apr 28 10:23:50 ArchPC systemd[1]: seahub.service: Control process exited, code=exited, status=1/FAILURE Apr 28 10:23:50 ArchPC systemd[1]: seahub.service: Failed with result 'exit-code'. Apr 28 10:23:50 ArchPC systemd[1]: Failed to start The web frontend for seafile server..

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.