Skip to content

[codex] Clarify self-update guidance for sudo installs#7004

Draft
llewellyn-sl wants to merge 1 commit intomasterfrom
EDU-1119-docs-draft
Draft

[codex] Clarify self-update guidance for sudo installs#7004
llewellyn-sl wants to merge 1 commit intomasterfrom
EDU-1119-docs-draft

Conversation

@llewellyn-sl
Copy link
Copy Markdown
Contributor

Summary

This draft adds a targeted warning for nextflow self-update installs that were done with sudo or into root-owned locations, plus recovery steps if that leaves the installation unusable.

Source context

Doc target

  • docs/install.md
  • docs/updating-nextflow.md

Rationale

The EDU ticket called out a docs gap around users breaking local Nextflow installs after running self-update with elevated permissions. The existing docs already warn that restricted permissions can break self-install and self-update, so this draft keeps the change narrow: it makes the sudo / root-owned path explicit, recommends a user-writable install location, and adds a short recovery sequence for the broken-install case.

Validation

  • Reviewed the edited docs diff directly
  • Attempted python3 -m sphinx -b dummy . /tmp/nextflow-docs-dummy from docs/, but this environment does not have sphinx installed

Follow-up

If we see more cases like this, the install and update docs may also benefit from a short troubleshooting section for common local permission mistakes.

Signed-off-by: Llewellyn vd Berg <113503285+llewellyn-sl@users.noreply.github.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 4, 2026

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit babe48c
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/69d12e19b586850008480ee9
😎 Deploy Preview https://deploy-preview-7004--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@llewellyn-sl
Copy link
Copy Markdown
Contributor Author

Tracking EDU-1119 docs automation recovery run.

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