ton
ton copied to clipboard
install mytonctrl fail: ValidatorConsole error: Validator console is not settings
steps to reproduce the error
- add a none root user:
useradd -m -d /home/ton -s /bin/bash ton
usermod -aG sudo ton
- download install.sh and execute it:
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
sudo bash install.sh -d -m full
- start mytonctrl process:
ton@ton:~$ mytonctrl
[warning] 04.07.2024, 05:51:18.639 (UTC) <MainThread> 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] 04.07.2024, 05:51:18.640 (UTC) <MainThread> Thread self_test started
[debug] 04.07.2024, 05:51:18.640 (UTC) <MainThread> Thread write_log started
[info] 04.07.2024, 05:51:18.640 (UTC) <MainThread> 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 1228, in <module>
console.Run()
File "/usr/src/mytonctrl/mypyconsole/mypyconsole.py", line 97, in Run
self.startFunction()
File "/usr/src/mytonctrl/mytonctrl.py", line 114, in PreUp
check_vport()
File "/usr/src/mytonctrl/mytonctrl.py", line 130, in check_vport
vconfig = ton.GetValidatorConfig()
File "/usr/src/mytonctrl/mytoncore.py", line 1951, in GetValidatorConfig
result = self.validatorConsole.Run("getconfig")
File "/usr/src/mytonctrl/mytoncore.py", line 67, in Run
raise Exception("ValidatorConsole error: Validator console is not settings")
Exception: ValidatorConsole error: Validator console is not settings
enviroments
- OS: ubuntu 22.04 TLS