Open sdalmeida opened 6 years ago
"type storjshare" didn't work for me because the location storjshare was installed (/opt/storjshare) was in the PATH variable. It works after typing "PATH=$PATH:/opt/storjshare" in bash, however re-running register_storjdash still failed because it required sudo.
The final solution was adding /opt/storjshare to secure_path in the /etc/sudoers file.
@chadotter can you tell me how add /opt/storjshare on secure path? Actually line is: secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$ Where I must add /opt/storjshare ? If you can pls paste your secure_path's line
OS: ethOS 1.2.7 Python 3.5.2 pip 1.5.4
When running
sudo register_storjdash
, I get the following errorLooking at the code, it seems that you are trying to find the installation directory for
storjshare
(by navigating through all folder structure in the system).I fixed this issue by going into the code and specifying the path for
storjshare
. To find thestorjshare
location, I used this commandminer> type storjshare
storjshare is /home/ethos/.nvm/versions/node/v9.2.0/bin/storjshare
=== UPDATE ===
Looks like this issue was fixed here: 6fa7e0b7.