Username: Password:

Author Topic: Gunbot Monitor - Oversee all GUNBOTs in one screen  (Read 223867 times)

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #120 on: July 12, 2017, 11:52:04 AM »
gmon update
- Added a option to --compact mode to set a groupSize to draw lines.

Thanks a lot!

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.


I did this update, got an error with the hint to use root, did the update with sudo again.
Message after update looks as if V0.41 is installed now:

npm WARN deprecated fs-promise@0.5.0: Use mz or fs-extra^3.0 with Promise Support
/usr/bin/gmon -> /usr/lib/node_modules/gunbot-monitor/src/index.js
/usr/lib
└─┬ gunbot-monitor@0.0.41
  ├─┬ chalk@1.1.3
  │ ├── ansi-styles@2.2.1
[...]

But if I call gmon, then gmon V0.40 comes up.

Is there still something to do? Change a link or something other?

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #121 on: July 12, 2017, 01:44:47 PM »
I did this update, got an error with the hint to use root, did the update with sudo again.
Message after update looks as if V0.41 is installed now:
[...]
But if I call gmon, then gmon V0.40 comes up.

Try running gmon as root (sudo). If that shows v0.0.41, try updating as non-root again.
If that does not work, we need to dig further.

In that case please give me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls gunbot-monitor && echo "-#- gmon -#-" && ls -lha /usr/bin/gmon && echo "-#- version -#-" && gmon -v && cat /usr/lib/node_modules/gunbot-monitor/package.json | grep version


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #122 on: July 12, 2017, 03:36:13 PM »
Hi BK,

sudo gmon also showed V0.40

The output of your commands line:

NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
-#- nodejs -#-
v6.11.0
-#- modules -#-
/usr/lib
└── gunbot-monitor@0.0.41

-#- gmon -#-
lrwxrwxrwx 1 root root 47 Jul 12 08:55 /usr/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js
-#- version -#-
0.0.40
  "version": "0.0.41"


Seems like V0.0.41 installed. but V0.0.40 started?!?

Additionally

pewi@pewi ~ $ whereis gmon
gmon: /usr/bin/gmon /usr/local/bin/gmon
pewi@pewi ~ $ ls -la /usr/bin/gmon
lrwxrwxrwx 1 root root 47 Jul 12 08:55 /usr/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js
pewi@pewi ~ $ ls -la /usr/local/bin/gmon
lrwxrwxrwx 1 root root 47 Jul 11 07:13 /usr/local/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js

Any idea?

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #123 on: July 12, 2017, 04:11:21 PM »
Any idea?

Hm, maybe

Code: [Select]
npm uninstall -g gunbot-monitor
sudo npm uninstall -g gunbot-monitor
npm install -g gunbot-monitor


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #124 on: July 12, 2017, 06:43:11 PM »
Code: [Select]
npm uninstall -g gunbot-monitor
sudo npm uninstall -g gunbot-monitor
npm install -g gunbot-monitor

and because of

Code: [Select]
npm ERR! Linux 4.4.0-83-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "gunbot-monitor"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

sudo npm install -g gunbot-monitor


Didn't help -same gmon 0.0.40 :-(

Another idea?

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #125 on: July 13, 2017, 10:06:40 AM »
Another idea?

Sure. :)

Try this first:

Code: [Select]
sudo rm /usr/local/bin/gmon
sudo rm /usr/bin/gmon
sudo rm /usr/lib/node_modules/gunbot-monitor/src/index.js
sudo npm install -g gunbot-monitor
gmon -v


If that is still not working, you can change the permissions to npm or change the folder where npm installs the packages:

https://docs.npmjs.com/getting-started/fixing-npm-permissions


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #126 on: July 13, 2017, 03:56:51 PM »
Hi BK,

sorry - didn't work also ...

V0.0.41 again didn't come up ...

... but V0.0.42 :-))

Thanks a lot!

Kind regards, PeWi

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #127 on: July 13, 2017, 04:04:52 PM »
... but V0.0.42 :-))

So removing the symlinks in /usr folder did the trick?


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline PeWi

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #128 on: July 13, 2017, 07:35:37 PM »
So removing the symlinks in /usr folder did the trick?

Can't say, I have only executed all of your commands step by step.
And I don't know nothing about node.js and it's programs to check it by myself.

Fine that it's running now!

(And I will keep the 'rm ..' in mind for the next update.)

Kind regards, PeWi

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #129 on: July 14, 2017, 01:13:12 AM »
Nice software you have here!!
When will the next update come out for profit calculations being fixed?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #130 on: July 14, 2017, 08:03:51 AM »
When will the next update come out for profit calculations being fixed?

https://gunthy.org/index.php?topic=319.msg3247#msg3247


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #131 on: July 14, 2017, 03:06:39 PM »
Are errors not being parsed? Turns out I've had many errors in various pairs but gmon not showing anything in that last column.

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #132 on: July 14, 2017, 03:47:22 PM »
Are errors not being parsed? Turns out I've had many errors in various pairs but gmon not showing anything in that last column.

Depends on the error.

First post or gmon -h gives you all options:
Quote
-E, --show-all-errors        Use to list 422 errors in the last column.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #133 on: July 14, 2017, 08:57:20 PM »
When will the next update come out for profit calculations being fixed?

https://gunthy.org/index.php?topic=319.msg3247#msg3247


BK

Thanks!
Could we get a  security margin line?
If it hasn't already been asked for before 

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #134 on: July 14, 2017, 09:10:36 PM »
Could we get a  security margin line?

I put it on the wishlist.


BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline remi

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #135 on: July 16, 2017, 05:49:07 PM »
Hello everyone!

Fore some reason GB is showing nothing for me. started it from /opt/gunbot/ , which is the place of the GB executable and the config files. Also tried to specify the path with
Code: [Select]
gmon -p /opt/gunbot/. Any ideas?

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #136 on: July 17, 2017, 10:11:26 AM »
Fore some reason GB is showing nothing for me. started it from /opt/gunbot/ , which is the place of the GB executable and the config files. Also tried to specify the path with
Code: [Select]
gmon -p /opt/gunbot/. Any ideas?

Please show me the output of this command:
Code: [Select]
ls -lah /opt/gunbot/*-log*

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xLEEJOHNx

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #137 on: July 19, 2017, 01:17:37 AM »
is there a way to be able to view the whole thing at once
if i run it with -c -s i still can see all of my pairs

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #138 on: July 19, 2017, 07:44:37 AM »
is there a way to be able to view the whole thing at once
if i run it with -c -s i still can see all of my pairs

What do you mean by "the whole thing at once"?

BK
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline xgl2

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Gunbot Monitor - Oversee all GUNBOTs in one screen
« Reply #139 on: July 19, 2017, 11:20:19 AM »
Hello,

I have a Feature Request:
It would be nice to see in the Bottom line, how many pairs are monitored with the monitor, e.g.

= TOTAL (25) =

kind regards,