Comments (7)
Hi, we indeed stopped supporting custom instances because it was too much of a drain, so you're mostly on your own unless you have problems that are legit and/or poorly documented.
The line of log you have included doesn't help at all, it's always displayed to indicate that the bot is shutting down. The relevant error is probably above. Feel free to include all the logs, or if you don't want to pollute too much you could use https://gist.github.com
from ballsdex-discordbot.
ballsdex.log
Okay then I'll send the log file itself then. (Don't mind the first logs, only check the last 2 log entries.)
from ballsdex-discordbot.
The error is printed in your console when this happens. I'm not sure where the other error comes from, but you should see this message in red which explains the issue
You need to export the BALLSDEXBOT_DB_URL
environment variable when running the bot, to tell it how to connect to the postgres server.
For example, you could provide it with this value: BALLSDEXBOT_DB_URL=postgres://ballsdex:defaultballsdexpassword@localhost:5432/ballsdex
(which is what is being used for the docker config). It attempts to connect to the database ballsdex
with user ballsdex
and the associated password.
You need to run a PostgreSQL server yourself, and learn to configure a user and database such that Ballsdex can connect to it. I can't help further with those issues, as this is out of scope of our code.
from ballsdex-discordbot.
Actually that error was logged before I set up the PostgreSQL server correctly I think. I have that already. Probably you checked the first error message.
from ballsdex-discordbot.
Well, you need to setup the postgres server first, eventually use psql
to see if you can connect to it, then try to run Ballsdex. Closing as this is on you to figure out this part
from ballsdex-discordbot.
I think it finally connected to database after setting up my own database. But I probably cannot run commands anymore in my panel so I can't start the admin panel.
Update: I got this error when running python3 -m ballsdex
after starting over (i got the text with an tool so some things may be weird):
error1.txt
from ballsdex-discordbot.
This is an error with your config file. I'm closing at this point because this is stuff you can find in the docs, or by using a YAML validator.
from ballsdex-discordbot.
Related Issues (20)
- Battling question HOT 1
- Error 401 HOT 1
- Why i cant login in local host 8000 HOT 1
- Missing file on source code HOT 1
- Enabling /admin crashes the bot HOT 8
- Adding role/ guild ID's crashes the bot HOT 3
- i have this one issue where i put the token in,and when i do docker compose up it still asks me to put the token in again so it basically doesnt see it HOT 3
- Updating config.yml issue HOT 3
- Localhost not working HOT 2
- Improve accessibility for visual disabilities
- Clear button in trade does not unlock countryballs
- Add friend list and new visibility policy
- Add deny list
- Proper clustering support
- Add days argument to trade history HOT 1
- Does BallsDex Support Different Language? HOT 2
- Ballsdex stop spawning ball HOT 1
- Interaction timeout??, why! HOT 2
- I have 2-3 problems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ballsdex-discordbot.