Skip to content

fix: Windows PowerShell snippet + install-script service-wait timeout - #467

Merged
augustuen merged 2 commits into
Servarr:masterfrom
bakerboy448:docs/misc-fixes
Sep 5, 2026
Merged

fix: Windows PowerShell snippet + install-script service-wait timeout#467
augustuen merged 2 commits into
Servarr:masterfrom
bakerboy448:docs/misc-fixes

Conversation

@bakerboy448

Copy link
Copy Markdown
Contributor

Summary

Two small, unrelated fixes split out of #466 so the grounding/security work can be reviewed on its own.

  • Sonarr tips-and-tricks.md: the Windows PowerShell folder-creation snippet used a leading-pipe continuation, which is invalid in Windows PowerShell 5.1. Switched to a trailing pipe.
  • servarr/servarr-install-script.sh: the post-install systemctl is-active wait loop had no exit, so a service that never starts (for example a missing libicu dependency) looped forever. Added a 15-attempt timeout that reports the failure and exits. Cherry-picked from Added a time-out to active service check to ensure it doesn't loop forever #460.

Use a trailing pipe in the tips-and-tricks PowerShell snippet; the leading-pipe
continuation is invalid in Windows PowerShell 5.1.
The post-install loop waited on `systemctl is-active` with no exit, so a service
that never starts (for example a missing libicu dependency) looped forever. Add
a 15-attempt guard that reports the failure and exits 1. Cherry-picked from
community PR Servarr#460.
@augustuen
augustuen merged commit 57803a8 into Servarr:master Sep 5, 2026
2 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.

2 participants