Open jayhohoho2019 opened 3 years ago
(as discussed in keybase, but documenting here)
I thought plotman intended to create those directories if needed, but I need to look back at that. In this case, you want to add a logging:
disk_spaces:
config entry for the new disk space check logs.
This addressed their immediate issue. The next issue is being addressed in https://github.com/ericaltendorf/plotman/pull/926.
can anyone spell the solution out to me like I'm a 5yo? Appreciated :)
I make a new entry logging: in plotman.yaml? And same for disk_spaces? What values do they get?
When dealing with the config file it is always best to share your full file so we can provide the most direct help. Also, your exact error. If you have specified other logging directories in your config then you would add a disk_spaces:
entry as below and make sure the directory you configure exists.
logging:
# One directory in which to store all plot job logs (the STDOUT/
# STDERR of all plot jobs). In order to monitor progress, plotman
# reads these logs on a regular basis, so using a fast drive is
# recommended.
plots: /home/jh/plotmanlogs/plots
transfers: /home/jh/plotmanlogs/transfers
application: /home/jh/plotmanlogs/plotman.log
disk_spaces: /home/jh/plotmanlogs/disk_spaces.log
If you have not specified other logging paths then create the directory (not the file) that was listed in the error.
If this doesn't help, please share your full config and the prompt, command, and output for the error. Then we can provide more explicit instructions for your case.
I had the exact same error, also after updating.
Solution for me was adding the following line, including a file:
disk_spaces: /home/jh/plotmanlogs/disk_spaces/diskspaces.log
Otherwise plotman will throw an error that a folder was specified instead of a log file.
Describe the bug
To Reproduce
Steps to reproduce the behavior, e.g.:
System setup:
Config
full configuration
```yaml # paste your complete configuration file contents here. # Default/example plotman.yaml configuration file # https://github.com/ericaltendorf/plotman/wiki/Configuration#versions version: [2] logging: # One directory in which to store all plot job logs (the STDOUT/ # STDERR of all plot jobs). In order to monitor progress, plotman # reads these logs on a regular basis, so using a fast drive is # recommended. plots: /home/jh/plotmanlogs/plots transfers: /home/jh/plotmanlogs/transfers application: /home/jh/plotmanlogs/plotman.logAdditional context & screenshots Note I'm only running "plotman archive" with screen. Not using interactive, or for plotting.