Wiki broken on 6.3.4

I’m unable to use the wiki after upgrading to Seafile Pro 6.3.4. All I see is the spinning loading icon. Every other function of Seafile seems to work fine.

$ tail -f /opt/seafile/logs/seahub.log
2018-09-05 00:33:03,950 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api/v2.1/wikis/notes/content/
Traceback (most recent call last):
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/thirdpart/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/opt/seafile/seafile-pro-server-6.3.4/seahub/seahub/api2/endpoints/wiki_pages.py", line 305, in get
    file_response = urllib2.urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>

Same problem here. Have you found a fix?

@daniel.pan Anything?
This is a forum but not responding for a month if an error in your pro version was found is sad. Why?

We are already looking at the problem.

1 Like

I never found a solution. I ended up reverting back to 6.2.13 to have a working wiki.

You can modify this file for a quick fix: https://github.com/haiwen/seahub/pull/2440/files

I upgraded to 6.3.7 Pro and the wiki is now working. Thanks @daniel.pan.