install.sh --tailscale replaces whatever the host already serves on tailnet port 443

オープン
#80 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@viniciusbregoli がすでに取り組んでいます。

2026年11月18日 から。

  • #82 @viniciusbregoli による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
bash, shell
領域
devops

調査の方向性

Start with apps/link-service/install.sh, especially address_tailscale, and inspect uninstall.sh alongside it. The issue points to tailscale serve status --json as the existing-handler check; trace how installation and removal affect port 443 and what state would need preserving. Done means the existing service is not silently lost and uninstall restores the prior configuration; pull request #82 is already open.

索引モデルが issue の本文から書いたものです。

説明

What happened

install.sh --tailscale (address_tailscale in apps/link-service/install.sh) runs:

tailscale serve --bg --https=443 "http://127.0.0.1:$PORT"

without checking whether the host already serves something on tailnet port 443. On a host that already uses tailscale serve for other services, this replaces that handler without saying so. uninstall.sh then runs tailscale serve --https=443 off, which doesn't bring the previous handler back either.

I found this while setting up phone access on a host where 443 was already taken by another service, so I didn't run --tailscale there. Instead, I pointed DUSK_PUBLIC_URL at an existing tailscale serve entry on another port.

Suggestions: check tailscale serve status --json first. If 443 is taken, use a free HTTPS port or ask, and pass the actual port to --public-url. Have the uninstaller restore what was there before.

Steps to reproduce
  1. On a tailnet host, run tailscale serve --bg --https=443 http://127.0.0.1:8082 (any existing service).
  2. Run the install line with --tailscale.
  3. tailscale serve status now shows 443 pointing at the dusk bot server. The previous service is gone.
Version

install.sh as served on 2026-11-18 (same ts serve line on main)

Platform

Own server (VPS)

主要言語
TypeScript
スター
277
フォーク
27
平均マージ
2時間 47分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DuskBotAI/duskbot のほかの issue

DuskBotAI/duskbot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。