mattpr commented on issue #4138:
URL: https://github.com/apache/couchdb/issues/4138#issuecomment-1206609088
Well I found at least one interesting thing.
This debconf...
```
couchdb couchdb/bindaddress string 127.0.0.1
```
...results in...
```
cat /opt/couchdb/etc/default.d/10-bind-address.ini
# Package-introduced bind address
[chttpd]
bind_address = 127.0.0.1
```
...which prevents couchdb from starting. The error in the log is the
following:
```
Application chttpd exited with reason:
{{shutdown,{failed_to_start_child,chttpd,invalid_bind_address}},{chttpd_app,start,[normal,[]]}}
```
This is because there is 2 spaces between the `=` and the `127`. Apparently
couchdb doesn't trim whitespace when parsing config files (at least in 3.2.2).
The fix is that all excess whitespace needs to be removed from the debconf
pre-populated values (single space separating each token only).
This doesn't resolve the admin user not getting created, but is a related
debconf issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]