Skip to content

Commit 617e286

Browse files
author
Damien LACHAUME / PALO-IT
committed
Standardize default values for signer environment file path and DATA_STORES_DIRECTORY
1 parent 2453deb commit 617e286

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/website/blog/2022-09-14-sqlite-stores.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $> ls -1F ../target/release/mithril-signer*
4646

4747
### Running the migration
4848

49-
The first step is to stop the running Mithril node if any. The `mithril-signer-migrate` executable can perform the migration automatically once you know where your actual JSON files are located. Have a look in your configuration file (default `/opt/mithril/mithril-signer/service.env`), check the value associated with the `DATA_STORES_DIRECTORY` key (default to `/opt/mithril/mithril-signer/stores`) and copy the path indicated here. Copy this path after the `--db-dir` option on the following command line:
49+
The first step is to stop the running Mithril node if any. The `mithril-signer-migrate` executable can perform the migration automatically once you know where your actual JSON files are located. Have a look in your configuration file (default `/opt/mithril/mithril-signer.env`), check the value associated with the `DATA_STORES_DIRECTORY` key (default to `/opt/mithril/stores`) and copy the path indicated here. Copy this path after the `--db-dir` option on the following command line:
5050

5151
```
5252
$> ./mithril-signer-migrate automatic --db-dir /paste/the/data/stores/directory/here

docs/website/blog/2022-10-11-keys-certification-badge/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The data stores of the node need to be updated by running the following command:
2929

3030
```bash
3131
# The path to your data stores directory, which defaults to:
32-
DATA_STORES_DIRECTORY=/opt/mithril/mithril-signer/stores
32+
DATA_STORES_DIRECTORY=/opt/mithril/stores
3333

3434
# Run this command to upgrade your stores:
3535
sqlite3 ${DATA_STORES_DIRECTORY}/signer.sqlite3 "UPDATE protocol_initializer SET value = json_object('stm_initializer', json(value), 'kes_signature', null) WHERE json_extract(value, '$.stm_initializer') IS NULL;"

docs/website/root/manual/getting-started/run-signer-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ sudo mv mithril-signer /opt/mithril
224224
* `User=cardano`:
225225
Replace this value with the correct user. We assume that the user used to run the **Cardano node** is `cardano`. The **Mithril signer** must imperatively run with the same user.
226226

227-
* In the `/opt/mithril/mithril-signer/service.env` env file:
227+
* In the `/opt/mithril/mithril-signer.env` env file:
228228
* `KES_SECRET_KEY_PATH=/cardano/keys/kes.skey`: replace `/cardano/keys/kes.skey` with the path to your Cardano `KES secret key` file
229229
* `OPERATIONAL_CERTIFICATE_PATH=/cardano/cert/opcert.cert`: replace `/cardano/cert/opcert.cert` with the path to your Cardano `operational certificate` file
230230
* `DB_DIRECTORY=/cardano/db`: replace `/cardano/db` with the path to the database folder of the **Cardano node** (the one in `--database-path`)

0 commit comments

Comments
 (0)