Troubleshooting
Start with the logs: docker logs fret (or journalctl -u fret). For more detail, restart Fret
with FRET_LOG_LEVEL=debug. The tracking history and the Reason of a parcel, on its page,
usually say what went wrong.
The interface
Section titled “The interface”The page does not open
Section titled “The page does not open”- Check that Fret runs:
docker ps, and the last lines of the logs. At startup, Fret logsFret is opening the dockwith its address. - With Docker, check the port mapping (
-p 8080:8080) and that nothing else uses the port. fret healthcheck(inside the container:docker exec fret /fret healthcheck) exits with0when Fret answers.
“Fret is not responding. Is the server running?”
Section titled ““Fret is not responding. Is the server running?””The interface cannot reach the API. Fret was stopped or restarted, or the network dropped. The page reconnects on its own once Fret is back.
The dock does not update live
Section titled “The dock does not update live”The connection indicator stays on Connecting… or the dock only changes when you reload: a reverse
proxy is buffering the event stream. See Reverse proxy (proxy_buffering off with
nginx).
Forgotten password
Section titled “Forgotten password”Stop Fret, delete the password from the database, then start Fret again: it asks for a new password as on the first run.
sqlite3 /path/to/data/fret.db \ "DELETE FROM settings WHERE key = 'auth.password_hash'; DELETE FROM sessions;"The image has no sqlite3: run it from the host on the data folder (with Docker volumes, under
docker volume inspect fret-data). Shipments, accounts and API tokens are kept.
“Too many attempts, try again in a minute.”
Section titled ““Too many attempts, try again in a minute.””Five wrong passwords in a minute from the same address. Wait a minute.
Downloads
Section titled “Downloads”Nothing leaves the dock
Section titled “Nothing leaves the dock”- Is the dock closed? The band says DOCK CLOSED: open it, or check your dock hours.
- Are the parcels Overnight? They only leave during a night slot, when one exists.
- Are the parcels of one carrier waiting while others travel? That carrier is limited to one or two parcels at a time without a subscription: see Doors per carrier.
- Are the parcels Held at the dock? Open one: the reason says why.
Downloads are slow
Section titled “Downloads are slow”- Check the gauge on the dock band, and the dock hours that may lower it.
- Free modes are limited by the hosters (one connection, imposed waits, quotas). A forwarder or a premium account lifts these limits.
- More segments per parcel help with servers that limit each connection.
“Permission denied” when delivering
Section titled ““Permission denied” when delivering”Fret cannot write into the warehouse. With Docker, the container runs as user 65532 unless you set
user:; it must own the folder mounted on /downloads. See
Delivering into a folder of the host.
A parcel is “Held: password required”
Section titled “A parcel is “Held: password required””The link or the archive is protected. For an archive, type the password in Unpack on the parcel page. For a link, the password belongs to the shipment: send the link again in a new shipment with the right password.
A parcel is “Held: subscribers only”
Section titled “A parcel is “Held: subscribers only””The hoster only gives this file to premium accounts. Add a premium account or a forwarder that supports the hoster on the Carriers screen, then Release the parcel.
“This link leads to a web page, not a file”
Section titled ““This link leads to a web page, not a file””No carrier or forwarder knows this hoster, and the link is not a direct file link. Add a forwarder that supports the hoster.
A parcel is “Already in the warehouse”
Section titled “A parcel is “Already in the warehouse””The link was already delivered, or a file with the same name exists in the folder. See Links already known.
The dock hours are shifted
Section titled “The dock hours are shifted”They follow the time zone of the server. Set TZ (for instance TZ=Europe/Paris) and restart Fret.
Accounts
Section titled “Accounts”| Stamp | What to check |
|---|---|
| Refused | The key or the password is wrong, or was revoked at the service. Replace it. |
| Not premium | The key is valid but the account has no subscription: Fret does not use it. |
| Expired | The subscription has ended. |
| Unreachable | The service did not answer the check. Fret tries again later; Test retries now. |
Service quirks
Section titled “Service quirks”- MEGA limits the free transfer quota per IP address. Past it, the parcel is held at customs for an hour, then leaves again on its own.
- Pixeldrain may refuse free downloads (“hotlink detected”, captcha required): the parcel is held, subscribers only. An API key with a subscription, or a forwarder, solves it.
- MediaFire sometimes answers
403to automated clients, and the parcel ends as a return to sender. Send back to the dock a bit later usually works. - Rapidgator needs an account or a forwarder (its free mode asks for a captcha).
More in Supported services.
Collection
Section titled “Collection”- “collection unavailable” in the logs: the port is taken, usually by JDownloader or pyLoad. Stop
them, or set
FRET_COLLECT_ADDRto another address. - Nothing arrives: the browser must reach
127.0.0.1:9666. See Making it reachable.
Reporting a bug
Section titled “Reporting a bug”Open an issue on GitHub with the version (fret version),
how you run Fret, and the relevant logs at the debug level. Remove your keys, tokens and private
links first.