pingcap / pingcap/tiup

Command tiup not found in new window of Konsole

Open
#2,427 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Bug Report

  1. What did you do?
  • install TiDB locally in Fedora
  • open new window in Konsole
  • ran tiup
  1. What did you expect to see?
  • be able to find tiup command
  • more info in the documentation
  1. What did you see instead?
  • encountering command "tiup" not found
  1. What version of TiUP are you using (tiup --version)?
1.15.2 v1.15.0-nightly-19
Go Version: go1.21.10
Git Ref: master
GitHash: 901a375541eac343d2502040a5a8d3a14489581a
  1. How to fix it?
  • restart :D

it seems that in the new window/tab of Konsole, it only reads .bashrc because it's a non-login shell.
but after restart the OS (or maybe it can be just a logout-login), I could see tiup path in the $PATH in Konsole.
(adding the line in .bashrc make a repetition of it after restart. so not a good idea)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the TiUP installation documentation and reproduce the setup in Fedora using a new Konsole window. Compare how .bashrc, login-shell initialization, and $PATH expose the tiup command, then document or correct the setup so a newly opened shell finds tiup without requiring an OS restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, fedora, go
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.