umami icon indicating copy to clipboard operation
umami copied to clipboard

DISABLE_LOGIN and CLOUD_MODE not respected?

Open abdessalaam opened this issue 7 months ago • 4 comments

Describe the Bug

I tried both:

DISABLE_LOGIN=1

and

CLOUD_MODE=1

individually, and together, and they don't seem to have any effect.

I am running Umami in docker (using docker compose), and I put docker down and up after making changes, but to no effect.

I looked at issues #3142 and 1699.

Database

PostgreSQL

Relevant log output


Which Umami version are you using? (if relevant)

latest

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

Docker

abdessalaam avatar Aug 05 '25 08:08 abdessalaam

Seems to not work only in Docker. Will fix.

mikecao avatar Aug 07 '25 20:08 mikecao

Thanks!

abdessalaam avatar Aug 07 '25 21:08 abdessalaam

@mikecao any news on that topic? Otherwise I could give it a try.

sdannewitz avatar Aug 25 '25 14:08 sdannewitz

@MVPotat0 The issue is Docker inlines the environment variable at build time when it should be evaluating at runtime. We need to force those pages to be dynamic. See https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config

mikecao avatar Aug 26 '25 16:08 mikecao