BTB-Install-script icon indicating copy to clipboard operation
BTB-Install-script copied to clipboard

Ubuntu Version

Open pool2mine opened this issue 3 years ago • 5 comments

Hi, i can't run the script, this is my output when trying to run:

bash: ./Automated_install_script.sh: /bin/bash^M: bad interpreter: No such file or directory

I thought maybe it's because i'm using a plain Ubuntu server 20.04 in my own bare metal server.

is this script only intended to be used for oracle cloud?

I would really like to run it in my own server, please let me know if it's possible

pool2mine avatar Dec 01 '22 19:12 pool2mine

Dear pool2mine, Could it be that you copied the file first in windows? See: https://stackoverflow.com/questions/14219092/bash-script-bin-bashm-bad-interpreter-no-such-file-or-directory

The script started for Oracle, however the other option should make it valid for everything.

Let me know if this helped.

Kind regards, Enriko

Enriko82 avatar Dec 01 '22 22:12 Enriko82

Hello @Enriko82

Thank you very much for the info.

the command sed -i -e 's/\r$//' did the trick, now the script runs!

Thanks!

pool2mine avatar Dec 02 '22 00:12 pool2mine

Sorry to bother again... how do i run the bot?

in my case (ubuntu) if i try python3 -m it says: anthony@trading-bot1:~/BTB-Install-script$ python3 -m Binance1/binance-trade-bot/binance_trade_bot/ /usr/bin/python3: No module named Binance1/binance-trade-bot/binance_trade_bot/ if i try: python3 -m binance i get: anthony@trading-bot1:~/BTB-Install-script$ python3 -m binance /usr/bin/python3: No module named binance.__main__; 'binance' is a package and cannot be directly executed anthony@trading-bot1:~/BTB-Install-script$ python3 Binance1/

and if i try with just python3 there are a lot of .py inside the installation directory and i'm not sure which one to run

Thanks!

pool2mine avatar Dec 02 '22 00:12 pool2mine

UPDATE:

i just saw an error at the end of the script for 2 commands that maybe are not compatible in UBUNTU

./Automated_install_script.sh: line 290: test: =: unary operator expected ./Automated_install_script.sh: line 439: restorecon: command not found Warning: The unit file, source configuration file or drop-ins of BTBBinance1.service changed on disk. Run 'systemctl daemon-reload' to reload units. ./Automated_install_script.sh: line 465: restorecon: command not found Warning: The unit file, source configuration file or drop-ins of BTBTelegramBinance1.service changed on disk. Run 'systemctl daemon-reload' to reload units.

pool2mine avatar Dec 02 '22 13:12 pool2mine

Thanks for this awesome script and bot, I'm still setting up but now understanding a bit more how it works. can you send me your binance ID? or any crypto wallet? i would like to support the project. Regards!

pool2mine avatar Dec 07 '22 12:12 pool2mine