OK, after setting log to debug and timeout to 3600 (which didn't change
anything) I ran into this error in couchdb.log:

No DB shards could be opened.

In the log:

[notice] 2020-05-03T04:48:39.727523Z [email protected] <0.4672.0>
bb704eac8c 127.0.0.1:5984 127.0.0.1 admin PUT
/mwscrape/dewiki-1588440186-498 201 ok 50
[notice] 2020-05-03T04:48:40.488775Z [email protected] <0.4672.0>
692efe5883 127.0.0.1:5984 127.0.0.1 admin GET /dewiki/Nanwan-Affeninsel
404 ok 218
[error] 2020-05-03T04:52:27.059960Z [email protected] <0.4672.0>
1635fa01be fabric_worker_timeout
open_doc,'[email protected]',<<"shards/00000000-7fffffff/_users.1588439734">>
[error] 2020-05-03T04:53:32.635767Z [email protected] <0.519.0> --------
fabric_worker_timeout
changes,'[email protected]',<<"shards/00000000-7fffffff/_users.1588439734">>
[error] 2020-05-03T04:53:32.854813Z [email protected] <0.519.0> --------
fabric_worker_timeout
changes,'[email protected]',<<"shards/80000000-ffffffff/_users.1588439734">>
[error] 2020-05-03T04:54:12.679477Z [email protected] emulator --------
Error in process <0.519.0> on node '[email protected]' with exit value:
{{nocatch,{error,timeout}},[{fabric_view_changes,send_changes,6,[{file,"src/fabric_view_changes.erl"},{line,198}]},{fabric_view_changes,keep_sending_changes,8,[{file,"src/fabric_view_changes.erl"},{line,82}]},{fabric_view_changes,go,5,[{file,"src/fabric_view_changes.erl"},{line,43}]}]}

[notice] 2020-05-03T04:54:12.984169Z [email protected] <0.338.0>
-------- chttpd_auth_cache changes listener died
{nocatch,{error,timeout}} at
fabric_view_changes:send_changes/6(line:198) <=
fabric_view_changes:keep_sending_changes/8(line:82) <=
fabric_view_changes:go/5(line:43)
[error] 2020-05-03T04:54:14.690000Z [email protected] <0.4672.0>
1635fa01be req_err(3763885668) internal_server_error : No DB shards
could be opened.
    [<<"fabric_util:get_shard/4 L111">>,<<"fabric_util:get_shard/4
L128">>,<<"fabric_util:get_shard/4 L128">>,<<"fabric:get_security/2
L183">>,<<"chttpd_auth_request:db_authorization_check/1
L110">>,<<"chttpd_auth_request:authorize_request/1
L19">>,<<"chttpd:handle_req_after_auth/2
L320">>,<<"chttpd:process_request/1 L305">>]
[notice] 2020-05-03T04:54:17.320731Z [email protected] <0.4672.0>
1635fa01be 127.0.0.1:5984 127.0.0.1 admin GET
/mwscrape/dewiki-1588440186-498 500 ok 277968
[notice] 2020-05-03T06:53:41.104261Z [email protected] <0.16500.163>
380cadc5fe localhost:5985 127.0.0.1 undefined GET / 200 ok 3
[notice] 2020-05-03T06:53:41.127154Z [email protected] <0.16536.163>
c18aad124f localhost:5985 127.0.0.1 undefined GET / 200 ok 1
[notice] 2020-05-03T06:53:41.292268Z [email protected] <0.16500.163>
ef228fe01c localhost:5985 127.0.0.1 undefined GET /_session 200 ok 0
[notice] 2020-05-03T06:53:42.085928Z [email protected] <0.16536.163>
e7accb7b3e localhost:5985 127.0.0.1 undefined GET /_session 200 ok 0
[notice] 2020-05-03T06:53:44.823828Z [email protected] <0.16500.163>
514a6ad8ca localhost:5985 127.0.0.1 undefined POST /_session 200 ok 2
[notice] 2020-05-03T06:53:45.127354Z [email protected] <0.16536.163>
19bd94e5d0 localhost:5985 127.0.0.1 admin GET /_session 200 ok 1
[notice] 2020-05-03T06:53:45.298206Z [email protected] <0.16500.163>
3c485d12f6 localhost:5985 127.0.0.1 admin GET /_all_dbs 304 ok 6
[notice] 2020-05-03T06:53:45.439060Z [email protected] <0.16500.163>
e6bdcfb3ba localhost:5985 127.0.0.1 admin GET /_users 200 ok 2
[notice] 2020-05-03T06:53:45.440774Z [email protected] <0.16536.163>
c6a19fa756 localhost:5985 127.0.0.1 admin GET /_replicator 200 ok 5


But I don't understand this error :(




Am 03.05.2020 um 13:04 schrieb Ronny Berndt:
> You should increase your log level to debug to get more infos.
>
> Do you run a cluster or a single couchdb instance?
> You said that you are getting an error „after a while“. Is this time
> in the same time frame - e.g. a timeout error?
>
>
>
>
>> Am 03.05.2020 um 12:53 schrieb Frank Röhm <[email protected]>:
>>
>> Just this:
>>
>> couchdb.http.ServerError: (500, (u'unknown_error', u'undefined'))
>>
>>
>>> Am 03.05.2020 um 12:44 schrieb Ronny Berndt <[email protected]>:
>>>
>>> Are there any error details in the CouchDB log file?
>>>
>>> Ronny
>>>
>>>> Am 03.05.2020 um 11:42 schrieb Frank Röhm <[email protected]>:
>>>>
>>>> Hallo
>>>>
>>>> is it possible to downgrade on a Ubuntu 18.04 server to the old CouchDB 
>>>> 1.6?
>>>>
>>>> I have since CouchDB 2.x problems while filling a db with Wikipedia
>>>> entries. I use therefore mwscrape from:
>>>> https://github.com/itkach/mwscrape
>>>> and after a while I always get a 500 error from CouchDB and my scrape
>>>> stops. This never happened with CouchDB 1.6 under Ubuntu 14.04.
>>>>
>>>> So could it be possible to install CouchDB 1.x maybe by self-compilation
>>>> somehow or are there old and now unsatisfiable dependencies? Someone knows?
>>>>
>>>> Thanks, frank
>>>>
>>
>

Reply via email to