Troubleshooting
macOS folder permission errors
You see: "Lifer doesn't have permission to access this folder".
macOS asks before an app can read your Desktop, Documents or Downloads folders, or external drives. If the request was denied, Lifer can't read or write your library there.
- Open System Settings > Privacy & Security > Files and Folders.
- Find Lifer in the list.
- Turn on the folder your library lives in: Desktop Folder, Documents Folder, Downloads Folder, or Removable Volumes for an external drive.
- Try again. If it still fails, quit and reopen Lifer.
If Lifer isn't in the list, try the action again so macOS asks. Or move your library to a folder macOS doesn't protect, like a folder in your home folder or Pictures, with Settings > Storage.
Model download failures
You see: "Download failed" in Settings > Offline data > Species recognition, or during setup.
The models (about 680 MB together) come from Hugging Face and the Lifer GitHub releases.
A dropped connection is retried by itself, and a download carries on from where it stopped, so a failure means the retries ran out.
- Check your internet connection, then click the download button again.
- Make sure there's at least 1 GB of free space on the disk that holds Lifer's app data. On a server, that's the
lifer-app-dataDocker volume. - On a server, make sure the container can reach
huggingface.coandgithub.com. Firewalls, DNS filters and some proxies block them.
If "Some species recognition data couldn't be downloaded" appears, the model is installed but the species examples it compares against aren't complete. Lifer tries again each time it starts.
Species suggestions unavailable
You see: no suggestion cards on the Import page, or Suggest species while importing photos is grayed out.
- The model isn't downloaded. Download it from Settings > Offline data > Species recognition. Then turn on Suggest species while importing photos in Settings > Species and import.
- No region is chosen. On the Import photos page, pick a Region for species suggestions. Suggestions come from the species in that region.
- The region isn't downloaded. Download it from Settings > Species and import > Species downloads.
- "Species matching took too long on this photo" means one photo timed out. Lifer restarts species recognition on its own, so carry on.
- "Stopped: species recognition is stuck on an earlier photo" (or the animal detector, or the scene model) means several photos in a row timed out. Quit and reopen the desktop app, or run
docker compose restart apion a server.
On a species page's Import, each photo keeps that species, and a row only mentions a suggestion when it disagrees, like "Looks like Black-collared Hawk".
The status line in Species recognition tells you which model suggestions use. "Suggestions use the general, less accurate model." means only part of the download finished. Click Download on that row to get the identification model (about 370 MB).
If species recognition is slow on a server with a graphics card, see GPU acceleration.
Drive not connected
You see: a red dot on a photo, "Original unavailable. Connect "…" to view it", or "This file's drive isn't connected right now".
The original is on an external drive that isn't plugged in. Plug it in and try again. Thumbnails keep working while it's unplugged.
If the drive is plugged in but Lifer still says it isn't:
- On a Mac, check folder permissions for Removable Volumes.
- Check Settings > Storage > External drives to see whether it shows Connected.
- On a server, check that the folder is still mounted and listed in
LIFER_LIBRARY_ROOTS. Settings > Storage > Extra library folders shows Not found if it isn't.
"The file couldn't be found at its saved location" means the file was moved or deleted outside Lifer. Put it back, or run Rescan this library to relink moved files.
"This photo is damaged and can't be read"
You see: that reason next to a photo after an import.
Lifer couldn't decode the file. Open it in another app: if it won't open there either, the file is damaged, so copy it again from the card or a backup. A JPEG 2000 file that opens elsewhere may use a feature Lifer's reader doesn't support, such as JPX extensions; export it as JPEG, TIFF or AVIF and import that.
"Lifer can't save photos right now"
Your library folder (or Lifer's app data folder) is missing, usually because it was moved, renamed or deleted, or the drive it's on was unplugged.
- Desktop app: move it back and click Check again on the banner, or click Choose new location and pick where it is now. Lifer restarts itself on the new folder.
- Docker: move it back and click Check again, or update
LIFER_STORAGE_DIRto the folder's new location and rundocker compose up -d.
Resetting a forgotten password
This applies to server accounts. The desktop app's own library has no password.
Lifer doesn't send email, so a forgotten password is reset from a shell on the server, which proves you run it. The Forgot password? link on the login page shows the same steps.
- Run the reset command:
-
Docker: from the folder with
docker-compose.yml, run:docker compose exec api lifer-admin reset-password -
TrueNAS Custom App: open the app's Shell in the TrueNAS web interface (on the
apicontainer), then run:lifer-admin reset-password
-
- Type the new password (at least 8 characters), then type it again.
- Sign in with the new password.
Every device that was signed in is signed out. To see which email your account uses, run lifer-admin list-users.
The desktop app won't start
- "Another program (possibly an earlier copy of Lifer) is still using port 4310." Quit any other copy of Lifer (check the menu bar or Task Manager), then open it again. Restarting the computer also clears it.
- "Lifer's backend didn't start in time." Quit and reopen Lifer. The first launch can be slow while it sets up its database.
- "Lifer stopped unexpectedly." The dialog includes the last error messages. Copy them into a bug report.
- macOS says Lifer can't be opened. Make sure it came from the Releases page, then see Install on macOS.
Countries or checklists are empty on a new server
The species catalog is built into the Docker image and loads on first start. If countries still don't appear, check the log for "Catalog auto-seed failed". Once the server has internet access, open Settings > Offline data > Species catalog and click Update if it offers one, or restart the server.
A list from iNaturalist isn't adding
See Adding lists of plants, insects and spiders.
- "You're offline." Adding a list needs a connection. A list already started waits and carries on by itself once you're back online; Retry tries again now.
- "iNaturalist is busy, try again in a few minutes." iNaturalist asked Lifer to slow down. Wait a few minutes, then click Retry on the list.
- "Pick a place that has a Lifer region." The place is a park, town or area Lifer has no checklist for. Click the Place chip and pick its province, state or country.
- No "A group from iNaturalist" tab in Add other species. Turn on Search iNaturalist for other species in Settings > Species and import.
- The list stops at 5,000 species. Bigger lists are added in batches over time. Click Continue on the list to start the next batch now.
Where the logs are
Docker server:
docker compose logs -f api
On a NAS, open the Lifer container's logs in its interface. Lines worth knowing:
| Log line | Meaning |
|---|---|
| "Catalog auto-seed failed" | The species catalog didn't load. See above. |
| "[watchdog] Lifer has been unresponsive for …" | The server was stuck. It restarts itself after LIFER_FREEZE_RESTART_SECONDS. Please report these. |
| "[library] …" | The library folder, or an extra library folder, went missing or came back |
Desktop app: the app doesn't write a log file. If it crashes, the "Lifer stopped unexpectedly" dialog shows the last messages. To see everything as it happens on a Mac, open Terminal and run:
/Applications/Lifer.app/Contents/MacOS/lifer-desktop
Still stuck?
Ask in Discussions, or report a bug. Feedback and support lists what to include: your Lifer version (Settings > General > App updates in the desktop app, or /version on your server's address, like http://192.168.1.50:4000/version), whether you use the desktop app or Docker, and any log lines.