christianhuth / helm-charts

Helm Charts for various Applications: https://charts.christianhuth.de
MIT License
33 stars 18 forks source link

Umami helm chart broken? #1023

Closed profhase closed 5 months ago

profhase commented 9 months ago

If i follow the instructions on my local minikube

I get an empty page when umami is up:

Here the pod logs (on 2nd start)

│ yarn run v1.22.19                                                                                                                                                                                                                          │
│ $ npm-run-all check-db update-tracker start-server                                                                                                                                                                                         │
│ $ node scripts/check-db.js                                                                                                                                                                                                                 │
│ ✓ DATABASE_URL is defined.                                                                                                                                                                                                                 │
│ ✓ Database connection successful.                                                                                                                                                                                                          │
│ ✓ Database tables found.                                                                                                                                                                                                                   │
│ Prisma schema loaded from prisma/schema.prisma                                                                                                                                                                                             │
│ Datasource "db": PostgreSQL database "mychart", schema "public" at "umami-postgresql:5432"                                                                                                                                                 │
│                                                                                                                                                                                                                                            │
│ 4 migrations found in prisma/migrations                                                                                                                                                                                                    │
│                                                                                                                                                                                                                                            │
│                                                                                                                                                                                                                                            │
│ Database schema is up to date!                                                                                                                                                                                                             │
│                                                                                                                                                                                                                                            │
│ ✓ Database is up to date.                                                                                                                                                                                                                  │
│ $ node scripts/update-tracker.js                                                                                                                                                                                                           │
│ $ node server.js                                                                                                                                                                                                                           │
│ Listening on port 3000         

When i port-forward to 3000 i get a blank page

<!DOCTYPE html><html><head><meta charSet="utf-8"/><link rel="icon" href="[/favicon.ico](view-source:http://localhost:3000/favicon.ico)"/><link rel="apple-touch-icon" sizes="180x180" href="[/apple-touch-icon.png](view-source:http://localhost:3000/apple-touch-icon.png)"/><link rel="icon" type="image/png" sizes="32x32" href="[/favicon-32x32.png](view-source:http://localhost:3000/favicon-32x32.png)"/><link rel="icon" type="image/png" sizes="16x16" href="[/favicon-16x16.png](view-source:http://localhost:3000/favicon-16x16.png)"/><link rel="manifest" href="[/site.webmanifest](view-source:http://localhost:3000/site.webmanifest)"/><link rel="mask-icon" href="[/safari-pinned-tab.svg](view-source:http://localhost:3000/safari-pinned-tab.svg)" color="#5bbad5"/><meta name="msapplication-TileColor" content="#da532c"/><meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="next-head-count" content="10"/><link rel="preload" href="[/_next/static/css/b5f00b05e234f532.css](view-source:http://localhost:3000/_next/static/css/b5f00b05e234f532.css)" as="style"/><link rel="stylesheet" href="[/_next/static/css/b5f00b05e234f532.css](view-source:http://localhost:3000/_next/static/css/b5f00b05e234f532.css)" data-n-g=""/><link rel="preload" href="[/_next/static/css/e549ee379a621660.css](view-source:http://localhost:3000/_next/static/css/e549ee379a621660.css)" as="style"/><link rel="stylesheet" href="[/_next/static/css/e549ee379a621660.css](view-source:http://localhost:3000/_next/static/css/e549ee379a621660.css)" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="[/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js](view-source:http://localhost:3000/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js)"></script><script src="[/_next/static/chunks/webpack-55d518a34a9b7add.js](view-source:http://localhost:3000/_next/static/chunks/webpack-55d518a34a9b7add.js)" defer=""></script><script src="[/_next/static/chunks/framework-5f4595e5518b5600.js](view-source:http://localhost:3000/_next/static/chunks/framework-5f4595e5518b5600.js)" defer=""></script><script src="[/_next/static/chunks/main-af7420747e3d718a.js](view-source:http://localhost:3000/_next/static/chunks/main-af7420747e3d718a.js)" defer=""></script><script src="[/_next/static/chunks/pages/_app-9ea546e914edd572.js](view-source:http://localhost:3000/_next/static/chunks/pages/_app-9ea546e914edd572.js)" defer=""></script><script src="[/_next/static/chunks/354-be805f789b76ed66.js](view-source:http://localhost:3000/_next/static/chunks/354-be805f789b76ed66.js)" defer=""></script><script src="[/_next/static/chunks/175-983c7736926a63bf.js](view-source:http://localhost:3000/_next/static/chunks/175-983c7736926a63bf.js)" defer=""></script><script src="[/_next/static/chunks/398-d324c7e0f995a87f.js](view-source:http://localhost:3000/_next/static/chunks/398-d324c7e0f995a87f.js)" defer=""></script><script src="[/_next/static/chunks/pages/login-c510bd7888f485cf.js](view-source:http://localhost:3000/_next/static/chunks/pages/login-c510bd7888f485cf.js)" defer=""></script><script src="[/_next/static/zTPgOvL634iC7bI3qWGLH/_buildManifest.js](view-source:http://localhost:3000/_next/static/zTPgOvL634iC7bI3qWGLH/_buildManifest.js)" defer=""></script><script src="[/_next/static/zTPgOvL634iC7bI3qWGLH/_ssgManifest.js](view-source:http://localhost:3000/_next/static/zTPgOvL634iC7bI3qWGLH/_ssgManifest.js)" defer=""></script></head><body><div id="__next" data-reactroot=""><div class="container" dir="ltr"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"loginDisabled":true},"__N_SSP":true},"page":"/login","query":{},"buildId":"zTPgOvL634iC7bI3qWGLH","isFallback":false,"gssp":true,"scriptLoader":[]}</script></body></html>

Thanks btw for the nice work

esdete2 commented 8 months ago

Did you enabled the login page? I had the same issue and solved it by setting removeDisableLoginEnv value to true.

lefinal commented 8 months ago

Would be nice to add this to the README. Had the same issue as well.

christianhuth commented 8 months ago

Thanks for the bug report. I will change the default value of removeDisableLoginEnv to true with the next release.