Package Details: seahub 9.0.10-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.000490
First Submitted: 2017-07-03 09:48 (UTC)
Last Updated: 2022-12-10 19:35 (UTC)

Pinned Comments

Latest Comments

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

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.

Artain commented on 2021-12-14 17:57 (UTC)

@DanSman I just got the exact same problem. First which is nice to know if you start seahub.sh manually from the console with start-fastcgi parameter, you can get a more verbose error message. Secondly it appears that the last update I did with pacman deleted 2 packages for me it was captcha which I just installes with pip install captcha I also needed to rebuild https://aur.archlinux.org/packages/python-django-statici18n/ after that I could start seahub again.

DanSman commented on 2021-12-14 09:32 (UTC)

Is anyone having a problem with seahub starting after an update?

I just updated my server and ran into an issue with seahub being updated as well. Seahub is no longer starting. I'm currently trying to figure out what the issue could be. New python update maybe or dependencies? Rebuild doesn't work either. Baeh ...