It just happened again. The seafile client says “Error: Failed to write data on the client. Please check disk space or folder permissions.” seaf-fsck.sh says it successfully restored the repo to a prior commit, but the repo is still damaged. This is a significant problem.
seaf-gc.sh output is as follows:
Commit xxxxx is missing
Repo xxxxx is damaged, skip GC.
seaf-fsck.sh output is as follows:
Find available commit xxxxx(created at 2022-01-21 16:49:12) for repo xxxxx.
Checking file system integrity of repo bklf(xxxxx)…
Update repo xxxxx status to commit xxxxx.
Fsck finished for repo xxxxx.
seafevents.log displays the following around the time the library stopped syncing:
[2022-01-21 16:49:13,551] [ERROR] error when handle msg: 'NoneType' object has no attribute 'repo_name'
Traceback (most recent call last):
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/seafevents/app/mq_handler.py", line 49, in handle_message
func(session, msg)
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/seafevents/events/handlers.py", line 82, in RepoUpdateEventHandler
records = generate_activity_records(added_files, deleted_files,
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/seafevents/events/handlers.py", line 162, in generate_activity_records
'repo_name': repo.repo_name
AttributeError: 'NoneType' object has no attribute 'repo_name'
index.log has been spamming me with the following message since December 29 (the date I updated to Seafile Pro version 9.0.3):
01/21/2022 17:13:40 [WARNING] seafes:110 thread_task: Request Error: RequestError(400, 'invalid_type_name_exception', "Document mapping type name can't start with '_', found: [_update]")
Traceback (most recent call last):
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/seafes/index_local.py", line 105, in thread_task
self.fileindexupdater.update_repo(repo_id, commit_id)
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/seafes/file_index_updater.py", line 89, in update_repo
self.status_index.begin_update_repo(repo_id, old, new)
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/seafes/indexes/repo_status.py", line 108, in begin_update_repo
self.es.update(index=self.INDEX_NAME, id=repo_id, body=dict(doc=doc))
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/elasticsearch/client/utils.py", line 347, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/elasticsearch/client/__init__.py", line 2101, in update
return self.transport.perform_request(
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/elasticsearch/transport.py", line 466, in perform_request
raise e
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/elasticsearch/transport.py", line 427, in perform_request
status, headers_response, data = connection.perform_request(
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/elasticsearch/connection/http_urllib3.py", line 291, in perform_request
self._raise_error(response.status, raw_data)
File "/opt/seafile/seafile-pro-server-9.0.3/pro/python/elasticsearch/connection/base.py", line 328, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.RequestError: RequestError(400, 'invalid_type_name_exception', "Document mapping type name can't start with '_', found: [_update]")