GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Self-hosting on Ubuntu 24.04 without Docker is broken — SIGTERM kills dev server, build fails, no DB seed · Issue #6158 · simstudioai/sim

Self-hosting on Ubuntu 24.04 without Docker is broken — SIGTERM kills dev server, build fails, no DB seed #6158

New issue
Copy link
New issue
Copy link
Open
#7917
Open
Self-hosting on Ubuntu 24.04 without Docker is broken — SIGTERM kills dev server, build fails, no DB seed#6158
#7917
Copy link

Description

@Arellanog0
Arellanog0
opened on Aug 1, 2026
Issue body actions

Environment

  • Ubuntu 24.04, 16GB RAM, no Docker
  • Bun 1.3.14, PostgreSQL 18.4, pgvector 0.8.1
  • Repo cloned from main, bun install succeeded

Issues

1. Dev server killed by SIGTERM (exit code 143)

bun run dev starts and responds 200, but dies within ~2 minutes with exit code 143 (SIGTERM). instrumentation-node.ts registers SIGTERM handlers that shut down OTel/PostHog. Something external sends SIGTERM and kills the process. No way to disable this cleanly. Even running from a plain terminal, the process dies after the first page load compiles.

2. bun run build fails — EXDEV cross-device link

@sim/desktop build fails with EXDEV: cross-device link not permitted, rename '/tmp/...' -> '/home/...'. /tmp and /home are on different filesystems on Ubuntu. The monorepo build cannot complete.

3. Standalone next build runs out of memory

Building only apps/sim with NODE_OPTIONS=--max-old-space-size=8192 consumes all available RAM and dies silently (OOM). The tool registry alone has 4,351 entries across 261 service dirs pulling ~5,907 modules.

4. No database seed for DISABLE_AUTH mode

With `DISABLE_AUTH=*** the anonymous user exists in code but the database starts empty. No seed script creates the user, organization, workspace, settings, or permissions. The app shows "Could not load your workspaces" with no guidance.

5. First page load takes 41 seconds

Turbopack on-demand compilation of /workspace takes 41s on first request. The app is unusable in dev mode without 32GB+ RAM.

6. No documentation for non-Docker setup

README says "Requirements: Bun and Docker". The bun run setup wizard offers "Local dev" but doesn't document how to install PostgreSQL + pgvector manually or which env vars are required.

Suggested fixes

  • Add DISABLE_AUTH database seed script
  • Make instrumentation-node.ts SIGTERM handlers opt-in or skippable via env var
  • Fix @sim/desktop cross-device rename (use fs.cp + fs.rm instead of rename)
  • Document non-Docker self-hosting path
  • Consider dev:minimal as default for low-RAM environments
Reacted by pyush

Activity

  1. wav-piyush commented on Sep 16, 2026

    @wav-piyush
    wav-piyush
    on Sep 16, 2026
    More actions

    @waleedlatif1 hey, i've been working on this issue, and i think i've identify the root cause.
    i think these are the main reason for the issue

    1. DB seed gap : either migration or no db:seep script
    2. SIGTERM: the file that you mentioned "instrumentation-node.ts" i think this is not causing the error. something external is sending SIGTERM
    3. Desktop EXDEV : ensure-pty-prebuilds.ts uses renameSync from /tmp to /home — different filesystems on Ubuntu

    I think these are the issue that is why without docker is broken

    I'm working on this. will open a PR soon :)

    Reacted by Waleed
  2. wav-piyush commented on Sep 17, 2026

    @wav-piyush
    wav-piyush
    on Sep 17, 2026
    More actions

    @waleedlatif1 I've raised the PR related this issue, please let me know if any changes need :)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.