Can`t deploy wiki.js - Error: Invalid DB Type
zhan3108
HOBBYOP

2 months ago

Can`t deploy wiki.js - Error: Invalid DB Type

Solved$10 Bounty

3 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


uxuz
MODERATOR

2 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}}"

uxuz
MODERATOR

2 months ago

Hey, have you managed to implement the changes I have specified above?


Status changed to Solved uxuz about 2 months ago


Loading...