You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to deploy Unleash Free version to Coolify,
but cannot make it work (see logs from unleash container)
I am deploying Unleash as a Docker container, cloned from this repository, not as a Built-in service in coolify.
My current docker-compose.ymllooks like this, but I had same error log for unchanged docker-compose.yml as well.
Steps to reproduce the bug
Fork this repository,
deploy to coolify as Docker Compose
Expected behavior
Unleash works, no runtime errors in the container
Logs, error output, etc.
2025-01-24T03:04:22.925333760Z /unleash/build/dist/lib/create-config.js:231
2025-01-24T03:04:22.925372962Z const [environment ='*'] = rest.split('.');
2025-01-24T03:04:22.925376791Z ^
2025-01-24T03:04:22.925379674Z
2025-01-24T03:04:22.925382590Z TypeError: Cannot read properties of undefined (reading 'split')
2025-01-24T03:04:22.925385416Z at /unleash/build/dist/lib/create-config.js:231:42
2025-01-24T03:04:22.925388150Z at Array.map (<anonymous>)
2025-01-24T03:04:22.925391211Z at loadTokensFromString (/unleash/build/dist/lib/create-config.js:229:34)
2025-01-24T03:04:22.925393939Z at loadInitApiTokens (/unleash/build/dist/lib/create-config.js:248:12)
2025-01-24T03:04:22.925396799Z at createConfig (/unleash/build/dist/lib/create-config.js:350:27)
2025-01-24T03:04:22.925399478Z at Object.start (/unleash/build/dist/lib/server-impl.js:137:53)
2025-01-24T03:04:22.925402184Z at Object.<anonymous> (/unleash/index.js:7:9)
2025-01-24T03:04:22.925405011Z at Module._compile (node:internal/modules/cjs/loader:1469:14)
2025-01-24T03:04:22.925407716Z at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
2025-01-24T03:04:22.925410441Z at Module.load (node:internal/modules/cjs/loader:1288:32)
2025-01-24T03:04:22.925413202Z
2025-01-24T03:04:22.925415749Z Node.js v20.18.1
Screenshots
No response
Additional context
No response
Unleash version
latest
Subscription type
None
Hosting type
Self-hosted
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered:
Hi, from your error message it seems like your tokens are not valid. tokens should be formatted like PROJECT:ENVIRONMENT.<randomstring>, from your error message it seems like you have a token without a : since the extraction of the environment is undefined.
Describe the bug
I was trying to deploy Unleash Free version to Coolify,
but cannot make it work (see logs from unleash container)
I am deploying Unleash as a Docker container, cloned from this repository, not as a Built-in service in coolify.
My current
docker-compose.yml
looks like this, but I had same error log for unchangeddocker-compose.yml
as well.Steps to reproduce the bug
Expected behavior
Unleash works, no runtime errors in the container
Logs, error output, etc.
Screenshots
No response
Additional context
No response
Unleash version
latest
Subscription type
None
Hosting type
Self-hosted
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered: