Notes (Files)

Files CLI troubleshooting

Start from the symptom: files not found, no profile named, or a settings file that does not read.

Start with the symptom, run the check, then retry the command. Keep the error code and the profile name for a support request.

SymptomWhat to do
Not sure what is set upRun files doctor. It reads no keyring and uses no network.
files is not foundOpen a new terminal, and check that npm's global folder is on PATH.
"name a profile"Put the profile first, as in files personal config show, or set FILES_PROFILE.
The settings file does not readdoctor lists every problem in the file under config.issues. Run the config unset each one gives, or fix the file by hand.
doctor lists files.problemsOther users of the computer can read config.json or enter its folder. Run each chmod that doctor prints after "to make it private:". doctor never changes a file mode itself.
doctor lists problems and exits 1A notes folder is missing, overlaps another one, or has no folder ID. Run the command doctor prints after each problem, such as files folders update <id> <new path> for a folder that moved.
A write is refusedThe profile's permissions or FILES_READ_ONLY stop it; see settings.

Never paste a token, a password or private content into a support request.