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

TypeError: Can't convert 'NoneType' object to str implicitly #63

Open
SamuelMarks opened this issue Aug 29, 2018 · 1 comment
Open

TypeError: Can't convert 'NoneType' object to str implicitly #63

SamuelMarks opened this issue Aug 29, 2018 · 1 comment

Comments

@SamuelMarks
Copy link

$ docker run --name mytaiga -e TAIGA_DB_HOST=localhost -e TAIGA_DB_USER=myuser -e TAIGA_DB_PASSWORD=mypass -e DB_PASS=mypass -itd benhutchins/taiga
340c32c9aad2edce9c99676512f4ba3e106f2614cc7b296f5381deedc8d08ce3
$ docker logs mytaiga
Running database check
Traceback (most recent call last):
  File "/checkdb.py", line 12, in <module>
    "' password='" + DB_PASS + "'")
TypeError: Can't convert 'NoneType' object to str implicitly
Failed to connect to database server or database does not exist.

https://github.com/benhutchins/docker-taiga/blob/6e597d6f078f759a7c222b59e5de2263294fccbf/checkdb.py

@ajira86
Copy link

ajira86 commented Aug 29, 2018

Try to specify TAIGA_DB_NAME the error come because connection string is not correctly initialized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants