-
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 4 replies
-
Welcome! No, if you followed the Getting Started guide and either created or imported a key during Machinaris setup, then the other fork containers will be able to use it. At this point it looks like you are syncing from scratch the 3 blockchains (Chia, Flax, Chives). That can take a couple of days. Regarding your plots directories, try this from a shell and let me know what you see:
Also, please confirm for me that you chose to override the default in-container path of |
Beta Was this translation helpful? Give feedback.
-
@guydavis thank you for the fast reply. As of the drives, I found a mistake as I was mounting the drives root folder rather than the subdir which contained the plots. Corrected and relaunched and now all plots are visible. Here's my version: '3.7'
services:
machinaris:
image: ghcr.io/guydavis/machinaris:latest
container_name: machinaris
hostname: chachacha
restart: always
volumes:
- ~/.machinaris:/root/.chia
- "/mnt/evo/chia/temp:/evo_temp"
- "/mnt/evo/chia/final:/evo_final"
- "/mnt/hdd01/chia_final:/hdd01"
- "/mnt/hdd02/chia_final:/hdd02"
environment:
- TZ=Europe/Brussels
- mode=fullnode
- worker_address=192.168.1.133
- plots_dir=/evo_final:/hdd01:/hdd02
- blockchains=chia
ports:
- 8926:8926
- 8927:8927
- 8444:8444
- 8447:8447
machinaris-chives:
image: ghcr.io/guydavis/machinaris-chives:latest
container_name: machinaris-chives
hostname: chachacha
restart: always
volumes:
- ~/.machinaris-chives:/root/.chia
- ~/.machinaris/mnemonic.txt:/root/.chia/mnemonic.txt:ro
- "/mnt/evo/chia/temp:/evo_temp"
- "/mnt/evo/chia/final:/evo_final"
- "/mnt/hdd01/chia_final:/hdd01"
- "/mnt/hdd02/chia_final:/hdd02"
environment:
- TZ=Europe/Brussels
- mode=fullnode
- controller_host=192.168.1.133
- worker_address=192.168.1.133
- worker_api_port=8931
- plots_dir=/evo_final:/hdd01:/hdd02
- blockchains=chives
ports:
- 8931:8931
- 9699:9699
- 9647:9647
depends_on:
- machinaris So far, my only remaining question is: Why there's no info about Chives in GUI ? |
Beta Was this translation helpful? Give feedback.
-
Hi, glad to hear all those questions were answered. Not sure, what you mean by Regarding Chives, please consult the Workers page. If you don't see a row for Chives, then check the following logs:
EDIT: Typo in my screenshots, obviously don't use |
Beta Was this translation helpful? Give feedback.
-
Docker logs doesnt say anything: $ docker logs -f machinaris-chives
Welcome to Machinaris! - v0.6.4 - fullnode
Configuring Chives...
Adding key at path: /root/.chia/mnemonic.txt
Added plot directory "/hdd01".
Added plot directory "/hdd02".
Daemon not started yet
Starting daemon
chives_harvester: started
chives_farmer: started
chives_full_node: started
chives_wallet: started
Configuring Plotman...
Configuring Chiadog...
Starting Chiadog...
Starting Machinaris API server...
Starting Machinaris Web server...
Completed startup. Browse to port 8926.
Starting farmr for chives in Farmer mode...
============================================
Your id is a27_xxx_cc, visit https://farmr.net to add it to your account.
Alternatively, you can also link it through farmrbot (a discord bot) by running the following command:
!chia link a27_xxx_cc
to link this client to your discord user
You can interact with farmrbot in Swar's Chia Community
Open the following link to join the server: https://discord.gg/fghFbffYsC
============================================
Buy plots from the cheapest automated plotting service in the world at expressplots.com!
Running in headless mode
No plots have been found! Make sure your user has access to the folders where plots are stored.
ID a27_xxx_cc is not linked to an account.
Link it in farmr.net or through farmrbot and then start this program again
Press enter to quit The logfile however after a while spits a lot of errors, here' a sample: 2021-11-15 23:27:35 [664] [INFO] Job "keys (trigger: interval[0:02:00], next run at: 2021-11-15 23:30:08 CET)" executed successfully
2021-11-15 23:27:35 [664] [INFO] Running job "partials (trigger: interval[0:02:00], next run at: 2021-11-15 23:30:29 CET)" (scheduled at 2021-11-15 23:27:35.401894+01:00)
2021-11-15 23:27:37 [664] [INFO] Running job "pools (trigger: interval[0:02:00], next run at: 2021-11-15 23:30:29 CET)" (scheduled at 2021-11-15 23:27:37.544068+01:00)
2021-11-15 23:27:37 [664] [INFO] Job "pools (trigger: interval[0:02:00], next run at: 2021-11-15 23:30:29 CET)" executed successfully
2021-11-15 23:27:38 [664] [INFO] Running job "connections (trigger: interval[0:02:00], next run at: 2021-11-15 23:30:31 CET)" (scheduled at 2021-11-15 23:27:38.747763+01:00)
2021-11-15 23:27:43 [664] [INFO] Failed to load plotting summary and send.
2021-11-15 23:27:43 [664] [INFO] Failed to load plotting summary and send.
2021-11-15 23:27:43 [664] [INFO] Traceback (most recent call last):
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1248, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1008, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 948, in send
self.connect()
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0a434df40>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.133', port=8927): Max retries exceeded with url: /plottings/192.168.1.133/chives (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0a434df40>: Failed to establish a new connection: [Errno 110] Connection timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/machinaris/api/schedules/status_plotting.py", line 45, in update
utils.send_delete('/plottings/{0}/{1}'.format(hostname, blockchain), debug=False)
File "/machinaris/api/utils.py", line 42, in send_delete
response = requests.delete(controller_url + path, headers = headers)
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/api.py", line 159, in delete
return request('delete', url, **kwargs)
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.133', port=8927): Max retries exceeded with url: /plottings/192.168.1.133/chives (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0a434df40>: Failed to establish a new connection: [Errno 110] Connection timed out'))
2021-11-15 23:27:43 [664] [INFO] Traceback (most recent call last):
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1248, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1008, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 948, in send
self.connect()
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0a434df40>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/chives-blockchain/venv/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/chives-blockchain/venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.133', port=8927): Max retries exceeded with url: /plottings/192.168.1.133/chives (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0a434df40>: Failed to establish a new connection: [Errno 110] Connection timed out')) |
Beta Was this translation helpful? Give feedback.
-
It finally works after opening all ports in my machine's firewall Searching for an initial chain
You may be able to expedite with 'cactus show -a host:port' using a known node.
Blockchain has no blocks yet I don't get what needs to be done ? Finally, given I only have free 120GB in main disk in which these containers are deployed, I wonder if this size is enough ? I know that my previous chia folder alone was almost 20GB, so I wonder what the final size will be for all xD ...
volumes:
- ~/.machinaris-cactus:/root/.chia
- ~/.machinaris/mnemonic.txt:/root/.chia/mnemonic.txt:ro
- ... |
Beta Was this translation helpful? Give feedback.
-
Gotcha, thank you so much <3 it was quite a ride xD |
Beta Was this translation helpful? Give feedback.
-
@guydavis I am back for one last question: I am using a small machine for farming and syncing is using all resources (CPU at 100%) and at this pace it might take up to 10 days ty fully sync. |
Beta Was this translation helpful? Give feedback.
Hi, glad to hear all those questions were answered. Not sure, what you mean by
evo
, but if you are not plotting, then don't mount a 'Plotting Temp' volume. You're certainly not forced to provide one in-order to generate a docker-compose.yml:Regarding Chives, please consult the Workers page. If you don't see a row for Chives, then check the following logs:
docker logs -f machinaris-chives
EDIT: Typo in my screenshots, obviously don't use
/hdd01
twice as I did.