Problem with Seafile integration

Document Server version: documentserver:7.0 (docker)
OS: Debian

Hello, i’ve got some strange behavior in Seafile and OnlyOffice intergartion i never met before. I can normally edit new-created doceument in OnlyOffice, but after i saved it and try to reopen i got error “Document can’t be saved” and “Document can’t be load” then.

I’ve found that strange recors in logs

This is the first time i opened document

2022-06-28 16:56:27,542 [INFO] onlyoffice:133 onlyoffice_editor_callback status 6: get doc_info {'username': 'admin@domain.tech', 'repo_id': 'c7242d33-56bb-4db3-b0a2-3e29dda3a76e', 'file_path': '/newFile.xlsx'} from database by doc_key 595ffca854de12a5f6dc
2022-06-28 16:56:39,972 [INFO] onlyoffice:133 onlyoffice_editor_callback status 2: get doc_info {'username': 'admin@domain.tech', 'repo_id': 'c7242d33-56bb-4db3-b0a2-3e29dda3a76e', 'file_path': '/newFile.xlsx'} from database by doc_key 595ffca854de12a5f6dc
2022-06-28 16:56:39,979 [INFO] onlyoffice:173 onlyoffice_editor_callback status 2: delete doc_key 595ffca854de12a5f6dc from database

And this is i try to reopen

2022-06-28 16:56:59,822 [ERROR] onlyoffice:102 onlyoffice_editor_callback status 1: can not get doc_info from database by doc_key 595ffca854de12a5f6dc
2022-06-28 16:56:59,822 [INFO] onlyoffice:108 onlyoffice_editor_callback {'key': '595ffca854de12a5f6dc', 'status': 1, 'users': ['admin@domain.tech'], 'actions': [{'type': 1, 'userid': 'admin@domain.tech'}]}
2022-06-28 16:57:06,597 [ERROR] onlyoffice:102 onlyoffice_editor_callback status 4: can not get doc_info from database by doc_key 595ffca854de12a5f6dc

Is it normal behavior? I saw, that OO delete doc_key from it’s database, then it can’t find the same doc_key.
Thamnks

Hello @Deniska
Please provide us with general information about your installation:

  1. exact server OS
  2. version of Seafile
  3. Point us to the guide which you used for Document server installation.

A few more things. Please note that we recently released DSv.7.1.1 which contains fixes for known bugs. We recommend to update Document server timely. Could you please try to update your Document server and double-check the issue?
If it doesn’t help, please reproduce the issue (you can record a videofile) and provide us with whole Document server logs folder. It’s located here:
docker: /app/onlyoffice/DocumentServer/logs/documentserver/
deb\rpm: /var/log/onlyoffice/documentserver/
Windows: Program Files\ONLYOFFICE\DocumentServer\log

Thanks a lot for reply. It’s seems to me, that there is some my stupid error like typo or else. I made installation of Seafile and OnlyOffice from scratch and it’s works fine.

1 Like