Seafile server not working after installation on windows

Hi,

I just downloaded the archive and run the bat file, selected a drive and created an admin account.
Than I accessed the webseite and logged in with my new admin account. After that there was the red word error on the side. I wasn’t able to create a library as well.
I tried the same on different drives and with admin execution of the run .bat. But no success. What is wrong?

https://manual.seafile.com/

1 Like

Ahaha…
Does someone can read something out of my log file?
2018-10-22 21:01:29,586 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/js/jquery-1.12.1.min.js
Traceback (most recent call last):
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 108, in get_response
response = middleware_method(request)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 66, in process_request
cur_note = cache.get(‘CUR_TOPINFO’) if cache.get(‘CUR_TOPINFO’) else
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 41, in get
if not self._is_expired(f):
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 141, in _is_expired
self._delete(f.name)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 72, in delete
os.remove(fname)
WindowsError: [Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: ‘H:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2018-10-22 21:01:58,946 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/assets/scripts/lib/require.640929dac3c2.js
Traceback (most recent call last):
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 108, in get_response
response = middleware_method(request)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 67, in process_request
self.get_from_db()
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 51, in get_from_db
refresh_cache()
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\notifications\utils.py”, line 11, in refresh_cache
NOTIFICATION_CACHE_TIMEOUT)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 59, in set
file_move_safe(tmp_path, fname, allow_overwrite=True)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\files\move.py”, line 70, in file_move_safe
copystat(old_file_name, new_file_name)
File “C:\Program Files (x86)\python2.7\lib\shutil.py”, line 98, in copystat
os.utime(dst, (st.st_atime, st.st_mtime))
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: ‘H:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2018-10-22 21:01:58,946 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/assets/scripts/i18n/de/djangojs.js
Traceback (most recent call last):
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 108, in get_response
response = middleware_method(request)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 67, in process_request
self.get_from_db()
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 51, in get_from_db
refresh_cache()
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\notifications\utils.py”, line 11, in refresh_cache
NOTIFICATION_CACHE_TIMEOUT)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 59, in set
file_move_safe(tmp_path, fname, allow_overwrite=True)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\files\move.py”, line 70, in file_move_safe
copystat(old_file_name, new_file_name)
File “C:\Program Files (x86)\python2.7\lib\shutil.py”, line 98, in copystat
os.utime(dst, (st.st_atime, st.st_mtime))
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: ‘H:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2018-10-22 21:04:55,887 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\decorators\csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\generic\base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\api2\base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\api2\base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\api2\views.py”, line 440, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\seahub\base\templatetags\seahub_tags.py”, line 308, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File "C:\Users\MyUsername\Downloads\seafile-server_6.0.7_win32\seafile-server-6.0.7\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init
.py", line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’