8 months ago
Can`t deploy wiki.js - Error: Invalid DB Type
Pinned Solution
8 months ago
Hey, I just tried to deploy the wiki.js 2.5 template and seems like that the variable DB_TYPE and DB_USER are malformed.
DB_HOST="${{Postgres-a-9u.PGHOST}}"
DB_NAME="${{Postgres-a-9u.PGDATABASE}}"
DB_PASS="${{Postgres-a-9u.PGPASSWORD}}"
DB_PORT="${{Postgres-a-9u.PGPORT}}"
DB_TYPE ="postgres"
DB_USER ="${{Postgres-a-9u.PGUSER}}"You will have to remove the extra space between the two variables and "=" and it will deploy fine. In other words, your service variables should look like this:
DB_HOST="${{Postgres-a-9u.PGHOST}}"
DB_NAME="${{Postgres-a-9u.PGDATABASE}}"
DB_PASS="${{Postgres-a-9u.PGPASSWORD}}"
DB_PORT="${{Postgres-a-9u.PGPORT}}"
DB_TYPE="postgres"
DB_USER="${{Postgres-a-9u.PGUSER}}"3 Replies
8 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 I have any invalid date error in my event time column on by database table
- 🧵 Error Conecting Database ECONNRESET
- 🧵 MY free tier Postgresss DB tools available?
If you find the answer from one of these, please let us know by solving the thread!
8 months ago
Hey, I just tried to deploy the wiki.js 2.5 template and seems like that the variable DB_TYPE and DB_USER are malformed.
DB_HOST="${{Postgres-a-9u.PGHOST}}"
DB_NAME="${{Postgres-a-9u.PGDATABASE}}"
DB_PASS="${{Postgres-a-9u.PGPASSWORD}}"
DB_PORT="${{Postgres-a-9u.PGPORT}}"
DB_TYPE ="postgres"
DB_USER ="${{Postgres-a-9u.PGUSER}}"You will have to remove the extra space between the two variables and "=" and it will deploy fine. In other words, your service variables should look like this:
DB_HOST="${{Postgres-a-9u.PGHOST}}"
DB_NAME="${{Postgres-a-9u.PGDATABASE}}"
DB_PASS="${{Postgres-a-9u.PGPASSWORD}}"
DB_PORT="${{Postgres-a-9u.PGPORT}}"
DB_TYPE="postgres"
DB_USER="${{Postgres-a-9u.PGUSER}}"Status changed to Solved uxuz • 8 months ago