ton-blockchain / mytonctrl

A tool to run and maintain a TON node/validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The config file is broken

Parmanand0712 opened this issue · comments

Hi Team

after executing mytonctrl on commad prompt then below errors are coming -

[warning] 28.10.2023, 13:14:51.942 (UTC) The config file is broken
local.db: {'config': {'logLevel': 'info', 'isLimitLogFile': True, 'isDeleteOldLogFile': False, 'isIgnorLogWarning': False, 'isStartOnlyOneProcess': True, 'memoryUsinglimit': 50, 'isLocaldbSaving': False, 'isWritingLogFile': True}}
[debug] 28.10.2023, 13:14:51.944 (UTC) Thread self_test started
[debug] 28.10.2023, 13:14:51.944 (UTC) Thread write_log started
[info] 28.10.2023, 13:14:51.944 (UTC) Start program /usr/src/mytonctrl/mytonctrl.py
Welcome to the console. Enter 'help' to display the help menu.
Traceback (most recent call last):
File "/usr/src/mytonctrl/mytonctrl.py", line 1216, in
console.Run()
File "/usr/src/mytonctrl/mypyconsole/mypyconsole.py", line 97, in Run
self.startFunction()
File "/usr/src/mytonctrl/mytonctrl.py", line 106, in PreUp
check_vport()
File "/usr/src/mytonctrl/mytonctrl.py", line 122, in check_vport
vconfig = ton.GetValidatorConfig()
File "/usr/src/mytonctrl/mytoncore.py", line 1929, in GetValidatorConfig
result = self.validatorConsole.Run("getconfig")
File "/usr/src/mytonctrl/mytoncore.py", line 66, in Run
raise Exception("ValidatorConsole error: Validator console is not settings")
Exception: ValidatorConsole error: Validator console is not settings

how to solve it??

There is a solution?

Hi Team

after executing mytonctrl on commad prompt then below errors are coming -

[warning] 28.10.2023, 13:14:51.942 (UTC) The config file is broken local.db: {'config': {'logLevel': 'info', 'isLimitLogFile': True, 'isDeleteOldLogFile': False, 'isIgnorLogWarning': False, 'isStartOnlyOneProcess': True, 'memoryUsinglimit': 50, 'isLocaldbSaving': False, 'isWritingLogFile': True}} [debug] 28.10.2023, 13:14:51.944 (UTC) Thread self_test started [debug] 28.10.2023, 13:14:51.944 (UTC) Thread write_log started [info] 28.10.2023, 13:14:51.944 (UTC) Start program /usr/src/mytonctrl/mytonctrl.py Welcome to the console. Enter 'help' to display the help menu. Traceback (most recent call last): File "/usr/src/mytonctrl/mytonctrl.py", line 1216, in console.Run() File "/usr/src/mytonctrl/mypyconsole/mypyconsole.py", line 97, in Run self.startFunction() File "/usr/src/mytonctrl/mytonctrl.py", line 106, in PreUp check_vport() File "/usr/src/mytonctrl/mytonctrl.py", line 122, in check_vport vconfig = ton.GetValidatorConfig() File "/usr/src/mytonctrl/mytoncore.py", line 1929, in GetValidatorConfig result = self.validatorConsole.Run("getconfig") File "/usr/src/mytonctrl/mytoncore.py", line 66, in Run raise Exception("ValidatorConsole error: Validator console is not settings") Exception: ValidatorConsole error: Validator console is not settings

how to solve it??

Same error

me same error

For some reason you need to login as user that will be used for mytoncore and then execute "sudo bash install.sh -m full"
This fixed the mentioned issue in my case.