ton-blockchain / mytonctrl

A tool to run and maintain a TON node/validator
GNU General Public License v3.0
264 stars 147 forks source link

Error in status cmd #122

Open aghamir opened 1 year ago

aghamir commented 1 year ago

Hi, I've installed full node on lxd container. After running mytonctrl -> status, I've got this output:

MyTonCtrl> status
[debug]   27.03.2023, 01:26:00.528 (UTC)  <MainThread>  start GetRootWorkchainEnabledTime function
[debug]   27.03.2023, 01:26:00.528 (UTC)  <MainThread>  start GetConfig function (12)
[debug]   27.03.2023, 01:26:00.569 (UTC)  <MainThread>  start GetConfig34 function
[debug]   27.03.2023, 01:26:00.621 (UTC)  <MainThread>  start GetConfig36 function
[debug]   27.03.2023, 01:26:00.635 (UTC)  <MainThread>  start GetValidatorsLoad function (1679878300, 1679880300)
[debug]   27.03.2023, 01:26:03.579 (UTC)  <MainThread>  start GetValidatorEfficiency function
[warning] 27.03.2023, 01:26:03.579 (UTC)  <MainThread>  GetValidatorEfficiency warning: efficiency not found.
[debug]   27.03.2023, 01:26:03.594 (UTC)  <MainThread>  start GetConfig function (15)
[debug]   27.03.2023, 01:26:03.603 (UTC)  <MainThread>  start GetConfig function (17)
[debug]   27.03.2023, 01:26:03.611 (UTC)  <MainThread>  start GetFullConfigAddr function
[debug]   27.03.2023, 01:26:03.618 (UTC)  <MainThread>  start GetFullElectorAddr function
[debug]   27.03.2023, 01:26:03.627 (UTC)  <MainThread>  start GetActiveElectionId function
[warning] 27.03.2023, 01:26:03.650 (UTC)  <MainThread>  GetValidatorIndex warning: index not found.
[debug]   27.03.2023, 01:26:03.650 (UTC)  <MainThread>  start GetValidatorWallet function
[debug]   27.03.2023, 01:26:03.650 (UTC)  <MainThread>  start GetLocalWallet function
[debug]   27.03.2023, 01:26:03.650 (UTC)  <MainThread>  start GetWalletFromFile function
[debug]   27.03.2023, 01:26:03.651 (UTC)  <MainThread>  start WalletVersion2Wallet function
[debug]   27.03.2023, 01:26:03.667 (UTC)  <MainThread>  start GetDbSize function
[debug]   27.03.2023, 01:26:03.675 (UTC)  <MainThread>  start GetOffersNumber function
[debug]   27.03.2023, 01:26:03.675 (UTC)  <MainThread>  start GetOffers function
[debug]   27.03.2023, 01:26:03.709 (UTC)  <MainThread>  start GetComplaintsNumber function
[debug]   27.03.2023, 01:26:03.709 (UTC)  <MainThread>  start GetConfig32 function
[debug]   27.03.2023, 01:26:03.733 (UTC)  <MainThread>  start GetComplaints function
===[ TON network status ]===
Transactions per second (TPS): 0.0, 0.0, 0.0
Number of validators: 186(317)
Number of shardchains: 1
Number of offers: 0(0)
Number of complaints: 0(0)
Election status: open

Error: 'NoneType' object has no attribute 'items'

Can you explain me what's going wrong?

awesome-doge commented 1 year ago

Please use sudo systemctl status mytoncore to check if mytoncore is working properly

Please use sudo systemctl status validator to check whether the validator is working properly

Please check the log with tail -f /var/ton-work/log*

igroman787 commented 1 year ago

To understand the situation, we need additional logs, which are here: /usr/local/bin/mytoncore/mytoncore.log or ~/.local/share/mytoncore/mytoncore.log