Thanks for your reply!
I checked the service file and that one does not seem to be the problem as it always points to the current seafile folder:
ExecStart=/home/seafile/seafile/seafile-server-latest/seafile.sh start
ExecStop=/home/seafile/seafile/seafile-server-latest/seafile.sh stop
The script seem to have updated the symbolic link correctly:
seafile@seafile:~/seafile$ ls -al | grep ‘seafile-server-latest’
lrwxrwxrwx 1 seafile seafile 24 Aug 10 16:15 seafile-server-latest -> seafile-pro-server-7.1.6
I then checked the log files and I found some errors in the seahub.log file indeed:
2020-08-10 14:20:05,279 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 30, in sendall
n = fd.send(data[offset:])
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 244, in _legacy_get_response
response = middleware_method(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 33, in process_request
if request.user.is_authenticated() and not request.user.is_active:
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 23, in __get__
request._cached_user = get_user(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/__init__.py", line 120, in get_user
user = backend.get_user(username) or AnonymousUser()
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub-extra/seahub_extra/django_cas_ng/backends.py", line 26, in get_user
user = User.objects.get(email=username)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/base/accounts.py", line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/client.py", line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 101, in call_remote_func_sync
ret_str = transport.send(self.service_name, fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 62, in send
sendall(self.pipe, header)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 32, in sendall
raise NetworkError('Failed to write to socket: %s' % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
2020-08-10 14:20:05,535 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-08-10 14:20:06,078 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:06,078 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:06,746 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:06,746 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:07,323 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:07,324 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:07,864 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:07,865 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:08,312 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 30, in sendall
n = fd.send(data[offset:])
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 244, in _legacy_get_response
response = middleware_method(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 33, in process_request
if request.user.is_authenticated() and not request.user.is_active:
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 23, in __get__
request._cached_user = get_user(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/__init__.py", line 120, in get_user
user = backend.get_user(username) or AnonymousUser()
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub-extra/seahub_extra/django_cas_ng/backends.py", line 26, in get_user
user = User.objects.get(email=username)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/base/accounts.py", line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/client.py", line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 101, in call_remote_func_sync
ret_str = transport.send(self.service_name, fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 62, in send
sendall(self.pipe, header)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 32, in sendall
raise NetworkError('Failed to write to socket: %s' % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
2020-08-10 14:20:08,407 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-08-10 14:20:09,443 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 30, in sendall
n = fd.send(data[offset:])
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 244, in _legacy_get_response
response = middleware_method(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 33, in process_request
if request.user.is_authenticated() and not request.user.is_active:
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 23, in __get__
request._cached_user = get_user(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/__init__.py", line 120, in get_user
user = backend.get_user(username) or AnonymousUser()
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub-extra/seahub_extra/django_cas_ng/backends.py", line 26, in get_user
user = User.objects.get(email=username)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/base/accounts.py", line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/client.py", line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 101, in call_remote_func_sync
ret_str = transport.send(self.service_name, fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 62, in send
sendall(self.pipe, header)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 32, in sendall
raise NetworkError('Failed to write to socket: %s' % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
2020-08-10 14:20:09,558 [WARNING] django.request:152 get_response Not Found: /favicon.ico
2020-08-10 14:20:10,109 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:10,109 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:10,678 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:10,679 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:11,201 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 30, in sendall
n = fd.send(data[offset:])
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 244, in _legacy_get_response
response = middleware_method(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 33, in process_request
if request.user.is_authenticated() and not request.user.is_active:
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 23, in __get__
request._cached_user = get_user(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/__init__.py", line 120, in get_user
user = backend.get_user(username) or AnonymousUser()
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub-extra/seahub_extra/django_cas_ng/backends.py", line 26, in get_user
user = User.objects.get(email=username)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/base/accounts.py", line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/client.py", line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 101, in call_remote_func_sync
ret_str = transport.send(self.service_name, fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 62, in send
sendall(self.pipe, header)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 32, in sendall
raise NetworkError('Failed to write to socket: %s' % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
2020-08-10 14:20:11,282 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /favicon.ico
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 30, in sendall
n = fd.send(data[offset:])
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 244, in _legacy_get_response
response = middleware_method(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 33, in process_request
if request.user.is_authenticated() and not request.user.is_active:
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/middleware.py", line 23, in __get__
request._cached_user = get_user(request)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/auth/__init__.py", line 120, in get_user
user = backend.get_user(username) or AnonymousUser()
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub-extra/seahub_extra/django_cas_ng/backends.py", line 26, in get_user
user = User.objects.get(email=username)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seahub/seahub/base/accounts.py", line 95, in get
emailuser = ccnet_threaded_rpc.get_emailuser(email)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/client.py", line 126, in newfunc
ret_str = self.call_remote_func_sync(fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 101, in call_remote_func_sync
ret_str = transport.send(self.service_name, fcall_str)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/named_pipe.py", line 62, in send
sendall(self.pipe, header)
File "/home/seafile/seafile/seafile-pro-server-7.1.4/seafile/lib/python3.6/site-packages/pysearpc/utils.py", line 32, in sendall
raise NetworkError('Failed to write to socket: %s' % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
2020-08-10 14:20:11,741 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:11,741 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:12,163 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:12,163 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:12,559 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:12,560 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:12,988 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:12,988 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:13,388 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:13,389 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:13,815 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:13,815 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:14,184 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:14,184 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:14,587 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:14,587 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:14,958 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:14,958 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:15,376 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:15,376 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:15,761 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:15,761 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:16,161 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:16,161 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:16,583 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:16,583 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:17,000 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:17,000 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:17,385 [ERROR] seahub.views:1132 react_fake_view [Errno 111] Connection refused
2020-08-10 14:20:17,385 [ERROR] seahub.views:1140 react_fake_view [Errno 111] Connection refused
These errors get written to the log file when the service is started.
There seem to be references to the old version 7.1.4 as in some log file lines “/home/seafile/seafile/seafile-pro-server-7.1.4” is in the file path.
I can’t understand why this is the case because like I said in the original post: updates in the past always succeeded.
Any hints on how to fix the old reference would be greatly appreciated.
Thanks!
Best regards