Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Cannot install telegram (staging branch) on arch via docker install #391

Closed
LeRatGondin opened this issue Jul 10, 2022 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@LeRatGondin
Copy link

When I run ./install.docker.sh there aren't any error , but the teledrive app is not lunched and when I do docker compose up I have this error

docker-teledrive-1  | Error: P1000: Authentication failed against database server at `db`, the provided database credentials for `postgres` are not valid.

and i tried almost everything i changed the docker-compose.yml I changed the docker install the .env I removed all docker images and container but nothing worked
image

and somethimes the error change to

Error: P1013: The provided database string is invalid. invalid port number in database URL. Please refer to the documentation in https://www.prisma.io/docs/reference/database-reference/connection-urls for constructing a correct connection string. In some cases, certain characters must be escaped. Please check the string for any illegal characters.

for no reasons

I'm on Linux archlinux 5.18.9-arch1-1
all my packages are updated and I installed the "working branch" with the hex encrypt

@LeRatGondin LeRatGondin added the bug Something isn't working label Jul 10, 2022
@gmendezm
Copy link

I got this error. I solved it changing the password, removing any special character.

If you want to use special characters you need to scape them

What is your URL database format?

@gorskii
Copy link

gorskii commented Aug 22, 2022

After you fix invalid postgres credentials, caused by this faulty password generator, you need to remove postgres data volume before you run install.docker.sh again or recreate teledrive container, so postgres could initialize db using correct credentials

docker volume rm docker_teledrive_data

Postgres image skips its initdb step if PGDATA directory is not empty

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants