chia linux update方法

chia実行ユーザで行う。

カレント移動

cd ~/chia-blockchain

アクティブ

. ./activate

chiaをストップする。

chia stop all

インストールディレクトリを削除

rm -rf ~/chia-blockchain

カレント移動

cd

deactivate

deactivate

gitから最新版をダウンロード

git clone https://github.com/Chia-Network/chia-blockchain.git -b latest

chiaディレクトリへ移動

cd chia-blockchain

インストール

sh install.sh
[sudo] chia のパスワード:*******

アクティブ化

. ./activate

再設定

chia init --fix-ssl-permissions

pipを更新

pip install --upgrade pip

初期化

chia init

バージョン確認

chia version

chiaスタート

chia start all
  • エラーシリーズ

エラー① 権限不足。 chia init –fix-ssl-permissions を実施する。

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@             WARNING: UNPROTECTED SSL FILE!              @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/ca/chia_ca.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/daemon/private_daemon.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/farmer/private_farmer.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/farmer/public_farmer.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/full_node/private_full_node.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/full_node/public_full_node.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/ca/chia_ca.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/ca/private_ca.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/harvester/private_harvester.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/full_node/public_full_node.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/ca/private_ca.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/timelord/private_timelord.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/timelord/public_timelord.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/daemon/private_daemon.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/wallet/private_wallet.key' are too open. Expected 0600
Permissions 0644 for '/home/chia/.chia/mainnet/config/ssl/wallet/public_wallet.key' are too open. Expected 0600
One or more SSL files were found with permission issues.
Run `chia init --fix-ssl-permissions` to fix issues.
Enter the mnemonic you want to use:
Invalid mnemonic length

エラー② chia start all時。気にしない。

$ Traceback (most recent call last):
  File "/home/chia/chia-blockchain/venv/bin/chia_timelord_launcher", line 33, in <module>
    sys.exit(load_entry_point('chia-blockchain', 'console_scripts', 'chia_timelord_launcher')())
  File "/home/chia/chia-blockchain/chia/timelord/timelord_launcher.py", line 107, in main
    loop.run_until_complete(spawn_all_processes(config, net_config))
  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/chia/chia-blockchain/chia/timelord/timelord_launcher.py", line 85, in spawn_all_processes
    await asyncio.gather(*awaitables)
  File "/home/chia/chia-blockchain/chia/timelord/timelord_launcher.py", line 45, in spawn_process
    path_to_vdf_client = find_vdf_client()
  File "/home/chia/chia-blockchain/chia/timelord/timelord_launcher.py", line 39, in find_vdf_client
    raise FileNotFoundError("can't find vdf_client binary")
FileNotFoundError: can't find vdf_client binary

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です