Skip to content

Docker: Panel doesn't start with spaces/special chars in variable values in .env #2037

@InterXellar

Description

@InterXellar

Current Behavior

When having a space or special character in a variable name (example APP_NAME or MAIL_FROM_NAME) in the .env file the docker container of panel doesn't start anymore, due to the way how the environment variables are loaded in the entrypoint.sh script.

Expected Behavior

The panel should start normally.

Steps to Reproduce

Have a space in an environment variable (for example APP_NAME) and start the panel, the panel will not start.

Panel Version

v1.0.0-beta30

Wings Version

nA

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

/entrypoint.sh: export: line 6: -: bad variable name
external vars exist.

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions