Giter VIP home page Giter VIP logo

Comments (7)

laggron42 avatar laggron42 commented on July 29, 2024

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.

AngerRandom avatar AngerRandom commented on July 29, 2024

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.

laggron42 avatar laggron42 commented on July 29, 2024

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
image

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.

AngerRandom avatar AngerRandom commented on July 29, 2024

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.

laggron42 avatar laggron42 commented on July 29, 2024

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.

AngerRandom avatar AngerRandom commented on July 29, 2024

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.

laggron42 avatar laggron42 commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.