Skip to content

fix(updates): resolve dream-update.sh path so dashboard updates actually work#18

Merged
boffin-dmytro merged 1 commit intomainfrom
fix/update-script-path-resolution
Apr 24, 2026
Merged

fix(updates): resolve dream-update.sh path so dashboard updates actually work#18
boffin-dmytro merged 1 commit intomainfrom
fix/update-script-path-resolution

Conversation

@boffin-dmytro
Copy link
Copy Markdown
Owner

Summary

  • The /api/update endpoint in the dashboard API tried the same wrong path twice (INSTALL_DIR.parent/scripts/dream-update.sh) and never checked the actual script location at INSTALL_DIR/dream-update.sh
  • This meant the dashboard update, check, and backup actions would always fail with "Update system not installed" on a standard deployment
  • Fixed the resolution order to check the correct path first, then fall back to legacy locations

Test plan

  • Verify dream-update.sh exists at INSTALL_DIR/dream-update.sh on a standard install
  • Trigger a version check from the dashboard — should no longer return 501
  • Confirm the fallback paths still work for non-standard installations

@boffin-dmytro boffin-dmytro merged commit f5132a9 into main Apr 24, 2026
26 of 28 checks passed
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.

1 participant