Cannot get past permission errors... #444
-
System Info. Ubuntu 20.04 LTS, Ryzen 3700x, 1 OS nvme (1TB), 2 Plot NVME (2TB) , 8 HDD for Dest / Farm. So I've got Chia installed and synced.. I've got plotman configured to write logs to (log: /home/chialogs). But no matter what sort of CH modding I do that directory. I run into 2 issues.
Error Message after (venv) backhoe@farm1:~/chia-blockchain$ plotman interactive
Traceback (most recent call last):
File "/home/backhoe/chia-blockchain/venv/lib/python3.8/site-packages/plotman/manager.py", line 135, in maybe_start_new_plot
open_log_file = open(logfile, 'x')
FileNotFoundError: [Errno 2] No such file or directory: '/home/chialogs/2021-05-14T11_50_19.626392-07_00.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/backhoe/chia-blockchain/venv/bin/plotman", line 8, in <module>
sys.exit(main())
File "/home/backhoe/chia-blockchain/venv/lib/python3.8/site-packages/plotman/plotman.py", line 173, in main
interactive.run_interactive()
File "/home/backhoe/chia-blockchain/venv/lib/python3.8/site-packages/plotman/interactive.py", line 334, in run_interactive
curses.wrapper(curses_main)
File "/usr/lib/python3.8/curses/__init__.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/home/backhoe/chia-blockchain/venv/lib/python3.8/site-packages/plotman/interactive.py", line 117, in curses_main
(started, msg) = manager.maybe_start_new_plot(
File "/home/backhoe/chia-blockchain/venv/lib/python3.8/site-packages/plotman/manager.py", line 153, in maybe_start_new_plot
raise Exception(message) from e
Exception: Unable to open log file. Verify that the directory exists and has proper write permissions: '/home/chialogs/2021-05-14T11_50_19.626392-07_00.log' |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
That is an odd place to add a random directory. |
Beta Was this translation helpful? Give feedback.
-
Inside you can see some of the files I was messing around with. right now the directory is set to 777 via CHMOD but the "newfile" I just made is still showing 664.
|
Beta Was this translation helpful? Give feedback.
-
I found out what was wrong... Or rather.. what worked better. I needed to make the string in plotman.yaml to the following, and then this same directory worked straight away with 764 permissions. /home/backhoe/chialogs |
Beta Was this translation helpful? Give feedback.
I found out what was wrong... Or rather.. what worked better. I needed to make the string in plotman.yaml to the following, and then this same directory worked straight away with 764 permissions.
/home/backhoe/chialogs