Skip to content

Background processes from old app versions break updates — critical #3605

Closed
1 of 1 issue completed
Closed

Description

@cyrusdroid

Problem

When users update OpenHuman, stale background processes from the previous version remain running. These interfere with the new version, causing login failures, connection issues, and general breakage. Users have to manually kill processes or restart the machine. This was tagged as Critical priority in internal docs.

Root cause

The installer/updater doesn't cleanly terminate all child processes before replacing the binary. Old PIDs conflict with new ones.

Suggested fix

The update flow should:

  1. Kill all openhuman-related processes before installing
  2. Or the new version should detect and handle stale PIDs gracefully
  3. Or use a version-lock on background services so old processes refuse to run if a newer binary is present

Evidence

  • Notion wiki summary documenting "Critical high-priority background process bug"
  • "App error requiring restart — users need to restart or clear data — requires immediate patch"
  • Multiple sentry reports of CoreRpcError "Failed to fetch" and connection failures

Activity

  1. moved this from Todo to In progress in Team Openhumanon Jun 19, 2026
  2. moved this from In progress to In review in Team Openhumanon Jun 19, 2026
  3. moved this from In review to In progress in Team Openhumanon Jun 22, 2026
  4. moved this from In progress to Todo in Team Openhumanon Jun 30, 2026
  5. moved this from Todo to In progress in Team Openhumanon Jun 30, 2026
  6. moved this from In progress to Done in Team Openhumanon Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions