FS#51883 - [couchdb] unable to start due do referece to old erlang version

Attached to Project: Community Packages
Opened by Joel Hansen (hnsn) - Saturday, 19 November 2016, 09:07 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 21 November 2016, 11:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
couch is unable to start due do referece to old erlang version.
the "run" file /usr/lib/couchdb/bin/couchdb references a file ../start_erl.data which have the contents:
8.1 2.0.0
it uses the first number to decide the run command for elang The run command is actually a softlink located in /usr/lib/couchdb.
The softlink is erts-8.1 -> /usr/lib/erlang/erts-8.1
But the newest version is 8.1.1

Solution:
change /usr/lib/couchdb/releases/start_erl.data
from 8.1 2.0.0
to 8.1.1 2.0.0
replace the softlink /usr/lib/couchdb/erts-8.1 -> /usr/lib/erlang/erts-8.1
with this softlink: /usr/lib/couchdb/erts-8.1.1 -> /usr/lib/erlang/erts-8.1.1

Users see: https://bbs.archlinux.org/viewtopic.php?pid=1670465

Additional info:
couchdb 2.0.0
erlang-nox 19.1.6-1
or
erlang 19.1.6-1

Steps to reproduce:
sudo systemctl start couchdb.service
sudo systemctl status couchdb.service
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 21 November 2016, 11:29 GMT
Reason for closing:  Fixed

Loading...