@yuyichao Many thanks for your contributions, your approach is interesting and it will decrease the number of patchs.
I also tested the 7.1.1 upgrade but with a Python virtualenv and Pypi packages.
I will try to test your modifications soon.
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-05-31 15:37 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 Next › Last »
@yuyichao Many thanks for your contributions, your approach is interesting and it will decrease the number of patchs.
I also tested the 7.1.1 upgrade but with a Python virtualenv and Pypi packages.
I will try to test your modifications soon.
I've updated the archlinuxcn version of the package to 7.1.1 and python3 [1]. Please feel free to take any part you may find useful. It also seems that seafile-admin is out of date even for the 7.0 version and I've also changed the seafile-server[2] package and copied some update based on scripts/
. It might be better to just switch to using scripts/
instead though that also need some patches....
So far the only issue I haven't fixed after the upgrade seems to be that shared link with password protection seems to be not working....
[1] https://github.com/archlinuxcn/repo/blob/f14bad28d1ab0ea9791e7d66fd1224cf2f14fd3b/archlinuxcn/seahub/PKGBUILD [2] https://github.com/archlinuxcn/repo/blob/f14bad28d1ab0ea9791e7d66fd1224cf2f14fd3b/archlinuxcn/seafile-server/PKGBUILD
https://forum.seafile.com/t/seafile-server-7-1-0-is-ready-for-testing-migrate-to-python-3/10566/50
I think we have to wait until it is fully supported by Python 3. So many dependencies are no longer available. The biggest problem at the moment is probably the python2-django dependency.
I "fixed" my issue by changing two if not emailuser
statements in seahub/base/accounts.py
to if emailuser == None
. One occurence was on line 98, the other on line 545. Judging from my very superficial Python knowledge this should mitigate the problem until I have time to figure this out properly.
After a reboot Seahub has stopped working, it keeps erroring out on every login with the following message:
AttributeError at /accounts/login/
type object '_SearpcObj' has no attribute '__bool__'
Request Method: POST
Request URL: http://--redacted--/accounts/login/?next=/
Django Version: 1.11.25
Exception Type: AttributeError
Exception Value:
type object '_SearpcObj' has no attribute '__bool__'
Exception Location: /usr/lib/python2.7/site-packages/future/types/newobject.py in __nonzero__, line 70
Python Executable: /usr/bin/python2
Python Version: 2.7.17
Python Path:
['/srv/seafile/--redacted--/seafile-server/seahub',
'/usr/bin',
'/srv/seafile/--redacted--/seafile-server/seahub/thirdpart',
'/usr/lib/python27.zip',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/lib/python2.7/site-packages',
'/usr/lib/python2.7/site-packages/gtk-2.0',
'/srv/seafile/--redacted--/seafile-server/seahub/seahub/api2/endpoints/../../../../../conf',
'/srv/seafile/--redacted--/seafile-server/seahub/seahub/api2/endpoints/../../../../../conf']
Server time: Tue, 12 Nov 2019 16:17:22 +0000
I assumed this was some kind of problem with seafrpc so I rebuild the following packages: ccnet-server seahub libevhtp-seafile libsearpc
. Sadly, this did not fix the issue.
Did anyone here stumble over the same problem?
I don't understand the pinned comment. Does it mean that we shouldn't upgrade the package using pacman -U?
Yes, setting daemon = false helped me to discover a typo in my config and now it's all working great for me again. BTW 7.0.4 is out.
For whatever reason the Seahub logfile wandered over to /tmp/seahub.log
for me. If that doesn't work you can probably set daemon = False
in gunicorn.conf
.
Can anyone run seahub after upgrading to 7.0.3? According to the seafile-admin start output it's started successfully, however seahub.log is empty and I can't figure out a way on how to peek at gunicorn's output.
@Joffrey: I have updated this package to version 7.0.3. Find the updated PKGBUILD and .SRCINFO here: https://drive.google.com/open?id=1aNR6PDwKSlvysi6pEr-OmB0ATVGsDt-v
I also updated the seafile-client, ccnet-server, seafile-server and seafile packages.
Pinned Comments