安装完成后不显示头像,上传头像页面报错,求解。

请大家帮我看下是什么问题?

上传头像就报错。

seahub-data 的权限是777但是还是出现打不开的情况

上传 logs/seahub_django_request.log 日志看看

目测是python的插件缺少

2017-06-19 10:33:04,609 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:33:04,754 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:33:08,808 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:37:00,782 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:37:01,779 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:44:27,827 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:45:33,686 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:45:38,583 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:45:40,027 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:45:46,619 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:45:50,922 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:45:54,116 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:12,169 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:12,822 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:20,696 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:28,685 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:29,030 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:37,007 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:45,714 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:47,842 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:46:54,822 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:47:05,660 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:47:06,181 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:50:49,121 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:50:49,666 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:50:52,883 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:50:53,406 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 10:50:55,978 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 11:09:46,438 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 11:09:48,883 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 11:09:49,520 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 11:32:48,248 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 11:32:49,002 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 12:29:01,422 [WARNING] django.request:170 get_response Not Found: /cache/global/img/gs.gif
2017-06-19 14:57:37,169 [WARNING] django.request:170 get_response Not Found: /cache/global/img/gs.gif
2017-06-19 15:03:18,538 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 15:03:20,583 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 15:03:23,826 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 15:06:34,720 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/8’
2017-06-19 15:06:34,971 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-06-19 15:06:41,907 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 15:06:45,149 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/8’
2017-06-19 15:06:47,401 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 15:06:54,509 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-19 15:06:55,435 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:02:51,580 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:02:52,363 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:03:28,111 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:03:31,011 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:04:44,242 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:04:44,804 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:05:24,204 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:05:46,600 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/8’
2017-06-20 03:05:46,782 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-06-20 03:05:51,211 [WARNING] django.request:170 get_response Not Found: /avatar/add/
2017-06-20 03:05:51,338 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:05:53,972 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:05:54,965 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:06:04,315 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:06:04,974 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:06:17,096 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:06:17,525 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:37,492 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:37,877 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:42,057 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:47,351 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:47,891 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:50,980 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:52,483 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:56,016 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:09:57,183 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:10:21,872 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:10:27,145 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:10:28,785 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:10:37,682 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:10:55,887 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:10:59,621 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:11:06,460 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:11:09,205 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:11:26,225 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:11:27,377 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:11:33,330 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:11:35,660 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:10,936 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:11,365 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:25,663 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:26,341 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:29,706 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:35,046 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/8’
2017-06-20 03:12:38,319 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:12:38,706 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:13:20,756 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:14:21,185 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:14:22,935 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:21:38,246 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:21:38,710 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:21:48,740 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:21:49,788 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:21:51,097 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:21:52,928 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:22:43,767 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:22:47,360 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:22:47,905 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:22:57,247 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:23:03,597 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:23:03,849 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:23:05,312 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:23:08,602 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:23:13,227 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/8’
2017-06-20 03:23:13,298 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-06-20 03:28:29,155 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:30:25,188 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:30:27,244 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:42:54,912 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:42:56,559 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:01,144 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:02,501 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:10,842 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:46,821 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:47,765 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:56,628 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:57,815 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:43:58,418 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:44:00,528 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:44:01,689 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:44:02,959 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:46:43,967 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:47:00,905 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/2’
2017-06-20 03:47:01,676 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-06-20 03:58:39,288 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:58:40,585 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:58:41,632 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:58:42,280 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:58:43,105 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 03:58:44,257 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:03:07,283 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:03:20,195 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:03:27,157 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.css.map
2017-06-20 04:08:11,848 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.css.map
2017-06-20 04:08:34,184 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:34,446 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:39,530 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:39,675 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:46,082 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:46,214 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:47,252 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:08:47,370 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:17:25,681 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:17:25,853 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:32:45,900 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:32:46,579 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.css.map
2017-06-20 04:32:48,188 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:32:48,932 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.css.map
2017-06-20 04:32:49,421 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:32:50,072 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.css.map
2017-06-20 04:32:57,307 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/2’
2017-06-20 04:33:06,071 [WARNING] django.request:170 get_response Not Found: /avatar
2017-06-20 04:33:06,300 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:33:06,820 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.css.map
2017-06-20 04:37:01,817 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:37:02,829 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:42:21,113 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:42:21,332 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:42:25,206 [WARNING] django.request:170 get_response Not Found: /media/avatars/
2017-06-20 04:42:25,328 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:42:58,967 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:43:00,672 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:47:43,276 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:47:44,789 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:47:59,931 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:48:10,830 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.1.1/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/db/models/fields/files.py”, line 93, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 63, in save
name = self._save(name, content)
File “/opt/seafile/seafile-server-6.1.1/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/files/storage.py”, line 222, in _save
os.makedirs(directory)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/2’
2017-06-20 04:48:11,618 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-06-20 04:51:28,485 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:51:30,018 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:51:34,265 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:51:34,999 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:57:27,507 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 04:59:48,141 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png
2017-06-20 05:00:08,561 [WARNING] django.request:170 get_response Not Found: /media/avatars/default.png

检查下这个目录seafile的启动用户有没有可写权限吧。

上面截图了是777呀

你上面图片的是 seahub-data 我上面写的是

/opt/seafile/seafile-server-6.1.1/seahub/media/avatars/2

不是一个路径啊

最好检查下 /opt/seafile/ 这里的权限

这两个好像是关联的?
为什么cd进去提示没有这个文件夹呢?

这个是软连接 你移动过里面的文件夹 导致软连接失效了 重建软连接问题就修复了。

这个链接是指向seahub-data 的 seahub-sata 下的avatar 也是cd不进去 提示没有该文件,现在应该是怎么办?两个删除重建?

直接进到这个目录下。

然后 mkdir -p …/…/…/seahub-data/avatars

这样是不是就丢失了以前的默认头像 我随便找个替换下就ok把?

那么你就把以前移动到文件夹移回去啊 你改了什么只有你自己知道

这个我接手的时候就这样了- - 不是我搭的- - 谢谢了哟~