-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SERVICE_URL in ccnet/ccnet.conf ignored #67
Comments
I additionally found that now no file could be downloaded anymore from website because their URLs are completely messed up. Page not found (404) As you see the whole URL of the link is a non-working mixup. |
You should not use EXTRA_HTTP_SERVER_ROOT, it is not in the document. |
There was no other way to to omit port 8082 being public and this worked very well. Where there any important changes regarding this to let this not work now? |
There are several reasons not to use HTTP transfer via port 8082 and use another URL rewritten by Apache:
All these three issues could be solved with that now not working anymore option - wouldn't you consider it as useful if it worked again? Regards |
Hi, Based on the url you give, I guess you have added "HTTP_SERVER_ROOT" in two places:
Here is the quick fix for you:
We'll detail how to use apache/nginx to proxy httpserver in the wiki, since But anyway, you REALLY should not use the "EXTRA_XXX" way since it's not Regards, On Wed, Jul 3, 2013 at 4:31 AM, HenriWahl notifications@github.com wrote:
|
With the HTTP_SERVER_ROOT options it works now. It didn't in vesion 1.6 so I had to use that crude way, but now it is OK. Thank you! |
Sorry, |
The problem still persists, instead of replacing local http://myserver:8000 by SERVICE_URL the local URL is used and thus a file cannot be displayed in browser as with seahub 1.6. Additionally I get an error: NameError at /seafile/repo/020e7f89-3216-4732-97fc-b820e73e9662/files/ global name 'OFFICE_PREVIEW_MAX_SIZE' is not defined Request Method: GET global name 'OFFICE_PREVIEW_MAX_SIZE' is not defined Exception Location: /opt/seafile/seafile-server-1.7.0.1/seahub/seahub/views/file.py in view_file, line 297 ['/opt/seafile/seafile-server-1.7.0.1/seahub', Server time: Do, 25 Jul 2013 11:52:33 +0200 Any clue? |
What is the URL when you generating the link to the shared document? On Thu, Jul 25, 2013 at 5:58 PM, HenriWahl notifications@github.com wrote:
|
The problem was the same as in #56 because it is a PDF file. With the fix from there it works. Thanks! |
Sorry, but a small problem still exists in this issue. When I display a file in Browser and press the "Send" button to get its URL for sharing still the local URL http://myserver:8000 is shown there and not the one of SERVICE_URL. |
We have rewritten code related to SERVICE_URL, which will be published in version 1.8 next week. If you still have the problem then, we will look into it carefully. |
Hi,
since server 1.7.0.1 the option SERVICE_URL in ccnet/ccnet.conf seems to be ignored, at least any shared URL has at once the default port 8000 URL instead of the one configured. It worked with 1.6.1 before.
The text was updated successfully, but these errors were encountered: