Storj-Dashboard-Client
Storj-Dashboard-Client copied to clipboard
Storjdash fails to find the storjshare location
OS: ethOS 1.2.7 Python 3.5.2 pip 1.5.4
When running sudo register_storjdash
, I get the following error
File "/usr/local/lib/python3.5/dist-packages/storjreports/register_server.py", line 102, in look_for_storj look_for_storj(item.path) File "/usr/local/lib/python3.5/dist-packages/storjreports/register_server.py", line 102, in look_for_storj look_for_storj(item.path) .... File "/usr/local/lib/python3.5/dist-packages/storjreports/register_server.py", line 102, in look_for_storj look_for_storj(item.path) File "/usr/local/lib/python3.5/dist-packages/storjreports/register_server.py", line 100, in look_for_storj OSError: [Errno 40] Too many levels of symbolic links: '/home/ethos/.local/share/teamviewer12/drive_c/users/ethos/My Documents/.local/share/teamviewer12/drive_c/users/ethos/My Documents/.local/share/teamviewer12/drive_c/users/ethos/My Documents/.local/share/teamviewer12/drive_c/users/ethos/My Documents/.local/share/teamviewer12/drive_c/users/ethos/My Documents/.local/share/teamviewer12/drive_c/users/ethos/My Documents/.local/share/teamviewer12/drive_c/users/ethos/............ and so on
Looking 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 the storjshare
location, I used this command
miner> type storjshare
storjshare is /home/ethos/.nvm/versions/node/v9.2.0/bin/storjshare
=== UPDATE ===
Looks like this issue was fixed here: 6fa7e0b7.
"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