Pelican panel not booting in beta31 when $DB_HOST is quoted #553

Open
opened 2026-02-04 18:29:52 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @SteadEXE on GitHub (Jan 22, 2026).

Originally assigned to: @parkervcp on GitHub.

Current Behavior

When .env contains a $DB_HOST with double quotes around it, it fails to boot.

Waiting for database connection...
nc: bad address '"pelicanpanel-postgres-dczuv1"'
Waiting for database connection...
nc: bad address '"pelicanpanel-postgres-dczuv1"'
Waiting for database connection...
nc: bad address '"pelicanpanel-postgres-dczuv1"'
Waiting for database connection...
nc: bad address '"pelicanpanel-postgres-dczuv1"'

Removing " " from the env variable fixes the issue.

Expected Behavior

It should boot without any issue as quoting is standard in .env files

Steps to Reproduce

Set double quotes around DB_HOST, like DB_HOST="my-container-name"

Panel Version

ghcr.io/pelican-dev/panel:v1.0.0-beta31

Wings Version

not related

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs


Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @SteadEXE on GitHub (Jan 22, 2026). Originally assigned to: @parkervcp on GitHub. ### Current Behavior When .env contains a $DB_HOST with double quotes around it, it fails to boot. ``` Waiting for database connection... nc: bad address '"pelicanpanel-postgres-dczuv1"' Waiting for database connection... nc: bad address '"pelicanpanel-postgres-dczuv1"' Waiting for database connection... nc: bad address '"pelicanpanel-postgres-dczuv1"' Waiting for database connection... nc: bad address '"pelicanpanel-postgres-dczuv1"' ``` Removing " " from the env variable fixes the issue. ### Expected Behavior It should boot without any issue as quoting is standard in `.env` files ### Steps to Reproduce Set double quotes around DB_HOST, like `DB_HOST="my-container-name"` ### Panel Version ghcr.io/pelican-dev/panel:v1.0.0-beta31 ### Wings Version not related ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs ```bash ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@uqtdev commented on GitHub (Jan 26, 2026):

Getting similar error on beta 31

Waiting for database connection...                                                                                                                                                                                                              
nc: bad port 'tcp://10.43.148.38:3306'                                                                                                                                                                                                          
Waiting for database connection...                                                                                                                                                                                                              
nc: bad port 'tcp://10.43.148.38:3306'                                                                                                                                                                                                          
Waiting for database connection...                                                                                                                                                                                                              
nc: bad port 'tcp://10.43.148.38:3306'                                                                                                                                                                                                          
Waiting for database connection...                                                                                                                                                                                                              
nc: bad port 'tcp://10.43.148.38:3306'                                                                                                                                                                                                          
Waiting for database connection...                                                                                                                                                                                                              
nc: bad port 'tcp://10.43.148.38:3306'                                                                                                                                                                                                          
Waiting for database connection...   

Is this the same issue or should I create a seperate issue?
Also tested, and downgrading worked fine. Upgraded again and same issue.

@uqtdev commented on GitHub (Jan 26, 2026): Getting similar error on beta 31 ``` Waiting for database connection... nc: bad port 'tcp://10.43.148.38:3306' Waiting for database connection... nc: bad port 'tcp://10.43.148.38:3306' Waiting for database connection... nc: bad port 'tcp://10.43.148.38:3306' Waiting for database connection... nc: bad port 'tcp://10.43.148.38:3306' Waiting for database connection... nc: bad port 'tcp://10.43.148.38:3306' Waiting for database connection... ``` Is this the same issue or should I create a seperate issue? Also tested, and downgrading worked fine. Upgraded again and same issue.
Author
Owner

@parkervcp commented on GitHub (Jan 26, 2026):

@uqtdev What did you set the dbhost to?

@parkervcp commented on GitHub (Jan 26, 2026): @uqtdev What did you set the dbhost to?
Author
Owner

@uqtdev commented on GitHub (Jan 26, 2026):

according to the .env file
DB_HOST=db
the log shows it resolves as 10.43.148.38 which is correct

@uqtdev commented on GitHub (Jan 26, 2026): according to the .env file DB_HOST=db the log shows it resolves as 10.43.148.38 which is correct
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#553