Username: Password:

Author Topic: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)  (Read 113774 times)

Offline berti

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #160 on: July 27, 2017, 05:14:04 AM »
Great work on this generator, it really made getting gunbot on Linux up and running a breeze. I have a question though, and forgive me if this isn't related to having started my pairs with your generator but I thought I would ask here anyway.

One of my pairs seems so have turned off show 'off' in the pm2 column of gmon. When I try to start this pair by running pm2 restart on its id its says it cannot find this process. What happened to the bot on this pair and what is the graceful way to have pm2 restart and log the bot on that same pair again?

Offline redindian

  • Rookie
  • *
  • Posts: 13
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #161 on: August 02, 2017, 09:43:10 PM »
Been using this great script to get up and running. Just tried to update the script to install newest v3.3.5, but can't get it to run. When I manually start a pair it will show up in pm2, but not using the generator with ginit.

Any chance for an update?

Or may tell me how it knows the executable and parameters, because the main binary seems to be renamed from gunthy-linuxx64 to gunthy-linx64. (Also tried to rename it to the old name, but still error on starting using ginit).

Thanks!

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #162 on: August 04, 2017, 08:00:34 AM »
One of my pairs seems so have turned off show 'off' in the pm2 column of gmon. When I try to start this pair by running pm2 restart on its id its says it cannot find this process. What happened to the bot on this pair and what is the graceful way to have pm2 restart and log the bot on that same pair again?

Does the command gl show anything?



Any chance for an update?

Not for the RC, no. The whole way how to setup the Bot has changed so much in 3.3.3, the generator (ginit) need some major changes to work again. And since Gunthar is still changing stuff, it would need an update of the generator for every RC release.

So lets wait till the final version of the Gunbot is out, then evaluate how much work it would be to rewrite the generator, then find a way to get payed for that work and booom, it will be updated. ;)


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

Offline kin0

  • Rookie
  • *
  • Posts: 19
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #163 on: August 06, 2017, 01:55:41 PM »
I have an issue where when I leave the bot and I stop them all, I can no longer then run the "ginit" or "gstart" command from my folder.  I have to run the Curl command to do the full install again and then the commands work again.

Code: [Select]
No command 'gstart' found, did you mean:
 Command 'rstart' from package 'x11-session-utils' (main)
 Command 'gkstart' from package 'gnukhata-core-engine' (universe)
 Command 'start' from package 'upstart' (main)
 Command 'kstart' from package 'kde-runtime' (universe)
 Command 'gstat' from package 'ganglia-monitor' (universe)

How would I be able to check and ensure the scripts are installed and loading correctly.


Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #164 on: August 07, 2017, 01:05:20 PM »
I have an issue where when I leave the bot and I stop them all, I can no longer then run the "ginit" or "gstart" command from my folder.  I have to run the Curl command to do the full install again and then the commands work again.

What OS are you using?
The install script adds these commands to the bashrc: https://github.com/BeerK0in/generator-gunbot/blob/master/install.sh#L67

Maybe you are using another user then root?


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

Offline krunalbarot

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #165 on: August 08, 2017, 05:53:57 PM »
ok so a full newbie question(yet to buy gunbot)..
how many pairs we can trade on a AWS linux version ? the free tier one i mean..
i read that 25 pairs on the windows one for aws .. is that still correct ?

thanks

Offline WindyCityCrypto

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT in less than 5 minutes (linux)
« Reply #166 on: August 09, 2017, 05:16:08 AM »
I have the same issue as listed here. I tried the second suggestion and the list is empty. How do I fix this problem any help is greatly appreciated.
ERROR! - There was an error starting GUNBOT for BTC_EXP:
1


I have this error everytime I want to run it. Any Idea?

1. How many trade pairs are you going to start?
2. If you enter "gl", is there an empty list or is BTC_EXP in the list, but stopped?
3. Is there a log file for BTC_EXP? (enter "tail -n 30 /opt/gunbot/poloniex-BTC_EXP-log.txt" to see the last 30 lines, if it exists)
4. Is there a config file for BTC_EXP? (enter "ll /opt/gunbot/*BTC_EXP*" to see all files for that pair)

Offline WindyCityCrypto

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT in less than 5 minutes (linux)
« Reply #167 on: August 09, 2017, 05:47:43 AM »
Is running linux mint kde going to effect this issue being able to be solved?
ERROR! - There was an error starting GUNBOT for BTC_EXP:
1


I have this error everytime I want to run it. Any Idea?

1. How many trade pairs are you going to start?
2. If you enter "gl", is there an empty list or is BTC_EXP in the list, but stopped?
3. Is there a log file for BTC_EXP? (enter "tail -n 30 /opt/gunbot/poloniex-BTC_EXP-log.txt" to see the last 30 lines, if it exists)
4. Is there a config file for BTC_EXP? (enter "ll /opt/gunbot/*BTC_EXP*" to see all files for that pair)

Offline turbosteel1

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #168 on: August 09, 2017, 06:11:52 PM »
Hi

Whenever I run ginit and come to : Select the currencies you want to trade: (Press <space> to select, <a> to toggle all, <i> to inverse selection)

it's always taking 1ST only and not able to select the coin event I press space and coin don't select.

Kindly Suggest

Regards
Turbo

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT in less than 5 minutes (linux)
« Reply #169 on: August 10, 2017, 12:41:00 AM »
I have the same issue as listed here. I tried the second suggestion .

You mean you have read the part "Known Errors" in the 1. post of this thread and tried all options to solve the error?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy





Whenever I run ginit and come to : Select the currencies you want to trade: (Press <space> to select, <a> to toggle all, <i> to inverse selection)

it's always taking 1ST only and not able to select the coin event I press space and coin don't select.

What system are you using?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy


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

Offline SpiryBTC

  • Rookie
  • *
  • Posts: 11
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #170 on: August 10, 2017, 01:46:17 AM »
I've tried to move the logs & trades that have been done on my laptop to VPS with this lil script and it cannot start coins...it fails to start them :( no history and it will screw my trades..

Offline Kivo360

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #171 on: August 10, 2017, 04:54:14 AM »
I'm struggling to get the scripts started with this generator. I keep getting errors after following the two debugging instructions on the first page of this forum. Why is this happening?

Here are two screenshots of what I currently have

Before first debugging instructions:

And another



After instructions:



Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #172 on: August 10, 2017, 11:28:16 AM »
I've tried to move the logs & trades that have been done on my laptop to VPS with this lil script and it cannot start coins...it fails to start them :( no history and it will screw my trades..

So what are the steps you did on your VPS?
I would suggest:
1. Run ginit and create all pairs.
2. Copy your logs and trades to the folder '/opt/gunbot/'


Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy





I'm struggling to get the scripts started with this generator. I keep getting errors after following the two debugging instructions on the first page of this forum. Why is this happening?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy


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

Offline gaia

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #173 on: August 11, 2017, 08:45:36 AM »
i am going to install on headless ubuntu. for installing, is this topic still applicable or do i just do npm install?

thanks

Offline lexx790

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #174 on: August 14, 2017, 06:49:29 AM »
I have been having issues with an empty list showing up after I type in gl.

I've tried killing the PM2 God Deamon, and remove the content in ~/.pm2/, as well as doing a pgrep -f gunthy | xargs kill -9, to no avail. The list always shows up empty.

I'm using Ubuntu 16.04 and Gunbot v3.3.2 (installed as root)

Any ideas? :)

Offline Kivo360

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #175 on: August 19, 2017, 04:47:01 AM »
I've tried to move the logs & trades that have been done on my laptop to VPS with this lil script and it cannot start coins...it fails to start them :( no history and it will screw my trades..

So what are the steps you did on your VPS?
I would suggest:
1. Run ginit and create all pairs.
2. Copy your logs and trades to the folder '/opt/gunbot/'


Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy





I'm struggling to get the scripts started with this generator. I keep getting errors after following the two debugging instructions on the first page of this forum. Why is this happening?

Can you provide me the output of this command:

Code: [Select]
echo "-#- release -#-" && cat /etc/*release && echo "-#- nodejs -#-" && node -v && echo "-#- modules -#-" && npm -g ls generator-gunbot pm2 && echo "-#- aliases -#-" && cat ~/.bashrc | grep ginit && echo "-#- gunbot -#-" && ls -lah /opt/gunbot/ | grep gunthy && echo "-#- PM2 -#-" && pgrep -f PM2 && echo "-#- PM2 gunthy processes -#-" && pgrep -f gunthy


BK


Here you go:

Code: [Select]
-#- release -#-
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"
NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.04"
VERSION_ID="17.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=zesty
UBUNTU_CODENAME=zesty
-#- nodejs -#-
v6.11.2
-#- modules -#-
/usr/lib
├── generator-gunbot@0.1.26
└── pm2@2.6.1

-#- aliases -#-
alias ginit='gcd && yo gunbot init'
alias ginit='gcd && yo gunbot init'
-#- gunbot -#-
-rwxr-xr-x 1 root root  45M Aug 19 03:37 gunthy-linuxx64
-rwxr-xr-x 1 root root  43M Aug 19 03:37 gunthy-linuxx86
-rwxr-xr-x 1 root root  45M Aug 19 03:37 gunthy-macos
-rwxr-xr-x 1 root root  29M Aug 19 03:37 gunthy-x86.exe
-#- PM2 -#-
4714
-#- PM2 gunthy processes -#-
4777





Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #176 on: August 23, 2017, 03:51:46 PM »
Could this be run on Raspberry PI?

No, sorry.
Gunbot Monitor
Support gmon and send a tip: BTC wallet: 1GJCGZPn6okFefrRjPPWU73XgMrctSW1jT

Offline beer-k0in

  • Contributor
  • **
  • Posts: 142
  • Beer beer beer
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #177 on: August 23, 2017, 03:56:37 PM »
Here you go:

Code: [Select]
...
-#- PM2 -#-
4714
-#- PM2 gunthy processes -#-
4777

This is an indicator for one running gunbot.
Can you try this again:

The nasty one

Sometimes the PM2 God Deamon got detached from your (root-)user and you will see an empty list if you enter 'gl' BUT if you run 'pgrep -f BTC_XXX' you will see a id a result.

So the Gunbot is running but pm2 does not want to see it.

You need to kill the PM2 God Deamon, and remove the content in ~/.pm2/:

Code: [Select]
pgrep -f PM2 | xargs kill -9
Wait like 2 to 5 min till all Gunbots also stopped.
Check if there are running Gunbots
Code: [Select]
pgrep -f gunthyIf the dont stop, also kill them
Code: [Select]
pgrep -f gunthy | xargs kill -9
Now remove the content of ~/.pm2/
Code: [Select]
rm -r ~/.pm2/*
And run run 'ginit' again.

And then copy the error message.


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

Offline xgast

  • Rookie
  • *
  • Posts: 10
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #178 on: August 24, 2017, 06:33:18 PM »
Hi @beer-k0in,
How to  install very old version of your Gunbot Generator.. Several new versions of your generator always getting me ERROR 1 things every time want to run ginit command to create several pairs.. It's not happened on generator version that release around two months ago, I can run ginit to create much pairs with easy and smoothly..
I already tried any solutions that you offer on several posts but still getting ERROR 1 message.. Really need your help.. Thanks
« Last Edit: August 25, 2017, 01:42:26 AM by xgast »

Offline PasserOfTheBuck

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Generator-Gunbot - Setup GUNBOT v3.3.2 in less than 5 minutes (linux)
« Reply #179 on: August 25, 2017, 08:29:43 AM »
I get the same error as everyone else. glog shows the following:

/root/.pm2/logs/BTC-STEEM-B-error-0.log last 15 lines:
0|BTC_STEE | (node:4561) DeprecationWarning: Calling an asynchronous function without callback is deprecated.

I tried reverting back to generator-gunbot@0.1.8, is this an issue with node updates? the script installed v6.11.2. Looks as though version v6.10.3 was the latest version when generator-gunbot was released (start of this thread)
« Last Edit: August 25, 2017, 08:36:23 AM by PasserOfTheBuck »