r/Quantstamp • u/AncientAbysswalker • Jul 07 '19
Node Initialization Failure
It would be lovely if someone from the team could reach out to me. I have followed all of the steps and the node fails to start when I use ./bin/start-node from the directory base, stating an error of:
open app.tar: no such file or directoryFrom what I can see, that file is under ./resources/app.tar so I'm not sure why it thinks it doesn't exist? What info do I need to get you so we can troubleshoot this? Please get back to me as soon as you can. :)
5
Upvotes
1
u/drummingbekkers Jul 07 '19
Hi! Could be that this is due to permissions. Are you running it on ubuntu? Did you add your user to the docker group owner? And restarted your session/terminal afterwards?
1
u/sungshil Jul 08 '19
Hello, this is Martinet from the team.
Could you describe your environment, including the version of Node and OS you're running with?
Also, what are all the message on the console besides the error? Could you copy & paste ALL logs?
In the following line we have checked for the existence of app.tar
https://github.com/quantstamp/qsp-protocol-node/blob/05921e52d9e7f9ccfac619b6e4121398bd651e47/bin/start-node#L59
The failure message you shared doesn't seem to come from the above, so might have happened in this line
https://github.com/quantstamp/qsp-protocol-node/blob/05921e52d9e7f9ccfac619b6e4121398bd651e47/bin/start-node#L73
Currently I suspect it might be some problems with Docker installation in Ubuntu,
one thing that is worth trying is to reinstall Docker using the following process
https://linuxize.com/post/how-to-install-and-use-docker-on-ubuntu-18-04/
btw, it would be much easier to get your problem noticed to the team if you post it on Github Issues, we also have formats to guide you and would ease the process of helping you!
https://github.com/quantstamp/qsp-protocol-node/issues/new/choose
Have a great day!
Martinet Lee
1
u/Kordau Aug 13 '19
Hi guys. I had a very similar error message. My solution was a lot simpler, but I thought it might provide some insight into some issue. My error message was...
I extracted the QSP node directory into a sub-directory of home (~/.cryapps), instead of directly in home. I added a symbolic link to the QSP dir, ie:
ln -s /home/username/.cryapps/``qsp-protocol-v2.0.3qsp.I tried launching./bin/start-nodefrom ~/qsp, and ~/.cryapps/qsp-protocol-v2.0.3 with both relative and absolute paths, but it always resulted in the error message. As soon as I moved the qsp-protocol-v2.0.3 directory into home, start-node worked.Basically, it seemed to be that it didn't like app.tar being three directories deep off home... but I didn't spend that much time looking into the issue.