AniFlow

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 / checkFailure meansWhat to do
Setup - Torrent clientNo address is set, or the client did not answerSettings -> Downloads: fill in the address as the AniFlow container sees it and press Test connection. See Download clients
Torrent client is ready to useThe 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'sThe client saves somewhere other than the download folder AniFlow readsMount the same folder at the same path in both containers. AniFlow accepts a client folder that is the download folder or inside it
IndexerNo indexer is switched on, or the last request of one failed. With live checks, an indexer's feed that did not answerOpen Indexer Profiles; see Indexers and feeds
Feed sourceNo feed source is set up, so new episodes are only found by searching (a warning)Add one under RSS Source Profiles
Folders - Download folderMissing 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 freeCheck 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 folderThe import folder is not mounted or not writableMount Shoko's hand-over folder at /import. Not needed when every library is linked to Shoko
Hardlink placementOnly 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 linksSee "Invalid cross-device link" below, or choose Copy
AniFlow data folder, AniFlow settings folderMissing, not writable, or under 1 GB freeFix the ownership of /data and /config
Reference data - Airing calendarThe calendar database could not be opened, or the current season is not loadedOpen the Calendar and update it. If the check says the database could not be opened, read the log
Calendar up to dateThe current season was last updated 10 or more days agoCheck the calendar job on the Schedule page, or update the Calendar by hand
AniDB titles, Id listNot downloaded yet, or the last download failedThey are fetched by the Identity job on the Schedule page (at most weekly). Run it there and read its error
DatabaseThe database is behind what this version expects, so a migration failedRead 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 ServerShoko mode needs the address and key, or Shoko did not answerSettings -> Shoko Server. See Shoko Server
Activity - DownloadsDownloads are blocked or failedOpen In Progress; see Downloads
Background workerThe worker is not running, so nothing is scheduledRead the log and restart the container
Scheduled jobsOne or more jobs failed their last runOpen the Schedule page for the error of each

Common problems

SymptomLikely causeFix
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 mountSwitch the dataset to POSIX ACLs or set aclmode=passthrough
permission denied on /config or /data; Checks say a folder is not writableThe user in your compose file does not own the foldersSet user: to a user that owns them, or chown -R 1000:1000 /docker/aniflow (your own ids and path)
Setup asks for a codeIt is a one-time code printed to the log, so only someone who can read the log can create the accountdocker logs aniflow 2>&1 | grep "one-time code"
Cannot reach the download client from AniFlowInside the container, localhost is AniFlow itselfUse 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 savedSettings -> Downloads, enter the client and press Test connection
Files not found or cannot be placedAniFlow and the client (and Shoko) see the same folder at different pathsMount 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 linkThe download folder and the library are on different mounts or filesystems, even when it is the same diskMount 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_existsA different file already occupies the destinationResolve it by hand; the import retries afterwards
A feed or indexer is failingThe site is down or refusing requests, or the address is wrongThe Checks page shows the reason; wait and check again. AniFlow spaces its requests and slows down after a refusal on purpose
Port already in useAnother service uses the host portChange the left side of ports:, for example "9631:9630"
The calendar is empty after an outage of a metadata sourceIt 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 nothingWait 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 missingThe provider's image host did not answer, or no source had artworkCovers 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 wrongTimezone or formatSet 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:

It does not contain the database or your AniDB export.

Careful

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

  1. Say which AniFlow version you run (Settings -> About), and how you run it (Docker, compose file with passwords removed, host system, which download client).
  2. Describe what you did, what you expected and what happened. A screenshot of the Checks page helps.
  3. Raise the log level to Info, repeat the problem once, then download the diagnostics and read it.
  4. Attach the diagnostics file to your report.

Send the report by email to aniflow@proton.me, or open an issue on GitHub.