Skip to content

Failed to connect to database #574

Description

@sondhg

Hello, Teldrive has been working fine for me for the past few months, but today, teldrive run and teldrive check failed. The attached screenshot below is the output of those commands.

Image

What should I do to resolve this?

Sorry if my question sounds naive. I'm a very casual user with little to no knowledge on databases and such. I only followed the documentation, set up a supabase database, and use rclone copy weekly to backup my files.

I don't know if this helps with anything but my config.toml is as simple as:

[db]
data-source = "postgresql://postgres:MY_PASSWORD@db.MY-PROJECT-URL.supabase.co:5432/postgres"
prepare-stmt = false

[db.pool]
enable = false

[jwt]
allowed-users = ["MY-TELEGRAM_USERNAME"]
secret = "MY-SECRET"

Thank you for the help! Please let me know if I should provide any more info.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions