..., you got the white space correct right?
Nah, you were right. That was wrong.
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-2.0 |
Submitter: | eolianoe |
Maintainer: | Joffrey |
Last Packager: | Joffrey |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2017-07-03 09:48 (UTC) |
Last Updated: | 2025-06-06 08:11 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 15 Next › Last »
..., you got the white space correct right?
Nah, you were right. That was wrong.
Oh, that repo.py
. I thought you are talking about some code you use... Whatever....
Just to state the obvious (if you are a python users), if you applied the patch manually, you got the white space correct right?
The way I found the error last time was to just put something like a
raise ValueError()
in seahub/thirdpart/django/views/defaults.py
at the beginning of server_error
. That either cause the server to quite or otherwise cause a full backtrace to be printed. The message from there should tell you what kind of error you got. I don't really see how the new code, with the only addition beting basically a comparison to empty string, should cause and error in this case....
Line 19/20
https://github.com/archlinuxcn/repo/blob/3844a0e73eff940e25e5d138f4d379d43ffbdb0a/archlinuxcn/seahub/fix_shared_link.patch
or
https://github.com/haiwen/seahub/issues/4440
Yeah, I don't know why the problem exists, I tested it before the update, after the update and after the patch. It only works with your patch.
What's repo.py
?
Also see my comment in seafile-server
about 7.1.3
though you should't have that problem if you've only upgraded seahub
. (OTOH, I'm not sure if a version mismatch between seafile-server and seahub is well supported even though I've probably done it at 6.x time for minor/patch versions....)
Hey yuyichao
Thanks for the patch.
I have updated it manually, as I installed it, as I have described a few posts below.
Well, I am on 7.1.3 and only changed the file share_access_validation.html
with your patch. repo.py
did not work and ends in Internal Server Error
. Without repo it works.
Thanks
@DanSman https://github.com/haiwen/seahub/pull/4442
See also https://github.com/archlinuxcn/repo/blob/3844a0e73eff940e25e5d138f4d379d43ffbdb0a/archlinuxcn/seahub/PKGBUILD for the updated 7.1.3 PKGBUILD including the patch.
Nah, that doesn't change anything on my end. Same problem. But thanks.
Edit:
Update to Seafile v7.1.2, same problem.
I briefly had the same issue, revoking the shared link and then generating it again was a workaround that solved this for me. That obviously only works if you can live with the changed link.
Hey
Does "shared folder + password protection" work for you?
I get an error:
Page unavailable
Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.
But only with passwd protection.
Some notes in regarding to seafdav. Yesterday I've managed to build and run WebDAV backend for seafile 7.1.1. As it depends on Python3, two extra packages must be installed to satisfy dependensies (save the other deps): python-seafobj and python-wsgidav-seafile. To whom it may interest here is my repo with corresponding PKGBILD's: https://github.com/trap000d/aur/tree/master/seafile-server
P.S. I haven't submitted any packages to AUR yet so have no any experience with their maintenance. I'll be happy if someone could adopt the packages mentioned above.
Pinned Comments