You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/12/25 02:12:31 UTC
[GitHub] [couchdb-pkg] eanyanwu opened a new pull request, #104: Document the need to set couchdb/cookie
eanyanwu opened a new pull request, #104:
URL: https://github.com/apache/couchdb-pkg/pull/104
## Overview
It looks like the [results of this issue ](https://github.com/apache/couchdb/issues/4001#issuecomment-1104720084)did not make it into the docs.
This lead to some weeping and gnashing of teeth while trying to do an UN-attended install on a ubuntu vm
## Testing recommendations
- Create Ubuntu VM on digital ocean for example (this was tested on 22.04)
- Log in and run these commands
```
# https://docs.couchdb.org/en/3.2.2-docs/install/unix.html
curl --silent https://couchdb.apache.org/repo/keys.asc \
| gpg --dearmor \
| tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
source /etc/os-release
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" \
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
# https://github.com/apache/couchdb-pkg/blob/main/debian/README.Debian
echo "couchdb couchdb/mode select standalone
couchdb couchdb/mode seen true
couchdb couchdb/bindaddress string 127.0.0.1
couchdb couchdb/bindaddress seen true
couchdb couchdb/cookie string monkey
couchdb couchdb/cookie seen true
couchdb couchdb/adminpass password safepassword
couchdb couchdb/adminpass seen true
couchdb couchdb/adminpass_again password safepassword
couchdb couchdb/adminpass_again seen true" | debconf-set-selections
apt-get --yes -qq update
DEBIAN_FRONTEND=noninteractive apt-get --yes -qq install couchdb
```
## GitHub issue number
<!-- If this is a significant change, please file a separate issue at:
https://github.com/apache/couchdb-pkg/issues
and include the number here and in commit message(s) using
syntax like "Fixes #472" or "Fixes apache/couchdb#472". -->
## Related Pull Requests
<!-- If your changes affects multiple components in different
repositories please put links to those pull requests here. -->
## Checklist
- [ ] Code is written and works correctly;
- [ ] Changes are covered by tests;
- [x] Documentation reflects the changes;
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb-pkg] eanyanwu commented on pull request #104: Document the need to set couchdb/cookie
Posted by GitBox <gi...@apache.org>.
eanyanwu commented on PR #104:
URL: https://github.com/apache/couchdb-pkg/pull/104#issuecomment-1364697001
I haven't personally deployed a clustered version before. I added a note saying that the cookie should be identical across all nodes (at least that's what I understand from the docs).
Let me know if you think this is unnecessary (or wrong) to mention here.
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org