Hello @ChristopherPawlyszyn,
I continue my investigations and wanted to report the following facts:
- After authenticating on couchDB, I can see that all our nosql "databases" are empty (size 0 bytes) and made of 0 documents: thus the 404 couchDB error.
- I activated couchDB debug log when doing the webgisdr restore and it turns out I have plenty of errors 409 conflict like the following:
[debug] 2023-10-26T13:18:36.924000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 'PUT' /_dbs/ext_site_callout_0_d0d73bef0979452a9660097f2df37359 {1,1} from 'couchdb@MYHOST.COMPANY.COM'
Headers: [{'Accept-Encoding',"gzip,deflate"},{'Connection',"Keep-Alive"},{'Content-Length',"187"},{'Content-Type',"application/json"},{'Cookie',"AuthSession=ItsASecret"},{'Host',"MYHOST.COMPANY.COM:29080"},{'User-Agent',"Apache-HttpClient/4.5.13 (Java/11.0.18)"}]
[debug] 2023-10-26T13:18:36.925000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 timeout 600
[debug] 2023-10-26T13:18:36.925000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 Successful cookie auth as: "admin_u92a8"
[debug] 2023-10-26T13:18:36.926000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 Minor error in HTTP request: conflict
[debug] 2023-10-26T13:18:36.926000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 Stacktrace: [{couch_db,update_doc,4,[{file,"src/couch_db.erl"},{line,839}]},{couch_httpd_db,update_doc,6,[{file,"src/couch_httpd_db.erl"},{line,780}]},{couch_httpd_db,do_db_req,2,[{file,"src/couch_httpd_db.erl"},{line,261}]},{couch_httpd,handle_request_int,5,[{file,"src/couch_httpd.erl"},{line,339}]},{erpc,execute_call,3,[{file,"erpc.erl"},{line,434}]},{erpc,call,5,[{file,"erpc.erl"},{line,117}]},{rpc,call,5,[{file,"rpc.erl"},{line,410}]},{chttpd_node,call_node,4,[{file,"src/chttpd_node.erl"},{line,218}]}]
Looking at couchDB documentation:
https://docs.couchdb.org/en/stable/api/document/attachments.html#put--db-docid-attname
409 Conflict – Document’s revision wasn’t specified or it’s not the latest
Any progress on your side ?
Thanks,
Nicolas