close
Skip to content

Self-hosted: Frontend assets fail to load after update due to stale node process (deleted binary) #6124

@prasana-k

Description

@prasana-k

Describe the bug

After updating infisical-core on a self-hosted Linux installation, the frontend loads a blank page. The Node process continues running with the old binary (marked as deleted in /proc/<pid>/exe), but serves the new index.html which references updated asset filenames (hashed). Since the old process doesn't have access to the new assets, all CSS/JS requests return text/html (the SPA fallback), causing a blank UI.

To Reproduce

  1. Self-host infisical-core on Ubuntu (runit/runsvdir managed)
  2. Update infisical-core to a new version
  3. Do NOT restart the service after update
  4. Navigate to the Infisical web UI — page is blank

Expected behavior

Either the update process automatically restarts the service, or the documentation explicitly states that sudo systemctl restart infisical-runsvdir is required after every update.

Screenshots

Blank white page with browser console errors:

  • Refused to apply style from '.../assets/index-*.css' because MIME type is 'application/json'
  • Failed to load resource: 404 for JS bundle

Platform you are having the issue on:

  • Self-hosted (bare metal / infisical-core standalone package)
  • Ubuntu 24.04
  • Service manager: systemd → runsvdir (infisical-runsvdir.service)
  • Nginx reverse proxy in front

Fix

sudo systemctl restart infisical-runsvdir

Suggested improvement

The update script / installer should automatically restart infisical-runsvdir after replacing binaries, similar to how package managers handle service restarts post-upgrade.

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