Description of problem: couchdb crash on startup with error. cf join file Version-Release number of selected component (if applicable): couchdb 3.2.2-2.mga9 How reproducible: install couchdb systemctl start couchdb
Created attachment 14121 [details] logs when systemd start couchdb
Thank you for the report. Our current version 3.2.2 is 17mth old. There is an update: CouchDB 3.2.3 : https://couchdb.apache.org/#download Perhaps we should start with that. + a separate version CouchDB 3.3.2 But the error in the journal indicates Erlang, for which we have version 24.3.4.7. The same page makes reference to "Erlang/OTP 23.3.4.18". Installing the pkg gave: "/usr/lib/tmpfiles.d/couchdb.conf:1: Line references path below legacy directory /var/run/, updating /var/run/couchdb → /run/couchdb; please update the tmpfiles.d/ drop-in file accordingly." which means nothing to me, so I did nothing. $ sudo systemctl start couchdb $ sudo systemctl status couchdb.service × couchdb.service - CouchDB Server Loaded: loaded (/usr/lib/systemd/system/couchdb.service; disabled; preset:> Active: failed (Result: exit-code) since Thu 2023-11-02 20:17:22 CET; 1min> Duration: 226ms Process: 88226 ExecStart=/usr/bin/erl +Bd -noinput -sasl errlog_type error > Main PID: 88226 (code=exited, status=1/FAILURE) CPU: 359ms Tach 02 20:17:22 localhost.localdomain systemd[1]: couchdb.service: Scheduled r> Tach 02 20:17:22 localhost.localdomain systemd[1]: Stopped couchdb.service. Tach 02 20:17:22 localhost.localdomain systemd[1]: couchdb.service: Start reque> Tach 02 20:17:22 localhost.localdomain systemd[1]: couchdb.service: Failed with> Tach 02 20:17:22 localhost.localdomain systemd[1]: Failed to start couchdb.serv ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv stem/couchdb.service; disabled; preset: disabled) since Thu 2023-11-02 20:17:22 CET; 1min 38s ago l +Bd -noinput -sasl errlog_type error +K true +A 4 -couch_ini /etc/couchdb/def> 1/FAILURE) ystemd[1]: couchdb.service: Scheduled restart job, restart counter is at 5. ystemd[1]: Stopped couchdb.service. ystemd[1]: couchdb.service: Start request repeated too quickly. ystemd[1]: couchdb.service: Failed with result 'exit-code'. ystemd[1]: Failed to start couchdb.service. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ CouchDB has been the same for a long time except many "rebuild for icuxx". So the problem could be there, or Erlang?
Summary: couchdb crash on startup => couchdb does not start (Erlang crash)Assignee: bugsquad => pkg-bugs
Please test couchdb-3.2.2-2.1.mga9 in Core/Updates_testing repo! Maybe a rebuild against current erlang 24.3.4.7 should fix this crash. Packages in 9/Core/Updates_testing: ====================== couchdb-3.2.2-2.1.mga9 From SRPMS: couchdb-3.2.2-2.1.mga9.src.rpm
CC: (none) => geiger.david68210
Assignee: pkg-bugs => qa-bugs
tested couchdb after update, exactly the same error, no amelioration.
(In reply to Daniel Tartavel from comment #4) > tested couchdb after update, exactly the same error, no amelioration. Thanks for the test. Setting the feedback keyword (so that we can see in https://madb.mageia.org/tools/updates that further testing is not yet needed and that the advisory doesn't yet need to be uploaded)
Keywords: (none) => feedbackCC: (none) => marja11
I banged on this a little bit. Never used or built couchdb. Unable to get his working, seems like it needs a lot of configuration to make it work.
CC: (none) => brtians1
CC: (none) => mageia
The current erlang seems to be later than 7: $ rpm -q erlang erlang-24.3.4.15-1.mga9
CC: (none) => tarazed25
*** Bug 32808 has been marked as a duplicate of this bug. ***
CC: (none) => smelror
Created attachment 14340 [details] specimen advisory This may cover the current state of the bug.
(In reply to Len Lawrence from comment #9) > Created attachment 14340 [details] > specimen advisory > > This may cover the current state of the bug. I didn't dig into it, I assume you described the issue well. However, please consider replacing the subject with e.g.: Updated couchdb package fixes a crash and starting the description with: This update fixes the following issue: So that the advisory doesn't sound like it's a bugcreate advisory ;-)
Created attachment 14345 [details] Update to suggested advisory
Attachment 14340 is obsolete: 0 => 1
I've tried the updated version from updates_testing and still am not able to start couchdb. I've also compiled version 3.3.3 for mga9 and it's still crashing.
Assignee: qa-bugs => geiger.david68210
David this not works return to you because you send the current testing version