crate / crate/cratedb-guide

Run CrateDB in UBUNTU

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
pitch
Dominant language
No language data
Stars
3
Forks
4
Avg merge
3d 18h
Merged PRs (30d)
1

Description

As per [discourse](https://community.crate.io/t/3-node-cluster-not-forming-after-install-azure-ubuntu-vms/426/2), and related to [https://github.com/crate/crate/issues/10058](https://github.com/crate/crate/issues/10058), documented command

```
sudo apt-get install crate
```
launches CrateDB with a default configuration, which results in the formation of a cluster, and then users need to do uncomfortable admin to amend.

[This]( https://askubuntu.com/questions/104899/make-apt-get-or-aptitude-run-with-y-but-not-prompt-for-replacement-of-configu) gives context for command

```
sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install crate
```

which will auto yes the question during the install steps, allowing users to provide a config file upfront (`/etc/crate/crate.yml`), with the desired cluster topology, name, etc.

Users should be aware of this discovery related feature.

**Maybe users should be prompted during the installation process as to whether they want the default config, and when not, point the path to the desired one, so that the contents can be copied over.**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.