Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mithril-client.sh] Use the DB_DIR instead of CNODE_HOME/db #1800

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

TrevorBenson
Copy link
Collaborator

Updates mithril.library to use env DB_DIR value instead of CNODE_HOME/db when creating the mithril.env, and mithril-client.sh to use the DB_DIRECTORY value from the mithril.env file per upstream mithril documentation.

@TrevorBenson TrevorBenson requested review from rdlrt and Scitz0 August 6, 2024 00:47
@TrevorBenson TrevorBenson requested a review from Scitz0 August 6, 2024 15:13
@Scitz0 Scitz0 merged commit b2ae373 into alpha Aug 6, 2024
1 check passed
@Scitz0 Scitz0 deleted the mithril-use-db-dir branch August 6, 2024 16:28
TrevorBenson added a commit to TrevorBenson/guild-operators that referenced this pull request Aug 7, 2024
* Add PSB to mainnet topology.json (cardano-community#1799)

## Description
Adding my Edmonton datacentre relay.

* Fix version on setup-grest

* [mithril-client.sh] Use the DB_DIR instead of CNODE_HOME/db (cardano-community#1800)

Updates mithril.library to use env DB_DIR value instead of CNODE_HOME/db
when creating the mithril.env, and mithril-client.sh to use the
DB_DIRECTORY value from the mithril.env file per upstream mithril
documentation.

* [documentation] Fix typo showing guild-deploy.sh -p using full path to CNODE_HOME instead of parent directory (cardano-community#1801)

Reported in Telegram by @jorgepascoal (https://t.me/jorgepascoal)


>Hi Guys, I don't know if anybody else had the same issue I had when
upgrading to 9.1.0.
>
>After running the upgrade following the guide at
https://cardano-community.github.io/guild-operators/upgrade/ I found
that the script run with this line ./guild-deploy.sh -s dl -b master -n
mainnet -t cnode -p /opt/cardano/cnode the original cnode folder was not
replaced with the new scripts and files. Instead a new cnode folder was
created under /opt/cardano/cnode to /opt/cardano/cnode/cnode!
>
>Easy quick fix to get the new node running when moving them to the
correct location and path. Just thought I'd mention it because I
couldn't see that I did path settings incorrectly on my side. Maybe a
typo in the guild-deploy.sh script?

* squid config ask for additional allows, nginx mithril relay lb use stream, proxy_connect_timeout 10, max_fails=1 and fail_timeout 10 seconds per relay

* Enhanced verify_signer_registered

* MITHRIL_HOME to allow custom paths outside of CNODE_HOME

* Refactor mithril functions into mithril library.

* Use status code greater than 200

* Provide a way to support checking compatible version of mithril and node binaries.

* fixup! Provide a way to support checking compatible version of mithril and node binaries.

---------

Co-authored-by: Boris P. <[email protected]>
Co-authored-by: rdlrt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants