What a Community; Here I am appealing for your help.
I have installed the seafile with the following:
Seafile: 6.3.4
Centos: 7.6
Apache: 2.4.39
MariaDB: 10.3
1 hard drive: sda: 50Gb; /
1 sdb hard drive: 500Gb; / var
Installation path:
seafile: / opt / seafile
seafile-data: / var / seafile-data
seahub-data: / var / seahub-data
Everything is fine and working; but the avatar image of the account does not appear as if the link to the image was broken.
In the log seahub.log:
2019-05-16 19:29:46,453 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /avatar/add/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-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-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-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-server-6.3.4/seahub/seahub/auth/decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/avatar/views.py”, line 76, in add
avatar.avatar.save(image_file.name, image_file)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/django/db/models/fields/files.py”, line 94, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/django/core/files/storage.py”, line 54, in save
return self._save(name, content)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/django/core/files/storage.py”, line 321, in _save
os.makedirs(directory)
File “/usr/lib64/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib64/python2.7/os.py”, line 150, in makedirs
makedirs(head, mode)
File “/usr/lib64/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
And when I want to change the avatar of the account I get this error in the seahub.log:
OSError: [Errno 2] No such file or directory: ‘/opt/seafile/seafile-server-6.3.4/seahub/media/avatars/e’
I hope you can guide me what I could do to solve it.
Thank you in advance for your support.