01 / Run Doctor
One command for the whole workstation.
For a clean health check, refresh your sudo credentials first, then run Doctor:
sudo -vkansori doctorThe reason for sudo -v is explained in the sudo check below.
02 / What Doctor checks
Configuration, platform and tools.
kansori doctor checks the overall Kansori and workstation state:
- that your Kansori configuration is valid;
- the configured projects path, default PHP and HTTP port;
- that the machine runs Fedora;
- required commands:
bash,git,dnf,curl,wget,unzipandzip; - optional tools such as VS Code and ShellCheck, where applicable;
- whether
sudois ready; - your Git setup;
- SSH, reported for information only.
03 / The sudo check
Why sudo -v comes first.
Doctor checks sudo without prompting for a password, using sudo -n true. If your sudo credentials are not currently cached, that check fails, even when your account is allowed to use sudo.
This is a known limitation of the current check. Running sudo -v immediately before kansori doctor caches your credentials, so a failing sudo check then points to a real problem.
04 / Which check to run
Four checks, four scopes.
kansori doctor
Overall Kansori and workstation checks: configuration, platform, required tools, sudo and Git.
kansori webdev doctor
The health of the installed web development stack.
kansori <component> doctor
Focused diagnostics for a single Kansori component. webdev doctor is one example.
kansori webdev validate
The broader, final acceptance validation of the web development environment on Fedora.
05 / Reading the results
Diagnostics, not automatic repair.
Doctor runs deterministic checks and reports what it finds. It does not fix problems for you: each result tells you where to look, and the fix stays a deliberate step that you take.
Informational results, such as the SSH check, describe your setup without counting as a failure.
06 / When something looks wrong
Narrow it down before guessing.
- 01
Check the workstation
Run
sudo -v, thenkansori doctor, and resolve any failing configuration, platform or tool checks first. - 02
Check the web stack
Run
kansori webdev doctorwhen the problem involves PHP, Apache, MariaDB or another part of the stack. - 03
Reinstall missing parts
If stack components are missing, rerun
kansori webdev install. Completed work is skipped. - 04
Validate the result
Run
kansori webdev validatefor the final acceptance check.
07 / Next step
Keep a copy of your settings.
Once the workstation is healthy, back up your Kansori settings so you can restore them later.
Next Back up and restore your Kansori settings What a backup contains, and what restore changes.