Skip to content

[BUG] Setting "DISABLE_AUTH=true" in docker-compose.local.yml produces empty /workspace page #2524

Closed

Description

@tb10kc

Describe the bug
I've modified docker-compose.local.yml to specify - DISABLE_AUTH=true for all services. The login page is bypassed which is awesome, but the page the browser goes to (<host>/workspace) is just an empty page. There is HTML being downloaded with body, header, and script blocks, but there are also <!--$--> and <!--/$--> which are presumably placeholder markers for generated content (but I could be wrong).

To Reproduce

  1. Sync to v0.5.40 tag
  2. Set environment variable DISABLE_AUTH to true in docker-compose.local.yml for all services
  3. In sim/, run docker compose -f docker-compose.local.yml up -d
  4. Open SimStudio in a browser
  5. See blank page, look at source to see HTML

Expected behavior
Browser shows a usable page

Activity

  1. TechHutTV commented on Dec 23, 2025

    @TechHutTV

    Getting this as well.

  2. waleedlatif1 commented on Dec 23, 2025

    @waleedlatif1
    Collaborator

    @TechHutTV @tb10kc can you go to browser devtools > application > cookies and delete them all? and see if you still have any issues?

  3. TechHutTV commented on Dec 23, 2025

    @TechHutTV

    @waleedlatif1 yes, even if I clear everything or new fresh installed browsers. I even nuked the database to see if me trying to create an account previously was having any effect.

  4. tb10kc commented on Dec 23, 2025

    @tb10kc
    Author

    Yep, still happens. Tried in Chrome after clearing cookies, and I didn't have Firefox on this particular machine so I installed it and still got a blank page.

    I'd like to add that I have a separate Postgres db running and set up the connection info for all services. The db connection is valid because other services are using the same info and are functioning properly. Using pgAdmin 4, I can see that Sim Studio creates a database called simstudio and has a schema called public but no tables.

  5. Chadha93 commented on Jan 4, 2026

    @Chadha93
    Contributor

    @TechHutTV @tb10kc the problem was that with DISABLE_AUTH=true, the anonymous user wasn't being created in the database because the database wasn't initialized.

    To fix this: run database migrations to set up the schema
    The solution was to run database migrations to set up the schema:

    # Stop any running containers
    docker-compose -f docker-compose.local.yml down
    
    # Start fresh and run migrations
    docker-compose -f docker-compose.local.yml up -d
    
    # Run migrations
    docker-compose -f docker-compose.local.yml exec sim bun db:push
    

    Or if you're running locally without Docker:

    # Navigate to the sim app directory
    cd apps/sim
    
    # Run database migrations
    bun db:push
    

    This creates all the necessary database tables including the user table that's needed for the anonymous session. The ECONNREFUSED error in console you're seeing means PostgreSQL isn't running or isn't accessible.

  6. tb10kc commented on Jan 12, 2026

    @tb10kc
    Author

    I tried this on v0.5.57 today running docker compose -f docker-compose.local.yml exec sim bun db:push but that doesn't work:

    WARN[0000] The "COPILOT_API_KEY" variable is not set. Defaulting to a blank string. 
    WARN[0000] The "SIM_AGENT_API_URL" variable is not set. Defaulting to a blank string. 
    error: Script not found "db:push"
    
  7. tb10kc commented on Jan 20, 2026

    @tb10kc
    Author

    Has there been any luck on this bug? I would love to try out Sim Studio and this is the only thing preventing me from checking it out.

  8. added a commit that references this issue on Feb 22, 2026
    ee579b5
  9. added a commit that references this issue on Feb 24, 2026
    9e817bc
  10. added a commit that references this issue on Mar 3, 2026
    0ad3f18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions