ton-blockchain / ton

Main TON monorepo
Other
2.6k stars 715 forks source link

Ton validator on Testnet: Key not in DB after update #1023

Closed fmira21 closed 2 weeks ago

fmira21 commented 3 weeks ago

Hi guys! I've faced a strange issue when updated my Testnet validators:

Here is the output of the init.sh script:

[+] Using provided IP: REDACTED                                                                                                                                   
[ 1][t 1][2024-06-12 08:30:59.228545925][validator-engine.cpp:3740][!keyring]    failed to parse config: [PosixError : No such file or directory : 2 : key not in db: File "/ var/ton-work/db/keyring/REDACTED" can't be opened for reading]                                                        
[=] Found existing server certificate, skipping                                                                                                                               
[=] Found existing client certificate, skipping                                                                                                                              
[=] Found existing liteserver certificate, skipping                                                                                                                           
[+] Running validator-engine -v 1                                                                                                                                             
[ 1][t 1][2024-06-12 08:30:59.235648818][validator-engine.cpp:3740][!keyring]    failed to parse config: [PosixError : No such file or directory : 2 : key not in db: File "/var/ton-work/db/keyring/REDACTED" can't be opened for reading]

If I understand correctly, the validator-engine looks for its own key set but cannot find it. I made sure that I don't have such a key in the keyring.

Could you indicate what happened and how to resolve it?

Thank you in advance!

fmira21 commented 2 weeks ago

Resolved. Recreated all certificates and restarted the node.