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

[BUG] Error: couldn't get client config: Config File "client" Not Found in "[/root/.paloma/config /root/lightnode/.paloma/config] #2284

Open
taariq opened this issue Oct 14, 2024 · 3 comments
Assignees
Labels
bug Something isn't working light-node-sale

Comments

@taariq
Copy link
Member

taariq commented Oct 14, 2024

$ ./setup.sh automate
v2: Pulling from palomachain/lightnode-client
Digest: sha256:8fbf9d43a98880f4db1a50bf44a7fc1af88729b8eccb382d086bb04a454e4aba
Status: Image is up to date for palomachain/lightnode-client:v2
docker.io/palomachain/lightnode-client:v2
Error: couldn't get client config: Config File "client" Not Found in "[/root/.paloma/config /root/lightnode/.paloma/config]"
Usage:
palomad config get [config] [key] [flags]

Flags:
-h, --help help for get

Global Flags:
--home string directory for config and data (default "/root/.paloma")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:,:') (default "info")
--log_no_color Disable colored logs
--trace print out full stack trace on errors

Error: couldn't get client config: Config File "client" Not Found in "[/root/.paloma/config /root/lightnode/.paloma/config]"
Usage:
palomad config set [config] [key] [value] [flags]

Flags:
-h, --help help for set
-s, --skip-validate skip configuration validation (allows to mutate unknown configurations)
--stdout print the updated config to stdout
-v, --verbose log changes to stderr

Global Flags:
--home string directory for config and data (default "/root/.paloma")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:,:') (default "info")
--log_no_color Disable colored logs
--trace print out full stack trace on errors

Error: couldn't get client config: Config File "client" Not Found in "[/root/.paloma/config /root/lightnode/.paloma/config]"
Usage:
palomad config set [config] [key] [value] [flags]

Flags:
-h, --help help for set
-s, --skip-validate skip configuration validation (allows to mutate unknown configurations)
--stdout print the updated config to stdout
-v, --verbose log changes to stderr

Global Flags:
--home string directory for config and data (default "/root/.paloma")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:,:') (default "info")
--log_no_color Disable colored logs
--trace print out full stack trace on errors

cat: /root/lightnode/.paloma/keys: No such file or directory
Failed to unlock keys.

Aaron Caswell, [10/14/24 2:03 PM]
why are you guys forcing the usage of the root directory?

Aaron Caswell, [10/14/24 2:03 PM]
$ ls -la ~/.config/paloma-lightnode/.paloma/config
lrwxrwxrwx 1 root root 30 Oct 11 13:49 /home/aaron/.config/paloma-lightnode/.paloma/config -> /root/lightnode/.paloma/config

Aaron Caswell, [10/14/24 2:03 PM]
no one wants that bro

@taariq taariq added bug Something isn't working light-node-sale labels Oct 14, 2024
@taariq taariq changed the title [LIGHTNODE] why are you guys forcing the usage of the root directory? [BUG] Error: couldn't get client config: Config File "client" Not Found in "[/root/.paloma/config /root/lightnode/.paloma/config] Oct 14, 2024
@maharifu
Copy link

@taariq
This link

lrwxrwxrwx 1 root root 30 Oct 11 13:49 /home/aaron/.config/paloma-lightnode/.paloma/config -> /root/lightnode/.paloma/config

is wrong and should never be like that. We don't have it in the code to create the link like this, so I'm not sure how it happened. Can we ask the user to delete the file /home/aaron/.config/paloma-lightnode/.paloma/config and try again?

Also, regarding why are you guys forcing the usage of the root directory?, this is only used within docker. We do not use the root directory of the host system.

@taariq taariq closed this as completed Oct 15, 2024
@taariq taariq reopened this Oct 16, 2024
@taariq
Copy link
Member Author

taariq commented Oct 16, 2024

@maharifu still got this error

$ ./setup.sh node-recover
v2: Pulling from palomachain/lightnode-client
302e3ee49805: Already exists 
939b708a5c33: Already exists 
088f2be2d29d: Already exists 
3de9efb42ceb: Already exists 
5a951699e177: Already exists 
5e8fdd79cb82: Pull complete 
Digest: sha256:3d3d44e089a2e93f205e20358dd7f4a3dae84ddc92d0c29d5cde5572fc3408ab
Status: Downloaded newer image for palomachain/lightnode-client:v2
docker.io/palomachain/lightnode-client:v2
/usr/local/bin/entrypoint.sh: line 365: [: -lt: unary operator expected

Setting staking grants for porkchop
Error: post failed: Post "https://rpc-1.paloma.nodes.guru": dial tcp: lookup rpc-1.paloma.nodes.guru on 8.8.8.8:53: read udp 172.17.0.2:55437->8.8.8.8:53: i/o timeout
Signing

@maharifu
Copy link

@taariq I will revert this https://github.com/VolumeFi/lightnode-client/pull/36 because it doesn't seem to be helping. However, this looks like either a docker issue or a connectivity issue. Is there some firewall blocking DNS lookup requests?

What is the OS and docker versions on this system? It may be worth it to uninstall docker and reinstall with the latest version and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working light-node-sale
Projects
None yet
Development

No branches or pull requests

2 participants