guydavis / machinaris

An easy-to-use WebUI for crypto plotting and farming. Offers Bladebit, Gigahorse, MadMax, Chiadog and Plotman in a Docker container. Supports Chia, MMX, Chives, Flax, and HDDCoin among others.
Apache License 2.0
340 stars 69 forks source link

Update to 0.6.6 broken plotting #448

Closed saboluigi closed 2 years ago

saboluigi commented 2 years ago

Updated to 0.6.6 on an Unraid server, causing the following error message when starting plotting.

Errors during plotman status: Traceback (most recent call last): File "/chia-blockchain/venv/bin/plotman", line 8, in sys.exit(main()) File "/chia-blockchain/venv/lib/python3.9/site-packages/plotman/plotman.py", line 247, in main with cfg.setup(): File "/usr/lib/python3.9/contextlib.py", line 117, in enter return next(self.gen) File "/chia-blockchain/venv/lib/python3.9/site-packages/plotman/configuration.py", line 470, in setup plotman.plotters.madmax.check_configuration( File "/chia-blockchain/venv/lib/python3.9/site-packages/plotman/plotters/madmax.py", line 34, in check_configuration completed_process = subprocess.run( File "/usr/lib/python3.9/subprocess.py", line 505, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.9/subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'chia_plot'

guydavis commented 2 years ago

Please see: https://github.com/guydavis/machinaris/wiki/Troubleshooting Then attach the contents of /tmp/madmax_setup.log from within your container:

docker exec -it machinaris bash
cp /tmp/madmax_setup.log /root/.chia/

Find the madmax_setup.log in ~/.machinaris file and attach it here.

As per the Github defect ticket template, please provide all details requested. Thanks!

zybron commented 2 years ago

Attaching requested logs: docker.log madmax_setup.log

guydavis commented 2 years ago

Great! Very interesting issue as it seems to only affect certain hardware. In the Discord, it seems this proposed patch from @karaliux may help. I am currently investigating and testing. Will update here when a fix that works for all is ready.

cptnyehy0 commented 2 years ago

having the same issue and error. Would it be helpful for me to include my logs and details as well?

guydavis commented 2 years ago

Hi all, thanks for your patience on this one. Big thanks to @karaliux for pointing out a solution for this. As well, I see upstream Madmax repository just got a commit as well. I've included both fixes in the v0.6.7 :test images for Machinaris.

To confirm, please update your Chia (machinaris) and Chives (machinaris-chives) containers you plot with to the :test image (pre v0.6.7). This will include the fix for building madmax. After launch of the container, please allow at least 15 minutes for full startup. Then try out plotting and let me know if you are able to plot again with Madmax.

k2skaterii commented 2 years ago

Never a fan of "It's working don't fix it"... And a fan of Sailor Jerry + Pepsi... I was convinced that I screwed something up when I couldn't plot in 0.6.6.

At the time I was plotting on my TrueNAS-Scale system - and I've been noticing 180GB of RAM sitting idle on that system. Right around the time things stopped working, I was attempting to mount a RAM Disk to my container. From there things spiraled into - DELETE the container.

If it's useful, I can attempt to recreate and provide logs. Probably more useful if I can deploy the test image to my Scale system and let ya know though.

cptnyehy0 commented 2 years ago

Test branch resolved my error and madmax plotting issue, thanks for the quick action!

saboluigi commented 2 years ago

Test branch also resolved mine, thank you so much!

zybron commented 2 years ago

In case you missed it in the discord, the test branch fixed my plotting issue as well.

k2skaterii commented 2 years ago

Missed it in discord.  I totally did.  Should be working right now... Entertaining a 4yr old... Trying to figure out how to modify this chart to pull the test image.  Didn't get to Discord ;)Thank you!On Nov 30, 2021 10:39 AM, zybron @.***> wrote: In case you missed it in the discord, the test branch fixed my plotting issue as well.

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

guydavis commented 2 years ago

Please try with now released version 0.6.7.

guydavis commented 2 years ago

Marking as closed, now that version 0.6.7 is out.