# Troubleshooting

## `fuzzy: command not found` after installing

The install directory is not on your `PATH`. The installer prints where it put the binary. For `~/.local/bin`:

```sh
export PATH="$HOME/.local/bin:$PATH"
```

Add that line to your shell profile. On Windows, open a new terminal after installing.

## The installer refuses: checksum mismatch

The downloaded binary does not match `checksums.txt`, so nothing was installed. This can be a partial download or a tampered file. Run the installer again. If it keeps failing, tell the operator of the server.

## `401`: send your key as `Authorization: Bearer KEY`

The request had no key, or the key is wrong or revoked. Check `fuzzy whoami`. If it fails, run `fuzzy login` again. Make sure `FUZZY_KEY` in your environment is not an old key: the environment beats the saved login.

## `409`: this email already has a key

You already registered with that email. Use your key. If you lost it, see the [FAQ](faq.md).

## `413`: the file is too large or over your quota

Check the limits with `fuzzy whoami`. Delete files you no longer need with `fuzzy rm`. Expired files stop counting at once.

## `403`: public links are turned off

The operator set `FUZZY_ALLOW_PUBLIC=false`. Make a private link instead, with `--passphrase` or `--allow`.

## `404` on a link that used to work

A link stops working when it expires, when it is revoked, when its file is replaced or deleted, or when it reaches its download limit.

## A private link answers `401` and `locked`

Provide proof: the passphrase (`X-Fuzzy-Passphrase`, or `--passphrase` with `fuzzy fetch`) or your own key whose fingerprint is on the allow-list.

## `429`: too many wrong passphrases

Five wrong guesses per link and address lock further tries for 10 minutes. Wait, then try the right passphrase.

## The activity log shows only one IP address (the proxy's)

Set `FUZZY_TRUST_PROXY=true` on the server. See [HTTPS and reverse proxies](self-hosting-https.md).

## The browser says the connection is not secure

You are on plain `http`. Serve FuzzyShare behind HTTPS before real use.

## The server will not start

Read the first log line. Typical causes: a limit above the hard maximum (`FUZZY_USER_QUOTA` over 1 GB, `FUZZY_MAX_TTL` over 14 days), `FUZZY_DEFAULT_TTL` greater than `FUZZY_MAX_TTL`, a value that does not parse, or a port already in use (`FUZZY_ADDR`).

## Still stuck

Open an issue in the repository with the command you ran and the message you got. For security problems, follow [Security](self-hosting-security.md) instead.
