geozz Posted April 8, 2018 Share Posted April 8, 2018 (edited) Hi, I want to run a musicbot for discord. This bot normally starts running /filepath/run.pyThis bot uses discord.py etc, i think all modules are available, https://krydos2.heliohost.org/cgi-bin/modules36.py But, the bot just dont start? Cron job: 0 15 0 0 0 home/myname/Muziekbot1/musicbot-master/run.pyThis bot can work on ubuntu, raspbian, windows and mac.This is the bot: https://github.com/Just-Some-Bots/MusicBot This is the official guide for ubuntu 16, but i do not know how to run that here. But i just uploaded the files, and added a cron for run.py# Install build toolssudo apt-get install build-essential unzip -ysudo apt-get install software-properties-common -y# Add external repositoriessudo add-apt-repository ppa:mc3man/xerus-media -y# Install system dependenciessudo apt-get update -ysudo apt-get install git ffmpeg libopus-dev libffi-dev libsodium-dev python3-pip python3-dev -ysudo apt-get upgrade -y# Clone the MusicBot to your home directorygit clone https://github.com/Just-Some-Bots/MusicBot.git ~/MusicBot -b mastercd ~/MusicBot# Install Python dependenciessudo python3 -m pip install -U pipsudo python3 -m pip install -U -r requirements.txt Any idea how to get this working? Regards Edited April 8, 2018 by geozz Quote Link to comment Share on other sites More sharing options...
geozz Posted April 8, 2018 Author Share Posted April 8, 2018 Actually, what is the server time location? I tried 14PM on Amsterdam time Quote Link to comment Share on other sites More sharing options...
geozz Posted April 8, 2018 Author Share Posted April 8, 2018 sudo /home/geozz/Muziekbot1/MusicBot-master/run.sh python /home/geozz/Muziekbot1/MusicBot-master/run.py Not working Quote Link to comment Share on other sites More sharing options...
wolstech Posted April 8, 2018 Share Posted April 8, 2018 That'll never work because sudo requires root. This script will not run here as it is a standalone program/daemon that also requires root access. We don't allow standalone programs, and would never remotely consider offering root access. You need this: https://heliohost.org/partners/vps to run that. Quote Link to comment Share on other sites More sharing options...
geozz Posted April 8, 2018 Author Share Posted April 8, 2018 Hi and thanks for your answer.Okay, ill understand.Your links doens't work :S Regards Quote Link to comment Share on other sites More sharing options...
wolstech Posted April 8, 2018 Share Posted April 8, 2018 That link works for me...weird. It's supposed to be a redirect for https://www.hostgator.com/vps-hosting?irgwc=1&clickid=wieyNCW63TwK3cgyOYwdcwiyUkj10ITp1SR7140&affpat=1 Quote Link to comment Share on other sites More sharing options...
Luigi123 Posted April 8, 2018 Share Posted April 8, 2018 Moved to Customer Service. Quote Link to comment Share on other sites More sharing options...
Krydos Posted April 8, 2018 Share Posted April 8, 2018 Your links doens't work :SThat link works for me too. Another thing I wanted to point out is your instructions will only work on Ubuntu/Debian and other distros that use apt. Our servers, for instance, run Centos so apt-get and apt don't even exist. Keep these OS's in mind when you create your VPS. Quote Link to comment Share on other sites More sharing options...
ziad87 Posted April 10, 2018 Share Posted April 10, 2018 (edited) I thought you ran redhat?Judging by phpinfo... (Configure Command, right at the beginning...) Edited April 10, 2018 by ziad0 Quote Link to comment Share on other sites More sharing options...
wolstech Posted April 10, 2018 Share Posted April 10, 2018 Nope. cPanel/EasyApache actually does the build for PHP I believe...they apparently use the redhat configurations even when running on CentOS Straight from WHM (yes we know it's outdated, we avoid updating whenever we can because all the custom stuff breaks every time we do): CENTOS 7.4 x86_64 vmware – tommy cPanel & WHM 64.0 (build 36) Quote Link to comment Share on other sites More sharing options...
Krydos Posted April 12, 2018 Share Posted April 12, 2018 Centos and Redhat are pretty compatible. Centos is basically intended to be a free Redhat. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.