Having issues? Things not working as expected?
Here are a few ‘Gotchyas’ that we’ve encountered and what to check/how to fix them.
One of the first things to check is folder permissions. The installer tries to figure out what user is running the installer and set the permissions for the folders it creates appropriately. If this does not happen properly the user you run “app.sh” as may not have permission to access the necessary folders.
Items to Check¶
There are 2 main items that need their permissions checked:
These need to be owned by the user who is going to run “app.sh”:
sudo chown -R <youruser>:<youruser> /var/lib/mastercoin-tools sudo chown -R <youruser>:<youruser> /home/<youruser>/mastercoin-tools
One of the other issues we’ve seen is when sx ‘Hangs’ or just fails to respond. Also visible if you are watching the system processes (command below) and notice it not moving/changing from the same command
watch 'ps aux | grep -i -e sx -e sleep | grep -v grep'
Items to Check¶
- The user running app.sh or calling sx commands needs to have a/the sx config file in the home directory of the user running “app.sh”
- Also check to make sure the sx server is actually responding
#should return the block height number of the obelisk server sx fetch-last-height #should return the block height number of blockchain.info sx bci-fetch-last-height
- Make sure you are running “app.sh” as the user who has the sx config file in their home directory
- Try a different sx server. We have had decent experience using: obelisk.bysh.me:9091