Error: any update of data is unavailable

Hello!

We use Seafile Commumity edition during 2016 year.
Now we have a large problem - we cann’t modify any data.

  1. If we upload new file from browser - it hangs up at 0%.
  2. If we run Seafile Client - it wrote “Uploading… 0%” and it hangs.
  3. If we update txt file during online editing - we can save only very small text (for example, “aaaaa”), but couldn’t update any long text.

We have Ubuntu 16.04 as server OS.
We have enough space on HDD.
We try to update Seafile to last version (successful).
We try to reinstall OS - and start old Seafile app.
We DONT try reinstall Seafile, because we not found any info about export-import database.

There are no error messages in system log. No answer from server by HTTP for AJAX updating request.
We usually use Nginx at front, but we try access directly - no positive effect.
It looks and feels as database corruption, or python app strange behaviour (for example, because some standard packages may be updated),

You can check the client’s seafile.log when it hangs.

I would think of something in your nginx config (as client_max_body_size and proxy_read_timeout is not right) or you could also try to run fsck to check if the library is corrupted: https://manual.seafile.com/maintain/seafile_fsck.html (Maybe first without the repair command).

Hello, dear collegues!

It’s not Nginx - we try direct access! And there are no any error messages at Nginx logs.
!!! Nginx not break request as “gateway timeout”, because (as we look and feel) Seafile server app began answer, but hung on it step.

We use FSCK - but that’s ok.

And it is log from client, seafile.log. We change at this post :// to :::: (because limitation of this forum).

[01/10/17 20:10:04] seaf-daemon.c(548): starting seafile client 6.0.1
[01/10/17 20:10:04] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[01/10/17 20:10:04] repo-mgr.c(768): Failed to access worktree /media/user/data/seafile/Seafile/SB Wiki for repo ‘SB Wiki’(37cacea8)
[01/10/17 20:10:04] repo-mgr.c(7122): Worktree for repo “SB Wiki” is invalid, but still keep it.
[01/10/17 20:10:06] …/common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seafile.heartbeat
[01/10/17 20:10:17] sync-mgr.c(660): Repo ‘Web-студия’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:10:04] repo-mgr.c(768): Failed to access worktree /media/user/data/seafile/Seafile/SB Wiki for repo ‘SB Wiki’(37cacea8)
[01/10/17 20:10:04] repo-mgr.c(7122): Worktree for repo “SB Wiki” is invalid, but still keep it.

[01/10/17 20:10:56] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:10:56] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)

[01/10/17 20:10:57] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:10:57] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:10:57] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)

[01/10/17 20:10:57] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:10:57] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)

[01/10/17 20:10:58] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:10:58] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:10:58] repo-mgr.c(3592): All events are processed for repo 1a9fbf78-ec66-4609-8beb-4e2bd1abe9ab.

[01/10/17 20:10:58] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:10:58] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:10:59] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:10:59] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:10:04] repo-mgr.c(768): Failed to access worktree /media/user/data/seafile/Seafile/SB Wiki for repo ‘SB Wiki’(37cacea8)
[01/10/17 20:10:59] sync-mgr.c(660): Repo ‘Автоматизированная система’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:10:59] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:10:59] http-tx-mgr.c(1012): Transfer repo ‘b09d1027’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:11:00] http-tx-mgr.c(1012): Transfer repo ‘b09d1027’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:11:00] http-tx-mgr.c(1012): Transfer repo ‘b09d1027’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)

[01/10/17 20:11:18] http-tx-mgr.c(2601): Bad response code for POST https::::docs.ourserver.ru/seafhttp/repo/d6885fc9-0b0b-4109-aad8-8510fe02c15e/check-fs/: 0.
[01/10/17 20:11:18] http-tx-mgr.c(3333): Failed to check fs list for repo d6885fc9.
[01/10/17 20:11:18] http-tx-mgr.c(1012): Transfer repo ‘d6885fc9’: (‘normal’, ‘fs’) --> (‘error’, ‘finished’)
[01/10/17 20:11:18] sync-mgr.c(728): Repo ‘Web-студия’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[01/10/17 20:10:04] repo-mgr.c(768): Failed to access worktree /media/user/data/seafile/Seafile/SB Wiki for repo ‘SB Wiki’(37cacea8)
[01/10/17 20:11:19] sync-mgr.c(660): Repo ‘АСУТП - разное’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:11:19] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:11:19] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:11:20] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:11:20] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:11:20] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)

[01/10/17 20:11:57] http-tx-mgr.c(3017): Bad response code for PUT https::::docs.ourserver.ru/seafhttp/repo/63e468fb-cfd3-406b-9036-6a32a4e84f41/block/7de1287a88d00a95713de2af30cc5a60e2bbdc99: 0.
[01/10/17 20:11:57] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘data’) --> (‘error’, ‘finished’)
[01/10/17 20:11:57] sync-mgr.c(728): Repo ‘администрирование’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.

[01/10/17 20:11:59] http-tx-mgr.c(2725): Bad response code for POST https::::docs.ourserver.ru/seafhttp/repo/e66e0ad8-c2d3-409b-929e-6ac7ee180288/recv-fs/: 0.
[01/10/17 20:11:59] http-tx-mgr.c(3345): Failed to send fs objects for repo e66e0ad8.
[01/10/17 20:11:59] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘fs’) --> (‘error’, ‘finished’)
[01/10/17 20:11:59] sync-mgr.c(728): Repo ‘ИЕ’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[01/10/17 20:11:59] http-tx-mgr.c(2725): Bad response code for POST https::::docs.ourserver.ru/seafhttp/repo/085285fe-f287-49c9-a2b0-878620f0a7f4/recv-fs/: 0.

[01/10/17 20:11:59] http-tx-mgr.c(3345): Failed to send fs objects for repo 085285fe.
[01/10/17 20:11:59] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘fs’) --> (‘error’, ‘finished’)
[01/10/17 20:11:59] sync-mgr.c(728): Repo ‘канцелярия’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.

[01/10/17 20:11:59] sync-mgr.c(660): Repo ‘Web-студия’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:11:59] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:11:59] http-tx-mgr.c(1012): Transfer repo ‘d6885fc9’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:12:00] http-tx-mgr.c(1012): Transfer repo ‘d6885fc9’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:12:00] http-tx-mgr.c(1012): Transfer repo ‘d6885fc9’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:12:00] http-tx-mgr.c(2725): Bad response code for POST https::::docs.ourserver.ru/seafhttp/repo/b09d1027-e5b4-4550-9aad-dc8e3cc24bda/recv-fs/: 0.
[01/10/17 20:12:00] http-tx-mgr.c(3345): Failed to send fs objects for repo b09d1027.
[01/10/17 20:12:00] http-tx-mgr.c(1012): Transfer repo ‘b09d1027’: (‘normal’, ‘fs’) --> (‘error’, ‘finished’)
[01/10/17 20:12:00] sync-mgr.c(728): Repo ‘Автоматизированная система’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[01/10/17 20:12:12] sync-mgr.c(660): Repo ‘администрирование’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:12:12] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:12:12] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘63e468fb’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[01/10/17 20:12:13] sync-mgr.c(660): Repo ‘канцелярия’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:12:13] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:12:13] sync-mgr.c(660): Repo ‘ИЕ’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:12:13] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:12:13] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:12:14] http-tx-mgr.c(1012): Transfer repo ‘085285fe’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:12:14] http-tx-mgr.c(1012): Transfer repo ‘e66e0ad8’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)

[01/10/17 20:12:20] http-tx-mgr.c(842): libcurl failed to PUT https::::docs.ourserver.ru/seafhttp/repo/e4ced72b-af1c-4a9e-8ec8-2763d7cd6d04/block/b4516f577fba8ea39b751727622bde102185167a: Server returned nothing (no headers, no data).
[01/10/17 20:12:20] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘data’) --> (‘error’, ‘finished’)
[01/10/17 20:12:20] sync-mgr.c(728): Repo ‘АСУТП - разное’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[01/10/17 20:12:20] sync-mgr.c(660): Repo ‘Автоматизированная система’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:12:20] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:12:20] http-tx-mgr.c(1012): Transfer repo ‘b09d1027’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:12:20] http-tx-mgr.c(1012): Transfer repo ‘b09d1027’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:13:00] http-tx-mgr.c(2601): Bad response code for POST https::::docs.ourserver.ru/seafhttp/repo/d6885fc9-0b0b-4109-aad8-8510fe02c15e/check-fs/: 0.
[01/10/17 20:13:00] http-tx-mgr.c(3333): Failed to check fs list for repo d6885fc9.
[01/10/17 20:13:00] http-tx-mgr.c(1012): Transfer repo ‘d6885fc9’: (‘normal’, ‘fs’) --> (‘error’, ‘finished’)
[01/10/17 20:13:00] sync-mgr.c(728): Repo ‘Web-студия’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[01/10/17 20:10:04] repo-mgr.c(768): Failed to access worktree /media/user/data/seafile/Seafile/SB Wiki for repo ‘SB Wiki’(37cacea8)
[01/10/17 20:13:00] sync-mgr.c(660): Repo ‘АСУТП - разное’ sync state transition from ‘synchronized’ to ‘uploading’.
[01/10/17 20:13:00] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[01/10/17 20:13:00] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[01/10/17 20:13:01] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[01/10/17 20:13:01] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[01/10/17 20:13:01] http-tx-mgr.c(1012): Transfer repo ‘e4ced72b’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[01/10/17 20:13:13] http-tx-mgr.c(3017): Bad response code for PUT https::::docs.ourserver.ru/seafhttp/repo/63e468fb-cfd3-406b-9036-6a32a4e84f41/block/7de1287a88d00a95713de2af30cc5a60e2bbdc99: 0.

[01/10/17 20:14:01] http-tx-mgr.c(842): libcurl failed to PUT https::::docs.ourserver.ru/seafhttp/repo/e4ced72b-af1c-4a9e-8ec8-2763d7cd6d04/block/b4516f577fba8ea39b751727622bde102185167a: Server returned nothing (no headers, no data).

From the log it looks like networking issue. Do you have any firewall between your clients and the server?

No, we have not.
Direct access.

And, please, don’t forget about web interface (couldn’t save any textfie updates - Save button after press stey grey, AJAX request has no result).

Problem is from all clients and different client places/providers.
Clients have Linux as desktop OS (no antiviruses etc.)

From your logs I can not see that you tried it without nginx. If you just start Seafile without fastcgi command, did you also change the port in the client?

And: Are you sure there are all needed dependencies installed and you checked all server logs of Seafile? Can you find something helpful in there?