You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just done a fresh install of Raspian 64 bit lite and Chia. My last two attempts ended when the SD card got corrupted, so now I'm booting/running from a 32GB USB stick and I've put the blockchain and wallet db on one of my HDDs, as I had about 80GB spare. I'll probably have to get another drive or SSD sometime when the blockchain gets bigger, but for now I'm OK as those files are only using about 50GB.
I first tried moving the .chia folder from /home/pi to my HDD at /mnt/E6 and then creating a symlink with "ln -s /mnt/E6/.chai ." which worked but when I tried to run chia I got some errors about the permissions being too open (0777 rather than 0644) because the HDD is NTFS so it couldn't set the proper permissions.
So I deleted the symlink and moved most of the folders back to /home/pi/.chia (cache, config, log, run) and ran 'chia init --fix-ssl-permissions' which worked and I'm just using symlinks for the db and wallet folders but when I run 'chia start node' I get:
(venv) pi@raspberrypi:~ $ chia start node
chia_full_node: started
(venv) pi@raspberrypi:~ $ Traceback (most recent call last):
File "/home/pi/chia-blockchain/venv/bin/chia_full_node", line 33, in <module>
sys.exit(load_entry_point('chia-blockchain', 'console_scripts', 'chia_full_node')())
File "/home/pi/chia-blockchain/chia/server/start_full_node.py", line 60, in main
return run_service(**kwargs)
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 255, in run_service
return asyncio.run(async_run_service(*args, **kwargs))
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 249, in async_run_service
return await service.run()
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 171, in run
await self.start()
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 135, in start
await self._node._start(**kwargs)
File "/home/pi/chia-blockchain/chia/full_node/full_node.py", line 178, in _start
self.blockchain = await Blockchain.create(self.coin_store, self.block_store, self.constants, self.hint_store)
File "/home/pi/chia-blockchain/chia/consensus/blockchain.py", line 120, in create
await self._load_chain_from_store()
File "/home/pi/chia-blockchain/chia/consensus/blockchain.py", line 133, in _load_chain_from_store
height_to_hash, sub_epoch_summaries = await self.block_store.get_peak_height_dicts()
File "/home/pi/chia-blockchain/chia/full_node/block_store.py", line 303, in get_peak_height_dicts
rows = await cursor.fetchall()
File "/home/pi/chia-blockchain/venv/lib/python3.9/site-packages/aiosqlite/cursor.py", line 65, in fetchall
return await self._execute(self._cursor.fetchall)
File "/home/pi/chia-blockchain/venv/lib/python3.9/site-packages/aiosqlite/cursor.py", line 31, in _execute
return await self._conn._execute(fn, *args, **kwargs)
File "/home/pi/chia-blockchain/venv/lib/python3.9/site-packages/aiosqlite/core.py", line 129, in _execute
return await future
File "/home/pi/chia-blockchain/venv/lib/python3.9/site-packages/aiosqlite/core.py", line 102, in run
result = function()
sqlite3.DatabaseError: database disk image is malformed
So I copied the blockchain and wallet files across again and I'm not getting the error now when I run 'chia start node' but it's still not starting. I'm seeing this now.
(venv) pi@raspberrypi:~/.chia/mainnet $ chia show -c -s
Connection error. Check if full node rpc is running at 8555
This is normal if full node is still starting up
(venv) pi@raspberrypi:~/.chia/mainnet $
Any ideas where I'm going wrong? No log file is being created in mainnet/log/ but when I run 'chai stop node' I get this:
(venv) pi@raspberrypi:~/.chia/mainnet $ chia stop node
chia_full_node: Traceback (most recent call last):
File "/home/pi/chia-blockchain/venv/bin/chia_full_node", line 33, in <module>
sys.exit(load_entry_point('chia-blockchain', 'console_scripts', 'chia_full_node')())
File "/home/pi/chia-blockchain/chia/server/start_full_node.py", line 60, in main
return run_service(**kwargs)
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 255, in run_service
return asyncio.run(async_run_service(*args, **kwargs))
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
self.run_forever()
File "/usr/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
self._run_once()
File "/usr/lib/python3.9/asyncio/base_events.py", line 1854, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.9/selectors.py", line 469, in select
fd_event_list = self._selector.poll(timeout, max_ev)
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 193, in _accept_signal
self.stop()
File "/home/pi/chia-blockchain/chia/server/start_service.py", line 210, in stop
self._node._close()
File "/home/pi/chia-blockchain/chia/full_node/full_node.py", line 704, in _close
self._transaction_queue_task.cancel()
AttributeError: 'FullNode' object has no attribute '_transaction_queue_task'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've just done a fresh install of Raspian 64 bit lite and Chia. My last two attempts ended when the SD card got corrupted, so now I'm booting/running from a 32GB USB stick and I've put the blockchain and wallet db on one of my HDDs, as I had about 80GB spare. I'll probably have to get another drive or SSD sometime when the blockchain gets bigger, but for now I'm OK as those files are only using about 50GB.
I first tried moving the .chia folder from /home/pi to my HDD at /mnt/E6 and then creating a symlink with "ln -s /mnt/E6/.chai ." which worked but when I tried to run chia I got some errors about the permissions being too open (0777 rather than 0644) because the HDD is NTFS so it couldn't set the proper permissions.
So I deleted the symlink and moved most of the folders back to /home/pi/.chia (cache, config, log, run) and ran 'chia init --fix-ssl-permissions' which worked and I'm just using symlinks for the db and wallet folders but when I run 'chia start node' I get:
So I copied the blockchain and wallet files across again and I'm not getting the error now when I run 'chia start node' but it's still not starting. I'm seeing this now.
Any ideas where I'm going wrong? No log file is being created in mainnet/log/ but when I run 'chai stop node' I get this:
Beta Was this translation helpful? Give feedback.
All reactions