Skip to content

Disk change: install shareos-migrate (missing on the box), no endless loading - #208

Merged
UniqueDroid merged 1 commit into
mainfrom
fix/migrate-install
Nov 25, 2026
Merged

UniqueDroid merged 1 commit into
mainfrom
fix/migrate-install

Conversation

@UniqueDroid

Copy link
Copy Markdown
Owner

Reported by Jan on 0.3.0-beta.17: Storage → DISK CHANGE shows sh: line 0: /usr/sbin/shareos-migrate: not found and keeps loading.

Cause: package/shareos-core/shareos-core.mk installs its programs one by one, and shareos-migrate (#200) was never added. tests/test-migrate.sh runs the script from the source tree, so CI could not notice. In the web part, loadMigrate() only toasted the error, the state stayed empty and the page showed Loading … forever.

Fix

  • shareos-core.mk: install usr/sbin/shareos-migrate.
  • tests/static-analysis.sh: new step Installed programs – every file in src/shareos-core/usr/sbin and usr/bin needs an install line in shareos-core.mk. Fails without the line above (src/shareos-core/usr/sbin/shareos-migrate is not installed by …), passes with it; no other program is missing.
  • parts/web/migrate.js: when the state cannot be read, the page shows the error and Read again instead of the spinner.

CHANGELOG: new section 0.3.0-beta.18. Static analysis, check-i18n.py, check-i18n-coverage.js pass (no new texts).


Generated by Claude Code

shareos-core.mk lists its programs one by one, and shareos-migrate (#200)
was never added: on the box Storage -> DISK CHANGE got 'sh: line 0:
/usr/sbin/shareos-migrate: not found' and loadMigrate() only toasted it,
so the page kept showing 'Loading …'. The host test ran the script from
the source tree and could not notice.

- shareos-core.mk installs shareos-migrate.
- static-analysis.sh: every file in src/shareos-core/usr/{s,}bin must have
  an install line in shareos-core.mk (fails without this fix).
- migrate.js: without a state the page shows the error and 'Read again'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
@UniqueDroid
UniqueDroid merged commit b31c5f4 into main Nov 25, 2026
7 checks passed
@UniqueDroid
UniqueDroid deleted the fix/migrate-install branch November 25, 2026 19:26
UniqueDroid pushed a commit that referenced this pull request Nov 25, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants