Documentation
Troubleshooting and Checks
The Checks page, common problems and how to get help.
The Checks page
Open Checks in the navigation first when something does not work. It tests what AniFlow needs to do its job, one thing at a time, and shows a mark for each: fine, worth a look, or has to be fixed. The sidebar item shows the number of problems. Rows that have a place to fix them have a Fix button that opens the right page. Check again runs everything again.
The page also asks your indexers and the metadata source (one small request each, spaced out) when it opens and when you press Check again. The background refresh of the sidebar number does not do that. The setup wizard has the same list without those network checks.
Checks that do not apply are hidden: in Basic mode (no indexer configured, so no downloading) the download client, indexer, download folder and feed checks are skipped, and the Shoko check is skipped in standalone mode unless Shoko is configured.
What is checked, and what to do
| Group / check | Failure means | What to do |
|---|---|---|
| Setup - Torrent client | No address is set, or the client did not answer | Settings -> Downloads: fill in the address as the AniFlow container sees it and press Test connection. See Download clients |
| Torrent client is ready to use | The client answered but is not ready (for example Deluge without its Label plugin) | Read the reason shown and fix it in the client |
| Download folder matches the client's | The client saves somewhere other than the download folder AniFlow reads | Mount the same folder at the same path in both containers. AniFlow accepts a client folder that is the download folder or inside it |
| Indexer | No indexer is switched on, or the last request of one failed. With live checks, an indexer's feed that did not answer | Open Indexer Profiles; see Indexers and feeds |
| Feed source | No feed source is set up, so new episodes are only found by searching (a warning) | Add one under RSS Source Profiles |
| Folders - Download folder | Missing in the container, not readable, or low on space (under 5 GB free) | Check the volume mount and the permissions of the user in your compose file |
| Library (one row per library) | Folder missing, not writable (a real test file is created), or under 5 GB free | Check the mount; make the AniFlow user the owner or give it write access. In Shoko Server mode a library is only checked for writing when it is linked to a Shoko import folder |
| Shoko hand-over folder | The import folder is not mounted or not writable | Mount Shoko's hand-over folder at /import. Not needed when every library is linked to Shoko |
| Hardlink placement | Only checked if Settings -> Downloads says Hardlink. A real link is tried from the download folder into each target. Fails across mounts or on filesystems without links | See "Invalid cross-device link" below, or choose Copy |
| AniFlow data folder, AniFlow settings folder | Missing, not writable, or under 1 GB free | Fix the ownership of /data and /config |
| Reference data - Airing calendar | The calendar database could not be opened, or the current season is not loaded | Open the Calendar and update it. If the check says the database could not be opened, read the log |
| Calendar up to date | The current season was last updated 10 or more days ago | Check the calendar job on the Schedule page, or update the Calendar by hand |
| AniDB titles, Id list | Not downloaded yet, or the last download failed | They are fetched by the Identity job on the Schedule page (at most weekly). Run it there and read its error |
| Database | The database is behind what this version expects, so a migration failed | Read the log from the start of the container; restore a backup if needed |
| Metadata source (live) | AniList or Kitsu did not answer, or is limiting requests (HTTP 429) | Usually clears by itself. Check your proxy and internet connection |
| Other programs - Shoko Server | Shoko mode needs the address and key, or Shoko did not answer | Settings -> Shoko Server. See Shoko Server |
| Activity - Downloads | Downloads are blocked or failed | Open In Progress; see Downloads |
| Background worker | The worker is not running, so nothing is scheduled | Read the log and restart the container |
| Scheduled jobs | One or more jobs failed their last run | Open the Schedule page for the error of each |
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
Container refuses to start with chmod ... operation not permitted (TrueNAS) | The dataset uses NFSv4 ACLs in restricted mode, which forbids a change Docker makes on every bind mount | Switch the dataset to POSIX ACLs or set aclmode=passthrough |
permission denied on /config or /data; Checks say a folder is not writable | The user in your compose file does not own the folders | Set user: to a user that owns them, or chown -R 1000:1000 /docker/aniflow (your own ids and path) |
| Setup asks for a code | It is a one-time code printed to the log, so only someone who can read the log can create the account | docker logs aniflow 2>&1 | grep "one-time code" |
| Cannot reach the download client from AniFlow | Inside the container, localhost is AniFlow itself | Use the host's address (for example http://192.168.1.10:8080) or the client's container name on a shared Docker network |
| Downloads say "not configured" | No client address is saved | Settings -> Downloads, enter the client and press Test connection |
| Files not found or cannot be placed | AniFlow and the client (and Shoko) see the same folder at different paths | Mount the same host folder at the same path in each container, then run Check paths (Settings -> Downloads) and look at the Checks page |
Hardlink: Invalid cross-device link | The download folder and the library are on different mounts or filesystems, even when it is the same disk | Mount one parent folder (downloads and media inside it) into AniFlow and the client and use those paths, or choose Copy in Settings -> Downloads |
An import is stuck on target_exists | A different file already occupies the destination | Resolve it by hand; the import retries afterwards |
| A feed or indexer is failing | The site is down or refusing requests, or the address is wrong | The Checks page shows the reason; wait and check again. AniFlow spaces its requests and slows down after a refusal on purpose |
| Port already in use | Another service uses the host port | Change the left side of ports:, for example "9631:9630" |
| The calendar is empty after an outage of a metadata source | It should not be: AniFlow applies a season only when the whole answer was fetched and checked, and an error, a timeout or an empty answer adds nothing and removes nothing | Wait for the source to come back and update the Calendar. If it stays empty, check Checks and the log, and report it (see below) |
| Covers are missing | The provider's image host did not answer, or no source had artwork | Covers are fetched on first view and cached in /data/cover-cache; reload later. Check the proxy setting if you use one |
| Times or dates look wrong | Timezone or format | Set TZ in your compose file; choose time and date format under Settings -> General |
Reading the log
AniFlow writes to the container log and to /config/log/aniflow.log, which is rotated (10 MB per file, five old files kept).
docker logs aniflow
docker logs --tail 200 -f aniflow
By default only errors are logged. When chasing a problem, raise the level under Settings -> Notifications (Log options): Warning, Info, or Debug, which writes a great deal and includes each outgoing request. It applies at once, without a restart. Set it back afterwards.
The settings file also has two keys for narrowing the log: log_components (only these components) and log_component_levels (a level per component). See Settings.
The setup code is printed regardless of the level.
The diagnostics download
For a bug report, use Settings -> About -> Download diagnostics. The setup wizard has the same button. It builds one zip that you save yourself, containing:
- build and version, mode, timezone, folders, database version, uptime
- every setting, with passwords, keys and tokens replaced by
*** - the result of the Checks
- your libraries and indexers (with any key removed from addresses), the scheduled tasks and how their last run ended
- row counts of the database (counts only, not content)
- the last Activity entries and AniFlow's own last log lines
It does not contain the database or your AniDB export.
Anime titles and folder paths do appear in the log lines, and the addresses of your own machines are in the settings. AniFlow never sends the file anywhere. Open the zip and read it, and remove what you do not want to share, before you attach it to a report.
How to report a problem
- Say which AniFlow version you run (Settings -> About), and how you run it (Docker, compose file with passwords removed, host system, which download client).
- Describe what you did, what you expected and what happened. A screenshot of the Checks page helps.
- Raise the log level to Info, repeat the problem once, then download the diagnostics and read it.
- Attach the diagnostics file to your report.
Send the report by email to aniflow@proton.me, or open an issue on GitHub.