Installation via Helm - 500 Internal Server Error
I deployed Homarr Version 1.0.1 via HelmChart Version 2.0.2 after the deployment is done and running im getting the error message seen in the attached screenshot. I went through the logs for the pod and got the following:
Invalid environment variables: { AUTH_LOGOUT_REDIRECTURL: [ 'Invalid url' ] }
Error: Invalid environment variables
at A (.next/server/chunks/3054.js:164:90086)
at <unknown> (.next/server/chunks/3054.js:164:90266)
at i (.next/server/chunks/3054.js:164:90574)
at 22214 (.next/server/chunks/2750.js:1:10441)
at t (.next/server/webpack-runtime.js:1:143)
at 82750 (.next/server/chunks/2750.js:1:1384)
at t (.next/server/webpack-runtime.js:1:143)
at 23836 (.next/server/app/api/auth/[...nextauth]/route.js:1:4755)
at t (.next/server/webpack-runtime.js:1:143)
at 58626 (.next/server/chunks/8626.js:1:153)
Error [TRPCClientError]: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at tn.from (.next/server/src/middleware.js:16:3550)
at <unknown> (.next/server/src/middleware.js:16:33664) {
shape: undefined,
data: undefined,
meta: undefined,
[cause]: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at async t (.next/server/src/middleware.js:16:7668)
}
I got the variable AUTH_LOGOUT_REDIRECT_URL on default which should be NIL, changing the variable to another value has no effect.
Any idea why this is happening?
Let me know if you need more info!
4 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Could u please provide the values files ?!
I have the same issue. could u please open an issue on github https://github.com/homarr-labs/charts
GitHub
GitHub - homarr-labs/charts
Contribute to homarr-labs/charts development by creating an account on GitHub.
it seams to be releated to https://github.com/homarr-labs/homarr/issues/1984
GitHub
bug: empty env variables should be ignored · Issue #1984 · homarr-l...
Describe the bug For example with the unraid template it sets empty strings for AUTH_PROVIDERS or DOCKER_PORTS. It would be better if those would only be picked up when they have an actual value. A...