Skip to content

[docs] Improve ZeroTier installation instructions#1309

Open
ukramkrishna4-jpg wants to merge 8 commits intoopenwisp:masterfrom
ukramkrishna4-jpg:patch-1
Open

[docs] Improve ZeroTier installation instructions#1309
ukramkrishna4-jpg wants to merge 8 commits intoopenwisp:masterfrom
ukramkrishna4-jpg:patch-1

Conversation

@ukramkrishna4-jpg
Copy link
Copy Markdown

Improved clarity of ZeroTier installation instructions by adding a proper reference to the official installation guide and an additional step to ensure the service is running.

This makes the documentation more helpful for new users.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 22, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The documentation file docs/user/zerotier.rst was edited to consolidate the setup instruction for a self-hosted ZeroTier network controller into a single sentence that links to ZeroTier's official download/installation page (https://www.zerotier.com/download/). No other steps, numbering, or content changes were made; a single blank line was added after that sentence to adjust spacing before the next numbered step.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete; it lacks the required checklist, reference to existing issue, and screenshot section specified in the repository's pull request template. Add the complete checklist section, include a 'Closes #' reference or statement about the issue, and maintain the template structure with all sections.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly follows the required format [type] and directly describes the main change: improving ZeroTier installation instructions in the documentation.
Bug Fixes ✅ Passed This pull request modifies only documentation in zerotier.rst without changing core functionality or fixing a bug.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/user/zerotier.rst`:
- Line 37: Add a missing period to the end of the sentence "If you haven't
already set up a self-hosted ZeroTier network controller on your server, you can
install ZeroTier by following the `official installation guide
<https://www.zerotier.com/download/>`_" so it ends with a period; update that
exact line in docs/user/zerotier.rst to terminate the sentence with a '.'.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c5250d9d-a44d-4a5d-bb68-fec9a4c7865a

📥 Commits

Reviewing files that changed from the base of the PR and between 45b24b6 and 7373b78.

📒 Files selected for processing (1)
  • docs/user/zerotier.rst
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Python==3.12 | django~=5.1.0
  • GitHub Check: Python==3.10 | django~=5.1.0
  • GitHub Check: Python==3.11 | django~=5.2.0
  • GitHub Check: Python==3.10 | django~=4.2.0
  • GitHub Check: Python==3.13 | django~=5.2.0
  • GitHub Check: Python==3.12 | django~=5.2.0
  • GitHub Check: Python==3.11 | django~=5.1.0
  • GitHub Check: Python==3.12 | django~=4.2.0
  • GitHub Check: Python==3.13 | django~=5.1.0
  • GitHub Check: Python==3.11 | django~=4.2.0
  • GitHub Check: Python==3.10 | django~=5.2.0
🔇 Additional comments (2)
docs/user/zerotier.rst (2)

39-39: Good addition!

This sentence provides a helpful reminder to ensure the ZeroTier service is operational, which improves the clarity of the documentation for new users.


37-37: No issues found. The ZeroTier download URL referenced in line 37 is valid and accessible.

coderabbitai[bot]
coderabbitai bot previously approved these changes Mar 22, 2026
@openwisp-companion
Copy link
Copy Markdown

ReStructuredText Formatting Errors

Hello @ukramkrishna4-jpg,
(Analysis for commit 4c45130)

There are ReStructuredText formatting errors in your commit.

  • Fix: Please run openwisp-qa-format to automatically fix these issues.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/user/zerotier.rst`:
- Line 37: The sentence "If you haven't already set up a self-hosted ZeroTier
network controller on your server, now is a good time to do so." contains a
trailing space at the end; remove the trailing whitespace after the period in
docs/user/zerotier.rst (locate the exact sentence text) and save the file, then
run your formatter or linter to confirm no trailing-space warnings remain before
committing.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 76197c91-8253-452d-9c31-ab495e476ccb

📥 Commits

Reviewing files that changed from the base of the PR and between e4360ee and df8dfdc.

📒 Files selected for processing (1)
  • docs/user/zerotier.rst
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Python==3.13 | django~=5.1.0
  • GitHub Check: Python==3.10 | django~=4.2.0
  • GitHub Check: Python==3.12 | django~=4.2.0
  • GitHub Check: Python==3.12 | django~=5.2.0
  • GitHub Check: Python==3.13 | django~=5.2.0
  • GitHub Check: Python==3.11 | django~=5.1.0
  • GitHub Check: Python==3.12 | django~=5.1.0
  • GitHub Check: Python==3.10 | django~=5.1.0
  • GitHub Check: Python==3.11 | django~=4.2.0
  • GitHub Check: Python==3.11 | django~=5.2.0
  • GitHub Check: Python==3.10 | django~=5.2.0
🔇 Additional comments (2)
docs/user/zerotier.rst (2)

38-38: Documentation clarity improved.

The change from referencing "the official website" to "the official installation guide" with a direct link is a good improvement that makes the documentation more actionable and user-friendly.


37-39: Link is accessible and working correctly.

The installation guide link at https://www.zerotier.com/download/ returns HTTP 200 and is functional.

Regarding the additional service verification step: the commit message for this change indicates it addresses a "RST formatting issue" rather than adding a service status verification step. If you'd like to suggest adding a verification step as a documentation improvement, consider it as an optional enhancement rather than a missing promised feature.

			> Likely an incorrect or invalid review comment.

@openwisp-companion
Copy link
Copy Markdown

ReStructuredText Formatting Failure

Hello @ukramkrishna4-jpg,
(Analysis for commit df8dfdc)

The CI failed because there's a formatting issue in the ReStructuredText file docs/user/zerotier.rst.

Fix:
Please reformat the file using openwisp-qa-format. If the issue persists, manually adjust the formatting of the specified file.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/user/zerotier.rst`:
- Around line 37-38: Add an explicit verification step after the install
paragraph in docs/user/zerotier.rst that tells users how to confirm the ZeroTier
service is running and what to do if it isn't: instruct them to check the
service status (e.g., via system service manager) and to check ZeroTier's
runtime status with the ZeroTier CLI, and if the service is inactive guide them
to start and enable it to persist across reboots; place this new step
immediately after the existing install instruction so readers validate the
daemon before proceeding.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8c60372d-b583-4350-a088-e51f91e88472

📥 Commits

Reviewing files that changed from the base of the PR and between df8dfdc and 15ff632.

📒 Files selected for processing (1)
  • docs/user/zerotier.rst
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Python==3.11 | django~=5.1.0
  • GitHub Check: Python==3.11 | django~=5.2.0
  • GitHub Check: Python==3.10 | django~=5.1.0
  • GitHub Check: Python==3.11 | django~=4.2.0
  • GitHub Check: Python==3.13 | django~=5.1.0
  • GitHub Check: Python==3.12 | django~=5.2.0
  • GitHub Check: Python==3.12 | django~=4.2.0
  • GitHub Check: Python==3.10 | django~=5.2.0
  • GitHub Check: Python==3.13 | django~=5.2.0
  • GitHub Check: Python==3.10 | django~=4.2.0
  • GitHub Check: Python==3.12 | django~=5.1.0

Comment on lines +37 to +38
If you haven't already set up a self-hosted ZeroTier network controller on your server, now is a good time to do so. You can start by installing ZeroTier on your server from the `official website <https://www.zerotier.com/download/>`_.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Add an explicit service-start verification step after install.

Line 37 improves the install reference, but there is still no explicit check to ensure ZeroTier is running. This can leave new users stuck after installation.

📝 Proposed docs patch
 If you haven't already set up a self-hosted ZeroTier network controller on your server, now is a good time to do so. You can start by installing ZeroTier on your server from the `official website <https://www.zerotier.com/download/>`_.
 
+After installation, ensure the ZeroTier service is running on the controller:
+
+.. code-block:: shell
+
+    sudo systemctl enable --now zerotier-one
+    sudo systemctl status zerotier-one
+
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
If you haven't already set up a self-hosted ZeroTier network controller on your server, now is a good time to do so. You can start by installing ZeroTier on your server from the `official website <https://www.zerotier.com/download/>`_.
If you haven't already set up a self-hosted ZeroTier network controller on your server, now is a good time to do so. You can start by installing ZeroTier on your server from the `official website <https://www.zerotier.com/download/>`_.
After installation, ensure the ZeroTier service is running on the controller:
.. code-block:: shell
sudo systemctl enable --now zerotier-one
sudo systemctl status zerotier-one
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/user/zerotier.rst` around lines 37 - 38, Add an explicit verification
step after the install paragraph in docs/user/zerotier.rst that tells users how
to confirm the ZeroTier service is running and what to do if it isn't: instruct
them to check the service status (e.g., via system service manager) and to check
ZeroTier's runtime status with the ZeroTier CLI, and if the service is inactive
guide them to start and enable it to persist across reboots; place this new step
immediately after the existing install instruction so readers validate the
daemon before proceeding.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/user/zerotier.rst`:
- Line 37: Reword the sentence to remove redundancy and use clearer link text:
replace "If you haven't already set up a self-hosted ZeroTier network controller
on your server, you can install ZeroTier on your server by following the
`official website <https://www.zerotier.com/download/>`_." with a concise
alternative that avoids repeating "on your server" and uses accurate link text
such as "ZeroTier download page" or "ZeroTier install instructions" (e.g., "If
you haven't set up a self-hosted ZeroTier network controller yet, install
ZeroTier using the ZeroTier download page
<https://www.zerotier.com/download/>_.").
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1d4135e6-30b3-4ae3-a6c3-77b16517ebd3

📥 Commits

Reviewing files that changed from the base of the PR and between 15ff632 and 44f1f23.

📒 Files selected for processing (1)
  • docs/user/zerotier.rst
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: Python==3.13 | django~=5.2.0
  • GitHub Check: Python==3.12 | django~=5.2.0
  • GitHub Check: Python==3.12 | django~=5.1.0
  • GitHub Check: Python==3.12 | django~=4.2.0
  • GitHub Check: Python==3.11 | django~=5.2.0
  • GitHub Check: Python==3.11 | django~=5.1.0
  • GitHub Check: Python==3.10 | django~=4.2.0
  • GitHub Check: Python==3.10 | django~=5.1.0
🔇 Additional comments (1)
docs/user/zerotier.rst (1)

37-38: Consider adding service verification step after installation.

As flagged in previous reviews, the documentation still lacks an explicit step to verify that the ZeroTier service is running after installation. This can leave new users unsure whether the installation succeeded.

The previous review suggested adding commands like:

sudo systemctl enable --now zerotier-one
sudo systemctl status zerotier-one

This would help users confirm the daemon is active before proceeding to step 2.

@openwisp-companion
Copy link
Copy Markdown

CI Failures: ReStructuredText Formatting Error

Hello @ukramkrishna4-jpg,
(Analysis for commit 835df65)

There is a ReStructuredText formatting error in your commit.

Failure:
The ReStructuredText check failed because the file /home/runner/work/openwisp-controller/openwisp-controller/docs/user/zerotier.rst could be reformatted.

Fix:
Please run openwisp-qa-format to automatically fix the ReStructuredText formatting issues in the specified file.

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