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

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 Next › Last »

kuzalj commented on 2018-02-07 07:01 (UTC)

@Joffrey great job and thank you for all the help and suggestions. Proud to report after a long (months?) time of downtime with Seahub and Seafile, everything is working smoothly on both the Seahub and Seafile side, with WSGI. Thank you again!

Captain_Rage commented on 2018-02-05 16:12 (UTC) (edited on 2018-02-05 22:24 (UTC) by Captain_Rage)

For some reason seahub yet again doesn't start when invoking systemctl start seafile-server@myinstance (the clients sync but they can't see the libraries and when browsing the website '502 Bad Gateway' is shown). In /var/log/nginx/seafile.error.log messages like these appear:

2018/02/05 16:33:57 [error] 14823#14823: *14 connect() failed (111: Connection refused) while connecting to upstream, client: 121.123.124.128, server: some.thing.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "some.thing.com:8001"

I have no idea how to troubleshoot this. I am doring everything according the the instructions and Seahub was working with FastCGI in the previous version. Can anyone explain what is going on?

EDIT: After changing the permissions recursively to seafile:seafile once again seahub started (but the '502 Bad Gateway' persists). It would be dearly appreciated if somebody with a working setup would post their ccnet.conf, seafile.conf and seahub_settings.py configuration files.

Joffrey commented on 2018-02-04 18:31 (UTC) (edited on 2018-02-04 18:31 (UTC) by Joffrey)

@Captain_Rage nginx.example.conf isn't installed in your system. But you can find it in the git. see: https://aur.archlinux.org/cgit/aur.git/tree/?h=seahub or:

git clone https://aur.archlinux.org/seahub.git

Captain_Rage commented on 2018-02-04 15:08 (UTC) (edited on 2018-02-04 15:09 (UTC) by Captain_Rage)

@Joffrey Heads up for the tip. I tried changing the permissions recursively, and it looks like it worked to make seahub start as the user seafile, but after restarting the seafile-server once more seahub didn't get started for some reason. Still looks like I have to sort out some issues. Now a question regarding v6.2.5-3. pacman -Qc seahub gives * nginx.example.conf: Add nginx configuration example for https and wsgi Where can I find this file? I tried pacman -Ql seahub | grep nginx.example.conf but it is nowhere to be found. Isn't it part of the package?

Joffrey commented on 2018-02-02 13:43 (UTC) (edited on 2018-02-02 13:43 (UTC) by Joffrey)

Major changes for v6.2.5-3 see ChangeLog : pacman -Qc seahub

Joffrey commented on 2018-01-29 13:50 (UTC)

@all: I replace eolianoe as maintain on seafile-server and seahub packages, @eolianoe: A big thank you for the work you did. I have some tests in progress that will be adopted maybe this week.

@Klemens maintain a virtualenv with pip is more ease, because not all dependencies are in AUR or the official repositories.

@kuzalj if you install a pkg with pip in your Arch, you'll corrupt your pacman DB, use pip only in a virtualenv. Yes, if you have installed gunicorn with pip remove it with pip. Seahub use gunicorn installation in virtualenv, you haven't need gunicorn official pkg.

kuzalj commented on 2018-01-29 01:23 (UTC)

@klemens Thank you so much! I wondered where those logs were. I found out it was erroring because I did not have the two factor tables in my sql database, which is odd because those got introduced back in 6.0.0 and i know i executed the upgrade script. I just re-ran the database upgrade and I finally am in Seahub for the first time in a while haha.

@Joffrey If i cleanly uninstall the pip installed Gunicorn and install with pacman, do you think i can use the original PKGBUILD to install/run seahub?

klemens commented on 2018-01-28 21:55 (UTC)

@kuzalj the seahub logs are stored in /tmp/seahub.log and /tmp/seahub_django_request.log (at least in my case).

kuzalj commented on 2018-01-28 21:30 (UTC)

@Joffrey that PKGBUILD did allow for Seahub to start. I get the login page. However when i try to log in i get a "Page unavailable Sorry, but the requested page is unavailable due to a server hiccup.

Our engineers have been notified, so check back later." error. But i think that is a seperate problem i will have to look into. Is there something i should do to fix the gunicorn issue or are there any logs you want? Thank you for the help thus far.

klemens commented on 2018-01-28 16:24 (UTC)

openjpeg2 is needed as a dependency, otherwise the pip-installed pillow cannot generate jpeg thumbnails (why do you use pip instead of just depending on existing packages in the official repos where possible?).