• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

dashman - linux masternode mangement made mootastic

Hello.
dashman version 0.1.25 (30-g5d6a5f5) - Tue Apr 18 11:04:23 MSK 2017
gathering info, please wait... cannot find dash-cli in current directory, ~/.dashcore, or $PATH. -- Exiting.

dashman Worked fine by this day. But I see directory .dashcore, what happened
 
root@e4658ba3ec87:~/dashman# ./dashman status
dashman version 0.1.25 (36-g7a3f2f1) - Wed Nov 1 00:16:19 UTC 2017
gathering info, please wait... No JSON object could be decoded
DONE!
 
I have a cron
0 1 * * * /home/user/dashman/dashman update -y >> /home/user/log.log 2>&1
But update didn't work in the cron. How to use autoupdate in the cron? Manually start dashman update -y works fine. Thank you
Log of the cron

^[[33m --> Checksumming dashcore-0.12.2.1-linux64.tar.gz... ^[[0mtput: No value for $TERM an$
^[[32mDONE!^[[0m
^[[33m --> Unpacking dashcore-0.12.2.1-linux64.tar.gz... ^[[0mtput: No value for $TERM and n$
^[[33m --> Stopping dashd. Please wait...^[[0mtput: No value for $TERM and no -T specified
^[[32mDONE!^[[0m
^[[33m --> Removing old version... ^[[0mtput: No value for $TERM and no -T specified
^[[32mDONE!^[[0m
mv: cannot stat 'dashcore-0.12.2/bin/dashd': No such file or directory
mv: cannot stat 'dashcore-0.12.2/bin/dash-cli': No such file or directory
mv: cannot stat 'dashcore-0.12.2/bin/dash-qt': No such file or directory
^[[33m --> Launching dashd... ^[[0mtput: No value for $TERM and no -T specified
^[[32mDONE!^[[0m
^[[33m --> Waiting for dashd to respond...^[[0mtput: No value for $TERM and no -T specified
^[[33m^[[32mDONE!^[[0m
^[[33m --> updating sentinel... ^[[0mtput: No value for $TERM and no -T specified
^[[32mDONE!^[[0m
^[[33m --> updating crontab... ^[[0mtput: No value for $TERM and no -T specified
^[[32mDONE!^[[0m
^[[31mdash version 0.12.2.0 is not up to date. (0.12.2.1) Exiting.^[[0m
 
After updating 12.2.2 the status in the wallet: ENABLED
In dashman all green, only:
masternode started: NO

What could it be?

2017-12-19 14_02_38-overnight@mn-aruba_ ~_dashman.jpg
 
After updating 12.2.2 the status in the wallet: ENABLED
In dashman all green, only:
masternode started: NO

What could it be?

View attachment 5605

dashman needed updating to match the new 12.2.2 output.

until I release the next update-required version, do
Code:
dashman sync
to pull in the fix.

note: you can combine sync with a command like this:
Code:
dashman sync status
or
Code:
dashman sync update -y
 
dashman status
Code:
    sentinel installed       : /root/dashman/lib/dashman_functions.sh: line 1128: [: -gt: unary operator expected
NO
    sentinel tests passed    : /root/dashman/lib/dashman_functions.sh: line 1129: [: -eq: unary operator expected
NO
    sentinel crontab enabled : /root/dashman/lib/dashman_functions.sh: line 1130: [: -gt: unary operator expected
NO
    sentinel online          : /root/dashman/lib/dashman_functions.sh: line 1131: [: -eq: unary operator expected
NO - sync incomplete
Exiting.
Is there something wrong? It's fresh git instalation.
 
Can you please post details of how you installed dashman?
 
apt-get update
apt-get install git
git clone https://github.com/moocowmoo/dashman.git
cd dashman
./dashman install

You need to install sentinel if you're running a masternode. A piece of documentation I keep meaning to add.

Code:
./dashman install sentinel

will fix you right up.

I'll make a note to check for sentinel on an enabled masternode before trying the tests.

Let me know if this doesn't fix things!
 
You need to install sentinel if you're running a masternode. A piece of documentation I keep meaning to add.

Code:
./dashman install sentinel

will fix you right up.

I'll make a note to check for sentinel on an enabled masternode before trying the tests.

Let me know if this doesn't fix things!
got sentinel, but installed manually. Will try install through dashman.
 
You need to install sentinel if you're running a masternode. A piece of documentation I keep meaning to add.

Code:
./dashman install sentinel

will fix you right up.

I'll make a note to check for sentinel on an enabled masternode before trying the tests.

Let me know if this doesn't fix things!
Code:
root@vultr:~/dashman# ./dashman install sentinel
missing dependency: python-virtualenv python-virtualenv

/root/dashman/lib/dashman_functions.sh: line 186: sudo: command not found
dashman version 0.1.26 (42-g31e3418) - Tue Mar  6 10:00:49 UTC 2018
gathering info, please wait...  DONE!
  --> Downloading sentinel... DONE!
  --> installing dependencies...
   --> virtualenv init... /root/dashman/lib/dashman_functions.sh: line 1219: virtualenv: command not found
  --> virtualenv initialization failed
  when running:
    virtualvenv venv
Exiting.

root@vultr:~/dashman# apt-get install python-virtualenv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-virtualenv is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
root@vultr:~/dashman#
 
You need to find and install the package that contains `virtualenv`

what platform are you on?
 
You need to find and install the package that contains `virtualenv`

what platform are you on?
"python-virtualenv is already the newest version." doesn't that mean that I alredy have virtualenv ?
I've tried 3 platforms debian9, debian8, ubuntu 16.04 no one was succesfull, but I'm not sure yet, problems could slightly differ.
 
Possibly a python/python3 problem, eh @moocowmoo

I've had this problem before and I forget how I solved it... Try pip install virtualenv rather than python-virtualenv. No guarantee that does it though.
 
unary operator expected

I am getting that error today. Here is my fix:

Edit the file lib/dashman_functions.sh
look for the line:
if [ -e $INSTALL_DIR/sentinel ]; then

and just before it, add (use the correct directory of course):
INSTALL_DIR=/home/dash/.dashcore

This will manually force the script to find the correct directory. The error is gone! dashman version 0.1.27 (0.1.27-dirty)
 
DASHMAN is no longer supported, do not use it.
It has recently been forked, do not trust any DASHMAN forks!
For Evo, release December 2020, there will be dash-masternode-deploy which will be similar to dashman, but maintained by DCG, use that one.
In the meantime, use my guide for setting up pre-Evo MN under guides in this forum.
 
Back
Top