Seahub not working any more


#1

Hi there!
First of all, I’m running the seafile server and hub (versoin 6.0.6) on my raspberry pi 3.
I didn’t install anything additional to that and just updated the pi from time to time.

A few days ago the seahub stopped working.
When starting up my pi i get the error message:

Error:Seahub failed to start.
Please try to run "./seahub.sh start" again

This trying to restart didn’t help.
Alfter a little bit of online research I found out, in order to see error messages I should start the seahub with the start-fastcgi option. Doing that, I get:

Starting seahub (fastcgi) at 127.0.0.1:8000 ...
Traceback (most recent call last):
  File "/home/seafile/seafile-server-6.3.4/seahub/manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/management/__init__.py", line 13, in <module>
    from django.core.management.base import (
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/management/base.py", line 17, in <module>
    from django.db.migrations.exceptions import MigrationSchemaMissing
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/migrations/__init__.py", line 2, in <module>
    from .operations import *  # NOQA
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/migrations/operations/__init__.py", line 1, in <module>
    from .fields import AddField, AlterField, RemoveField, RenameField
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/migrations/operations/fields.py", line 4, in <module>
    from django.db.models.fields import NOT_PROVIDED
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/models/__init__.py", line 3, in <module>
    from django.db.models.aggregates import *  # NOQA
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/models/aggregates.py", line 5, in <module>
    from django.db.models.expressions import Func, Star
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/models/expressions.py", line 6, in <module>
    from django.db.models import fields
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/db/models/fields/__init__.py", line 14, in <module>
    from django import forms
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/forms/__init__.py", line 6, in <module>
    from django.forms.boundfield import *  # NOQA
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/forms/boundfield.py", line 7, in <module>
    from django.forms.widgets import Textarea, TextInput
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/forms/widgets.py", line 29, in <module>
    from .renderers import get_default_renderer
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/forms/renderers.py", line 12, in <module>
    from django.template.backends.jinja2 import Jinja2
  File "/home/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/template/backends/jinja2.py", line 6, in <module>
    import jinja2
ValueError: bad marshal data (string ref out of range)
Error:Seahub failed to start.

Unfortunately I don’t know what to do now.
I tried upgrading the seafile server to the current version 6.3.4. That did work by running the upgrade scripts, but the problem still remains.

Does anyone has an idea what to do?
Thanks in advance.
-iffiffuw


#2

I’ve been having the same problem. See here:

I’ve received no advice yet about how to get additional error messages. Your error messages gave me the idea to remove the extra jinja2 files from “/usr/lib/python2.7/dist-packages”, along with ccnet, seafile, and seaserv (these files somehow keep getting created periodically, so I have to keep getting rid of them). Unfortunately, clearing the jinja2 files didn’t change anything for me.


#3

is prety often a error in compiled files (.pyc)
so stop all services, delete those .pyc and start again should help


#4

ImportError at /

cannot import name certs

Request Method: GET
Request URL: http://192.168.27.103:8000/
Django Version: 1.11.15
Exception Type: ImportError
Exception Value:

cannot import name certs

Exception Location: /home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/utils.py in , line 24
Python Executable: /usr/bin/python2.7
Python Version: 2.7.9
Python Path:

[’/home/seafile/seacloud/seafile-server-latest’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib/python2.7/site-packages’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib64/python2.7/site-packages’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib/python2.6/site-packages’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib64/python2.6/site-packages’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart’,
‘/home/seafile/seacloud/seafile-server-6.3.4’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/chardet-3.0.4-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_compressor-2.2-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_formtools-2.1-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_post_office-3.0.4-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_simple_captcha-0.5.7-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_statici18n-1.8.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/gunicorn-19.8.1-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/python_memcached-1.59-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/pytz-2018.4-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/qrcode-5.3-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/requests-2.18.4-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/requests_oauthlib-0.8.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/six-1.11.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/openpyxl-2.5.3-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_webpack_loader-0.6.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/setuptools-39.2.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/jsonfield-2.0.2-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_appconf-1.0.2-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/et_xmlfile-1.0.1-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/certifi-2018.4.16-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/oauthlib-2.1.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_ranged_response-0.2.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_constance-2.1.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/flup-1.0.2-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/python_dateutil-2.7.3-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/idna-2.6-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/rcssmin-1.0.6-py2.7-linux-armv6l.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/rjsmin-1.0.12-py2.7-linux-armv6l.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/olefile-0.45.1-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/jdcal-1.4-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/django_picklefield-1.0.0-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/captcha-0.2.4-py2.7.egg’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg’,
‘/usr/lib/python2.7’,
‘/usr/lib/python2.7/plat-arm-linux-gnueabihf’,
‘/usr/lib/python2.7/lib-tk’,
‘/usr/lib/python2.7/lib-old’,
‘/usr/lib/python2.7/lib-dynload’,
‘/usr/local/lib/python2.7/dist-packages’,
‘/usr/lib/python2.7/dist-packages’,
‘/usr/lib/python2.7/dist-packages/PILcompat’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib64/python2.7/site-packages’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib/python2.6/site-packages’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seafile/lib64/python2.6/site-packages’]

Server time: Mon, 7 Jan 2019 09:03:18 +0000
Traceback Switch to copy-and-paste view

/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py in get_response

                    response = middleware_method(request, response)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/middleware/locale.py in process_response

            i18n_patterns_used, prefixed_default_language = is_language_prefix_patterns_used(urlconf)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/lru_cache.py in wrapper

                        result = user_function(*args, **kwds)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/conf/urls/i18n.py in is_language_prefix_patterns_used

        for url_pattern in get_resolver(urlconf).url_patterns:

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/functional.py in __get__

            res = instance.__dict__[self.name] = self.func(instance)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/urls/resolvers.py in url_patterns

            patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/functional.py in __get__

            res = instance.__dict__[self.name] = self.func(instance)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/urls/resolvers.py in urlconf_module

                return import_module(self.urlconf_name)

     ...
▶ Local vars
/usr/lib/python2.7/importlib/__init__.py in import_module

        __import__(name)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/utils/rooturl.py in <module>

            url(r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/conf/urls/__init__.py in include

            urlconf_module = import_module(urlconf_module)

     ...
▶ Local vars
/usr/lib/python2.7/importlib/__init__.py in import_module

        __import__(name)

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/urls.py in <module>

    from seahub.views.file import view_history_file, view_trash_file,\

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/views/file.py in <module>

    from seahub.wopi.utils import get_wopi_dict

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/wopi/utils.py in <module>

    import requests

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/__init__.py in <module>

    from . import utils

     ...
▶ Local vars
/home/seafile/seacloud/seafile-server-6.3.4/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/utils.py in <module>

    from . import certs

     ...
▶ Local vars

Request information
USER

[unable to retrieve the current user]
GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES

No cookie data
META
Variable Value
HTTP_ACCEPT

‘text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8’

HTTP_ACCEPT_ENCODING

‘gzip, deflate, sdch’

HTTP_ACCEPT_LANGUAGE

‘ru,en;q=0.9’

HTTP_CONNECTION

‘keep-alive’

HTTP_HOST

‘192.168.27.103:8000’

HTTP_UPGRADE_INSECURE_REQUESTS

‘1’

HTTP_USER_AGENT

‘Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 YaBrowser/18.11.1.715 (beta) Yowser/2.5 Safari/537.36’

PATH_INFO

u’/’

QUERY_STRING

‘’

RAW_URI

‘/’

REMOTE_ADDR

‘192.168.27.113’

REMOTE_PORT

‘38252’

REQUEST_METHOD

‘GET’

SCRIPT_NAME

u’’

SERVER_NAME

‘0.0.0.0’

SERVER_PORT

‘8000’

SERVER_PROTOCOL

‘HTTP/1.1’

SERVER_SOFTWARE

‘gunicorn/19.8.1’

gunicorn.socket

<socket._socketobject object at 0xb56d0998>

wsgi.errors

<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0xb561dad0>

wsgi.file_wrapper

‘’

wsgi.input

<gunicorn.http.body.Body object at 0xb561dab0>

wsgi.multiprocess

True

wsgi.multithread

False

wsgi.run_once

False

wsgi.url_scheme

‘http’

wsgi.version

(1, 0)

Settings
Using settings module seahub.settings
Setting Value
ABSOLUTE_URL_OVERRIDES

{}

ACCOUNT_ACTIVATION_DAYS

7

ACTIVATE_AFTER_FIRST_LOGIN

False

ACTIVATE_AFTER_REGISTRATION

True

ADD_REPLY_TO_HEADER

False

ADMINS

()

ALLOWED_HOSTS

[’*’]

APPEND_SLASH

True

AUTHENTICATION_BACKENDS

(‘seahub.base.accounts.AuthBackend’,
‘seahub.oauth.backends.OauthRemoteUserBackend’)

AUTH_PASSWORD_VALIDATORS

u’********************’

AUTH_USER_MODEL

u’auth.User’

AUTO_GENERATE_AVATAR_SIZES

(16, 20, 24, 28, 32, 36, 40, 42, 48, 60, 64, 72, 80, 84, 96, 128, 160)

AUTO_GENERATE_GROUP_AVATAR_SIZES

(20, 24, 32, 36, 48, 56)

AVATAR_ALLOWED_FILE_EXTS

(’.jpg’, ‘.png’, ‘.jpeg’, ‘.gif’)

AVATAR_CACHE_TIMEOUT

1209600

AVATAR_DEFAULT_NON_REGISTERED_URL

‘/avatars/default-non-register.jpg’

AVATAR_DEFAULT_URL

‘/avatars/default.png’

AVATAR_FILE_STORAGE

‘’

AVATAR_GRAVATAR_BACKUP

False

AVATAR_HASH_FILENAMES

True

AVATAR_HASH_USERDIRNAMES

True

AVATAR_MAX_AVATARS_PER_USER

1

AVATAR_STORAGE_DIR

‘avatars’

BRANDING_CSS

‘’

CACHES

{‘default’: {‘BACKEND’: ‘django.core.cache.backends.filebased.FileBasedCache’,
‘LOCATION’: ‘/tmp/seahub_cache’,
‘OPTIONS’: {‘MAX_ENTRIES’: 1000000}},
‘django.core.cache.backends.locmem.LocMemCache’: {‘BACKEND’: ‘django.core.cache.backends.locmem.LocMemCache’}}

CACHE_DIR

‘/tmp’

CACHE_MIDDLEWARE_ALIAS

u’default’

CACHE_MIDDLEWARE_KEY_PREFIX

u’********************’

CACHE_MIDDLEWARE_SECONDS

600

CAPTCHA_IMAGE_SIZE

(90, 42)

CLOUD_DEMO_USER

‘demo@seafile.com’

CLOUD_MODE

False

COMPRESS_CACHEABLE_PRECOMPILERS

()

COMPRESS_CACHE_BACKEND

u’default’

COMPRESS_CACHE_KEY_FUNCTION

u’********************’

COMPRESS_CLEAN_CSS_ARGUMENTS

u’’

COMPRESS_CLEAN_CSS_BINARY

u’cleancss’

COMPRESS_CLOSURE_COMPILER_ARGUMENTS

u’’

COMPRESS_CLOSURE_COMPILER_BINARY

u’java -jar compiler.jar’

COMPRESS_CSS_COMPRESSOR

u’compressor.css.CssCompressor’

COMPRESS_CSS_FILTERS

[‘compressor.filters.css_default.CssAbsoluteFilter’,
‘compressor.filters.cssmin.CSSMinFilter’]

COMPRESS_CSS_HASHING_METHOD

‘content’

COMPRESS_DATA_URI_MAX_SIZE

1024

COMPRESS_DEBUG_TOGGLE

‘nocompress’

COMPRESS_ENABLED

False

COMPRESS_JINJA2_GET_ENVIRONMENT

<function JINJA2_GET_ENVIRONMENT at 0xb583f770>

COMPRESS_JS_COMPRESSOR

u’compressor.js.JsCompressor’

COMPRESS_JS_FILTERS

[u’compressor.filters.jsmin.JSMinFilter’]

COMPRESS_MINT_DELAY

30

COMPRESS_MTIME_DELAY

10

COMPRESS_OFFLINE

False

COMPRESS_OFFLINE_CONTEXT

{u’STATIC_URL’: ‘/media/assets/’}

COMPRESS_OFFLINE_MANIFEST

u’manifest.json’

COMPRESS_OFFLINE_TIMEOUT

31536000

COMPRESS_OUTPUT_DIR

u’CACHE’

COMPRESS_PARSER

u’compressor.parser.AutoSelectParser’

COMPRESS_PRECOMPILERS

()

COMPRESS_REBUILD_TIMEOUT

2592000

COMPRESS_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/media’

COMPRESS_STORAGE

u’compressor.storage.CompressorFileStorage’

COMPRESS_TEMPLATE_FILTER_CONTEXT

{u’STATIC_URL’: ‘/media/assets/’}

COMPRESS_URL

‘/media/’

COMPRESS_URL_PLACEHOLDER

u’/compressor_url_placeholder/’

COMPRESS_VERBOSE

False

COMPRESS_YUGLIFY_BINARY

u’yuglify’

COMPRESS_YUGLIFY_CSS_ARGUMENTS

u’–terminal’

COMPRESS_YUGLIFY_JS_ARGUMENTS

u’–terminal’

COMPRESS_YUI_BINARY

u’java -jar yuicompressor.jar’

COMPRESS_YUI_CSS_ARGUMENTS

u’’

COMPRESS_YUI_JS_ARGUMENTS

u’’

CONSTANCE_BACKEND

‘constance.backends.database.DatabaseBackend’

CONSTANCE_CONFIG

{‘ACTIVATE_AFTER_REGISTRATION’: (True, ‘’),
‘CUSTOM_CSS’: (’’, ‘’),
‘DISABLE_SYNC_WITH_ANY_FOLDER’: (False, ‘’),
‘ENABLE_BRANDING_CSS’: (False, ‘’),
‘ENABLE_ENCRYPTED_LIBRARY’: (True, ‘’),
‘ENABLE_REPO_HISTORY_SETTING’: (True, ‘’),
‘ENABLE_SHARE_TO_ALL_GROUPS’: (False, ‘’),
‘ENABLE_SIGNUP’: (False, ‘’),
‘ENABLE_TERMS_AND_CONDITIONS’: (False, ‘’),
‘ENABLE_TWO_FACTOR_AUTH’: (False, ‘’),
‘ENABLE_USER_CLEAN_TRASH’: (True, ‘’),
‘ENABLE_USER_CREATE_ORG_REPO’: (True, ‘’),
‘FILE_SERVER_ROOT’: (‘http://serverhost:8082’, ‘’),
‘FORCE_PASSWORD_CHANGE’: u’’,
‘FREEZE_USER_ON_LOGIN_FAILED’: (False, ‘’),
‘LOGIN_ATTEMPT_LIMIT’: (5, ‘’),
‘LOGIN_REMEMBER_DAYS’: (7, ‘’),
‘REGISTRATION_SEND_MAIL’: (False, ‘’),
‘REPO_PASSWORD_MIN_LENGTH’: u’
’,
‘SERVICE_URL’: (‘http://serverhost:8000’, ‘’),
‘SHARE_LINK_PASSWORD_MIN_LENGTH’: u’’,
‘SHARE_LINK_TOKEN_LENGTH’: u’
’,
‘SITE_NAME’: (‘Seafile’, ‘’),
‘SITE_TITLE’: (‘Private Seafile’, ‘’),
‘TEXT_PREVIEW_EXT’: (‘ac, am, bat, c, cc, cmake, cpp, cs, css, diff, el, h, html, htm, java, js, json, less, make, org, php, pl, properties, py, rb, scala, script, sh, sql, txt, text, tex, vi, vim, xhtml, xml, log, csv, groovy, rst, patch, go’,
‘’),
‘USER_PASSWORD_MIN_LENGTH’: u’’,
‘USER_PASSWORD_STRENGTH_LEVEL’: u’
’,
‘USER_STRONG_PASSWORD_REQUIRED’: u’********************’}

CONSTANCE_DATABASE_CACHE_BACKEND

‘default’

CONSTANCE_ENABLED

True

CSRF_COOKIE_AGE

31449600

CSRF_COOKIE_DOMAIN

None

CSRF_COOKIE_HTTPONLY

False

CSRF_COOKIE_NAME

‘sfcsrftoken’

CSRF_COOKIE_PATH

u’/’

CSRF_COOKIE_SECURE

False

CSRF_FAILURE_VIEW

u’django.views.csrf.csrf_failure’

CSRF_HEADER_NAME

u’HTTP_X_CSRFTOKEN’

CSRF_TRUSTED_ORIGINS

[]

CSRF_USE_SESSIONS

False

CUSTOM_FAVICON_PATH

‘custom/favicon.ico’

CUSTOM_LOGO_PATH

‘custom/mylogo.png’

DATABASES

{‘default’: {‘ATOMIC_REQUESTS’: False,
‘AUTOCOMMIT’: True,
‘CONN_MAX_AGE’: 0,
‘ENGINE’: ‘django.db.backends.sqlite3’,
‘HOST’: ‘’,
‘NAME’: ‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/…/…/seahub.db’,
‘OPTIONS’: {},
‘PASSWORD’: u’********************’,
‘PORT’: ‘’,
‘TEST’: {‘CHARSET’: None,
‘COLLATION’: None,
‘MIRROR’: None,
‘NAME’: None},
‘TIME_ZONE’: None,
‘USER’: ‘’}}

DATABASE_ROUTERS

[]

DATA_UPLOAD_MAX_MEMORY_SIZE

2621440

DATA_UPLOAD_MAX_NUMBER_FIELDS

1000

DATETIME_FORMAT

u’N j, Y, P’

DATETIME_INPUT_FORMATS

[u’%Y-%m-%d %H:%M:%S’, u’%Y-%m-%d %H:%M:%S.%f’, u’%Y-%m-%d %H:%M’, u’%Y-%m-%d’, u’%m/%d/%Y %H:%M:%S’, u’%m/%d/%Y %H:%M:%S.%f’, u’%m/%d/%Y %H:%M’, u’%m/%d/%Y’, u’%m/%d/%y %H:%M:%S’, u’%m/%d/%y %H:%M:%S.%f’, u’%m/%d/%y %H:%M’, u’%m/%d/%y’]

DATE_FORMAT

u’N j, Y’

DATE_INPUT_FORMATS

[u’%Y-%m-%d’, u’%m/%d/%Y’, u’%m/%d/%y’, u’%b %d %Y’, u’%b %d, %Y’, u’%d %b %Y’, u’%d %b, %Y’, u’%B %d %Y’, u’%B %d, %Y’, u’%d %B %Y’, u’%d %B, %Y’]

DEBUG

True

DEBUG_PROPAGATE_EXCEPTIONS

False

DECIMAL_SEPARATOR

u’.’

DEFAULT_CHARSET

u’utf-8’

DEFAULT_CONTENT_TYPE

u’text/html’

DEFAULT_EXCEPTION_REPORTER_FILTER

u’django.views.debug.SafeExceptionReporterFilter’

DEFAULT_FILE_STORAGE

u’django.core.files.storage.FileSystemStorage’

DEFAULT_FROM_EMAIL

u’webmaster@localhost’

DEFAULT_INDEX_TABLESPACE

u’’

DEFAULT_TABLESPACE

u’’

DISABLE_SYNC_WITH_ANY_FOLDER

False

DISALLOWED_USER_AGENTS

[]

EMAIL_BACKEND

u’django.core.mail.backends.smtp.EmailBackend’

EMAIL_HOST

u’localhost’

EMAIL_HOST_PASSWORD

u’********************’

EMAIL_HOST_USER

u’’

EMAIL_PORT

25

EMAIL_SSL_CERTFILE

None

EMAIL_SSL_KEYFILE

u’********************’

EMAIL_SUBJECT_PREFIX

u’[Django] ’

EMAIL_TIMEOUT

None

EMAIL_USE_LOCALTIME

False

EMAIL_USE_SSL

False

EMAIL_USE_TLS

False

ENABLE_ADDRESSBOOK_OPT_IN

False

ENABLE_BRANDING_CSS

False

ENABLE_CHANGE_PASSWORD

u’********************’

ENABLE_DEMO_USER

False

ENABLE_ENCRYPTED_LIBRARY

True

ENABLE_FILE_COMMENT

True

ENABLE_FOLDER_PERM

False

ENABLE_GLOBAL_ADDRESSBOOK

True

ENABLE_GROUP_DISCUSSION

True

ENABLE_GUEST_INVITATION

False

ENABLE_LIMIT_IPADDRESS

False

ENABLE_MAKE_GROUP_PUBLIC

False

ENABLE_OAUTH

False

ENABLE_REPO_HISTORY_SETTING

True

ENABLE_REPO_SNAPSHOT_LABEL

False

ENABLE_RESET_ENCRYPTED_REPO_PASSWORD

u’********************’

ENABLE_RESUMABLE_FILEUPLOAD

False

ENABLE_SEARCH_FROM_LDAP_DIRECTLY

False

ENABLE_SETTINGS_VIA_WEB

True

ENABLE_SHARE_LINK_AUDIT

False

ENABLE_SHARE_TO_ALL_GROUPS

False

ENABLE_SIGNUP

False

ENABLE_STORAGE_CLASSES

False

ENABLE_SUB_LIBRARY

True

ENABLE_SUDO_MODE

True

ENABLE_SYS_ADMIN_VIEW_REPO

False

ENABLE_TERMS_AND_CONDITIONS

False

ENABLE_THUMBNAIL

True

ENABLE_TWO_FACTOR_AUTH

False

ENABLE_UPLOAD_FOLDER

True

ENABLE_UPLOAD_LINK_VIRUS_CHECK

False

ENABLE_USER_CLEAN_TRASH

True

ENABLE_USER_CREATE_ORG_REPO

True

ENABLE_VIDEO_THUMBNAIL

False

ENABLE_WATERMARK

False

ENABLE_WIKI

False

FAVICON_PATH

‘img/favicon.ico’

FILESERVER_TOKEN_ONCE_ONLY

u’********************’

FILE_CHARSET

u’utf-8’

FILE_ENCODING_LIST

[‘auto’, ‘utf-8’, ‘gbk’, ‘ISO-8859-1’, ‘ISO-8859-5’]

FILE_ENCODING_TRY_LIST

[‘utf-8’, ‘gbk’]

FILE_LOCK_EXPIRATION_DAYS

0

FILE_PREVIEW_MAX_SIZE

31457280

FILE_SERVER_PORT

‘8082’

FILE_SERVER_ROOT

http://serverhost:8082

FILE_UPLOAD_DIRECTORY_PERMISSIONS

None

FILE_UPLOAD_HANDLERS

[u’django.core.files.uploadhandler.MemoryFileUploadHandler’, u’django.core.files.uploadhandler.TemporaryFileUploadHandler’]

FILE_UPLOAD_MAX_MEMORY_SIZE

2621440

FILE_UPLOAD_PERMISSIONS

None

FILE_UPLOAD_TEMP_DIR

None

FIRST_DAY_OF_WEEK

0

FIXTURE_DIRS

[]

FORCE_PASSWORD_CHANGE

u’********************’

FORCE_SCRIPT_NAME

None

FORMAT_MODULE_PATH

None

FORM_RENDERER

u’django.forms.renderers.DjangoTemplates’

FREEZE_USER_ON_LOGIN_FAILED

False

GET_FILE_HISTORY_TIMEOUT

600

GROUP_AVATAR_DEFAULT_URL

‘avatars/groups/default.png’

GROUP_AVATAR_STORAGE_DIR

‘avatars/groups’

HIGHLIGHT_KEYWORD

u’********************’

IGNORABLE_404_URLS

[]

INIT_PASSWD

u’********************’

INNER_FILE_SERVER_ROOT

http://127.0.0.1:8082

INSTALLED_APPS

(‘django.contrib.contenttypes’,
‘django.contrib.sessions’,
‘django.contrib.messages’,
‘django.contrib.staticfiles’,
‘seahub.base’,
‘django.contrib.auth’,
‘registration’,
‘captcha’,
‘compressor’,
‘statici18n’,
‘constance’,
‘constance.backends.database’,
‘post_office’,
‘termsandconditions’,
‘webpack_loader’,
‘seahub.api2’,
‘seahub.avatar’,
‘seahub.contacts’,
‘seahub.institutions’,
‘seahub.invitations’,
‘seahub.wiki’,
‘seahub.group’,
‘seahub.notifications’,
‘seahub.options’,
‘seahub.onlyoffice’,
‘seahub.profile’,
‘seahub.share’,
‘seahub.help’,
‘seahub.thumbnail’,
‘seahub.password_session’,
‘seahub.admin_log’,
‘seahub.wopi’,
‘seahub.tags’,
‘seahub.revision_tag’,
‘seahub.two_factor’,
‘seahub.role_permissions’,
‘seahub.trusted_ip’,
‘gunicorn’)

INTERNAL_IPS

[]

INVITATION_ACCEPTER_BLACKLIST

[]

LANGUAGES

((‘ca’, u’Catal\xe0’),
(‘cs’, u’\u010ce\u0161tina’),
(‘de’, ‘Deutsch’),
(‘en’, ‘English’),
(‘es’, ‘Espa\xc3\xb1ol’),
(‘es-ar’, ‘Espa\xc3\xb1ol de Argentina’),
(‘es-mx’, ‘Espa\xc3\xb1ol de M\xc3\xa9xico’),
(‘fr’, ‘Fran\xc3\xa7ais’),
(‘it’, ‘Italiano’),
(‘is’, ‘\xc3\x8dslenska’),
(‘lv’, ‘Latvian’),
(‘hu’, ‘Magyar’),
(‘nl’, ‘Nederlands’),
(‘pl’, ‘Polski’),
(‘pt-br’, ‘Portuguese, Brazil’),
(‘ru’, ‘\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9’),
(‘sl’, ‘Slovenian’),
(‘fi’, ‘Suomi’),
(‘sv’, ‘Svenska’),
(‘vi’, ‘Ti\xe1\xba\xbfng Vi\xe1\xbb\x87t’),
(‘tr’, ‘T\xc3\xbcrk\xc3\xa7e’),
(‘uk’,
‘\xd1\x83\xd0\xba\xd1\x80\xd0\xb0\xd1\x97\xd0\xbd\xd1\x81\xd1\x8c\xd0\xba\xd0\xb0 \xd0\xbc\xd0\xbe\xd0\xb2\xd0\xb0’),
(‘he’, ‘\xd7\xa2\xd7\x91\xd7\xa8\xd7\x99\xd7\xaa’),
(‘ar’, ‘\xd8\xa7\xd9\x84\xd8\xb9\xd8\xb1\xd8\xa8\xd9\x8a\xd8\xa9’),
(‘el’, ‘\xce\xb5\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac’),
(‘th’, ‘\xe0\xb9\x84\xe0\xb8\x97\xe0\xb8\xa2’),
(‘ko’, ‘\xed\x95\x9c\xea\xb5\xad\xec\x96\xb4’),
(‘ja’, ‘\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e’),
(‘zh-cn’, ‘\xe7\xae\x80\xe4\xbd\x93\xe4\xb8\xad\xe6\x96\x87’),
(‘zh-tw’, ‘\xe7\xb9\x81\xe9\xab\x94\xe4\xb8\xad\xe6\x96\x87’))

LANGUAGES_BIDI

[u’he’, u’ar’, u’fa’, u’ur’]

LANGUAGE_CODE

‘en’

LANGUAGE_COOKIE_AGE

None

LANGUAGE_COOKIE_DOMAIN

None

LANGUAGE_COOKIE_NAME

u’django_language’

LANGUAGE_COOKIE_PATH

u’/’

LICENSE_PATH

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/…/…/seafile-license.txt’

LOCALE_PATHS

(’/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/locale’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/seahub/trusted_ip/locale’)

LOGGING

{‘disable_existing_loggers’: False,
‘filters’: {‘require_debug_false’: {’()’: ‘django.utils.log.RequireDebugFalse’},
‘require_debug_true’: {’()’: ‘django.utils.log.RequireDebugTrue’}},
‘formatters’: {‘standard’: {‘format’: ‘%(asctime)s [%(levelname)s] %(name)s:%(lineno)s %(funcName)s %(message)s’}},
‘handlers’: {‘console’: {‘class’: ‘logging.StreamHandler’,
‘filters’: [‘require_debug_true’],
‘formatter’: ‘standard’,
‘level’: ‘DEBUG’},
‘default’: {‘backupCount’: 5,
‘class’: ‘logging.handlers.RotatingFileHandler’,
‘filename’: ‘/home/seafile/seacloud/logs/seahub.log’,
‘formatter’: ‘standard’,
‘level’: ‘INFO’,
‘maxBytes’: 104857600},
‘mail_admins’: {‘class’: ‘django.utils.log.AdminEmailHandler’,
‘filters’: [‘require_debug_false’],
‘level’: ‘ERROR’}},
‘loggers’: {’’: {‘handlers’: [‘default’],
‘level’: ‘INFO’,
‘propagate’: True},
‘django.request’: {‘handlers’: [‘default’, ‘mail_admins’],
‘level’: ‘INFO’,
‘propagate’: False},
‘py.warnings’: {‘handlers’: [‘console’],
‘level’: ‘INFO’,
‘propagate’: False}},
‘version’: 1}

LOGGING_CONFIG

u’logging.config.dictConfig’

LOGIN_ATTEMPT_LIMIT

5

LOGIN_ATTEMPT_TIMEOUT

900

LOGIN_BG_IMAGE_PATH

‘img/login-bg.jpg’

LOGIN_REDIRECT_URL

‘/profile/’

LOGIN_REMEMBER_DAYS

7

LOGIN_URL

‘/accounts/login/’

LOGOUT_REDIRECT_URL

None

LOGOUT_URL

‘/accounts/logout/’

LOGO_HEIGHT

32

LOGO_PATH

‘img/seafile-logo.png’

LOGO_WIDTH

128

LOG_DIR

‘/home/seafile/seacloud/logs’

MANAGERS

()

MAX_FILE_NAME

255

MAX_NUMBER_OF_FILES_FOR_FILEUPLOAD

1000

MAX_PATH

4096

MAX_UPLOAD_FILE_NAME_LEN

255

MEDIA_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/media/’

MEDIA_URL

‘/media/’

MESSAGE_STORAGE

u’django.contrib.messages.storage.fallback.FallbackStorage’

MIDDLEWARE

None

MIDDLEWARE_CLASSES

(‘django.contrib.sessions.middleware.SessionMiddleware’,
‘django.middleware.locale.LocaleMiddleware’,
‘django.middleware.common.CommonMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘seahub.auth.middleware.AuthenticationMiddleware’,
‘seahub.base.middleware.BaseMiddleware’,
‘seahub.base.middleware.InfobarMiddleware’,
‘seahub.password_session.middleware.CheckPasswordHash’,
‘seahub.base.middleware.ForcePasswdChangeMiddleware’,
‘seahub.base.middleware.UserPermissionMiddleware’,
‘termsandconditions.middleware.TermsAndConditionsRedirectMiddleware’,
‘seahub.two_factor.middleware.OTPMiddleware’,
‘seahub.trusted_ip.middleware.LimitIpMiddleware’)

MIGRATION_MODULES

{}

MONTH_DAY_FORMAT

u’F j’

NOTIFY_ADMIN_AFTER_REGISTRATION

False

NUMBER_GROUPING

0

OFFICE_TEMPLATE_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/media/office-template’

OTP_LOGIN_URL

‘/profile/two_factor_authentication/setup/’

PASSWORD_HASHERS

u’********************’

PASSWORD_RESET_TIMEOUT_DAYS

u’********************’

PREPEND_WWW

False

PROJECT_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…’

REGISTRATION_SEND_MAIL

False

REPLACE_FROM_EMAIL

False

REPO_PASSWORD_MIN_LENGTH

u’********************’

REQUIRE_DETAIL_ON_REGISTRATION

False

REST_FRAMEWORK

{‘DEFAULT_THROTTLE_RATES’: {‘anon’: ‘60/minute’,
‘ping’: ‘3000/minute’,
‘user’: ‘3000/minute’},
‘UNICODE_JSON’: False}

REST_FRAMEWORK_THROTTING_WHITELIST

[]

ROOT_URLCONF

‘seahub.utils.rooturl’

SEAFILE_COLLAB_SERVER

‘’

SEAFILE_VERSION

‘6.3.4’

SEAHUB_DATA_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/…/…/seahub-data’

SECRET_KEY

u’********************’

SECURE_BROWSER_XSS_FILTER

False

SECURE_CONTENT_TYPE_NOSNIFF

False

SECURE_HSTS_INCLUDE_SUBDOMAINS

False

SECURE_HSTS_PRELOAD

False

SECURE_HSTS_SECONDS

0

SECURE_PROXY_SSL_HEADER

None

SECURE_REDIRECT_EXEMPT

[]

SECURE_SSL_HOST

None

SECURE_SSL_REDIRECT

False

SEND_EMAIL_ON_ADDING_SYSTEM_MEMBER

True

SEND_EMAIL_ON_RESETTING_USER_PASSWD

u’********************’

SERVER_EMAIL

u’root@localhost’

SERVE_STATIC

True

SERVICE_URL

http://serverhost:8000

SESSION_CACHE_ALIAS

u’default’

SESSION_COOKIE_AGE

86400

SESSION_COOKIE_DOMAIN

None

SESSION_COOKIE_HTTPONLY

True

SESSION_COOKIE_NAME

u’sessionid’

SESSION_COOKIE_PATH

u’/’

SESSION_COOKIE_SECURE

False

SESSION_ENGINE

u’django.contrib.sessions.backends.db’

SESSION_EXPIRE_AT_BROWSER_CLOSE

False

SESSION_FILE_PATH

None

SESSION_SAVE_EVERY_REQUEST

False

SESSION_SERIALIZER

u’django.contrib.sessions.serializers.JSONSerializer’

SETTINGS_MODULE

‘seahub.settings’

SHARE_LINK_AUDIT_CODE_TIMEOUT

3600

SHARE_LINK_EMAIL_LANGUAGE

‘’

SHARE_LINK_EXPIRE_DAYS_MAX

0

SHARE_LINK_EXPIRE_DAYS_MIN

0

SHARE_LINK_LOGIN_REQUIRED

False

SHARE_LINK_PASSWORD_MIN_LENGTH

u’********************’

SHARE_LINK_TOKEN_LENGTH

u’********************’

SHORT_DATETIME_FORMAT

u’m/d/Y P’

SHORT_DATE_FORMAT

u’m/d/Y’

SHOW_LOGOUT_ICON

False

SHOW_REPO_DOWNLOAD_BUTTON

False

SHOW_TRAFFIC

True

SIGNING_BACKEND

u’django.core.signing.TimestampSigner’

SILENCED_SYSTEM_CHECKS

[]

SITE_ID

1

SITE_NAME

‘Seafile’

SITE_ROOT

‘/’

SITE_ROOT_URLCONF

‘seahub.urls’

SITE_TITLE

‘Private Seafile’

STATICFILES_DIRS

(’/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/static’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/frontend/build’)

STATICFILES_FINDERS

(‘django.contrib.staticfiles.finders.FileSystemFinder’,
‘django.contrib.staticfiles.finders.AppDirectoriesFinder’,
‘compressor.finders.CompressorFinder’)

STATICFILES_STORAGE

‘django.contrib.staticfiles.storage.ManifestStaticFilesStorage’

STATICI18N_DOMAIN

‘djangojs’

STATICI18N_FILENAME_FUNCTION

‘statici18n.utils.default_filename’

STATICI18N_NAMESPACE

None

STATICI18N_OUTPUT_DIR

‘i18n’

STATICI18N_PACKAGES

‘django.conf’

STATICI18N_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/static/scripts’

STATIC_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/media//assets/’

STATIC_URL

‘/media/assets/’

STORAGE_CLASS_MAPPING_POLICY

‘USER_SELECT’

TEMPLATES

[{‘APP_DIRS’: True,
‘BACKEND’: ‘django.template.backends.django.DjangoTemplates’,
‘DIRS’: [’/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/…/…/seahub-data/custom/templates’,
‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/seahub/templates’],
‘OPTIONS’: {‘context_processors’: [‘django.template.context_processors.i18n’,
‘django.template.context_processors.media’,
‘django.template.context_processors.static’,
‘django.template.context_processors.request’,
‘django.contrib.messages.context_processors.messages’,
‘seahub.auth.context_processors.auth’,
‘seahub.base.context_processors.base’,
‘seahub.base.context_processors.debug’]}}]

TEST_NON_SERIALIZED_APPS

[]

TEST_RUNNER

u’django.test.runner.DiscoverRunner’

TEXT_PREVIEW_EXT

‘ac, am, bat, c, cc, cmake, cpp, cs, css, diff, el, h, html, htm, java, js, json, less, make, org, php, pl, properties, py, rb, scala, script, sh, sql, txt, text, tex, vi, vim, xhtml, xml, log, csv, groovy, rst, patch, go’

THOUSAND_SEPARATOR

u’,’

THUMBNAIL_DEFAULT_SIZE

48

THUMBNAIL_EXTENSION

‘png’

THUMBNAIL_IMAGE_ORIGINAL_SIZE_LIMIT

256

THUMBNAIL_IMAGE_SIZE_LIMIT

30

THUMBNAIL_ROOT

‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/…/…/seahub-data/thumbnail’

THUMBNAIL_SIZE_FOR_GRID

192

THUMBNAIL_SIZE_FOR_ORIGINAL

1024

THUMBNAIL_VIDEO_FRAME_TIME

5

TIME_FORMAT

u’P’

TIME_INPUT_FORMATS

[u’%H:%M:%S’, u’%H:%M:%S.%f’, u’%H:%M’]

TIME_ZONE

‘UTC’

TRUSTED_IP_LIST

[‘127.0.0.1’]

TWO_FACTOR_DEVICE_REMEMBER_DAYS

90

UNREAD_NOTIFICATIONS_REQUEST_INTERVAL

180

USER_PASSWORD_MIN_LENGTH

u’********************’

USER_PASSWORD_STRENGTH_LEVEL

u’********************’

USER_STRONG_PASSWORD_REQUIRED

u’********************’

USE_ETAGS

False

USE_I18N

True

USE_L10N

True

USE_THOUSAND_SEPARATOR

False

USE_TZ

False

USE_X_FORWARDED_HOST

False

USE_X_FORWARDED_PORT

False

WEBPACK_LOADER

{‘DEFAULT’: {‘BUNDLE_DIR_NAME’: ‘frontend/’,
‘STATS_FILE’: ‘/home/seafile/seacloud/seafile-server-6.3.4/seahub/seahub/…/frontend/webpack-stats.pro.json’}}

WSGI_APPLICATION

‘seahub.wsgi.application’

X_FRAME_OPTIONS

u’SAMEORIGIN’

YEAR_MONTH_FORMAT

u’F Y’

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.


#5

Where are these .pyc files located?


#6

yust search *.pyc in seafile subdirectories


#7

Ooops… looks like I had a mistake in my search query earlier. Thanks!

I shut down seafile, deleted all pyc files, and restarted. Unfortunately, I get the same error message and no other details in the logs. How can I get more information about what is going wrong?


Seahub failed to start. No error log genrated
#8

@iffiffuw
I got mine working. See my post in this thread:

Thanks @Ludger for your help. I’m not sure exactly if the pyc files were the problem, but you helped me with my diagnostics!


#9

Hi,
that’s nice, that it’s working on your system again.
I’m still struggling trying to understand what all your steps mean in detail.

  • Deleting all .pyc files --> okay, done that
  • Correct user: yes all seafile stuff is owned by seafile user. How do i check the thing about the logs?
  • What “extra packages” should I remove from the pyhton 2.7 dist-packages without doing damage to the rest of the system?
  • I cannot find any seafile related files under /tmp, is that normal? I tried “find . ‘*seafile*’”, is that enough?

Thanks in advance!