[Bug]: Library scan does not detect subfolders #1555

Closed
opened 2026-04-24 23:49:54 +02:00 by adam · 4 comments
Owner

Originally created by @PozoSer on GitHub (Nov 28, 2023).

Describe the issue

Hi. Thanks for the amazing work.

Since I moved my install to the Docker version of audiobookshelf (advplyr/audiobookshelf) I have been unable to properly scan my library. It will only detect files on the main folder but won't find anything on any subfolder.

The docker version is running on ubuntu under proxmox and access the library folder via NFS. My docker-compose is very simple:

services:
  audiobookshelf:
    image: ghcr.io/advplyr/audiobookshelf:latest
    container_name: audiobookshelf
    restart: unless-stopped
    environment:
      - TZ=Europe/XXX
    volumes:
      - /docker/audiobookshelf/data:/config
      - /downloads:/data

Before moving to Docker I had Audiobookshelf running directly on bare metal (an LXC container as installed by tteck scripts) and all worked fine.

I've searched online and have founded some examples: https://www.reddit.com/r/audiobookshelf/comments/12b7hwy/unable_to_find_media_using_docker_in_windows/ but no solution was found.

Steps to reproduce the issue

New docker installation.

  1. Create new library and point it to the location.
  2. Click scan.
  3. It will only find books that are in the main directory.

Audiobookshelf version

v2.4.4

How are you running audiobookshelf?

Docker

Originally created by @PozoSer on GitHub (Nov 28, 2023). ### Describe the issue Hi. Thanks for the amazing work. Since I moved my install to the Docker version of audiobookshelf (advplyr/audiobookshelf) I have been unable to properly scan my library. It will only detect files on the main folder but won't find anything on any subfolder. The docker version is running on ubuntu under proxmox and access the library folder via NFS. My docker-compose is very simple: ``` services: audiobookshelf: image: ghcr.io/advplyr/audiobookshelf:latest container_name: audiobookshelf restart: unless-stopped environment: - TZ=Europe/XXX volumes: - /docker/audiobookshelf/data:/config - /downloads:/data ``` Before moving to Docker I had Audiobookshelf running directly on bare metal (an LXC container as installed by tteck scripts) and all worked fine. I've searched online and have founded some examples: https://www.reddit.com/r/audiobookshelf/comments/12b7hwy/unable_to_find_media_using_docker_in_windows/ but no solution was found. ### Steps to reproduce the issue New docker installation. 1. Create new library and point it to the location. 2. Click scan. 3. It will only find books that are in the main directory. ### Audiobookshelf version v2.4.4 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:49:54 +02:00
adam closed this issue 2026-04-24 23:49:55 +02:00
Author
Owner

@nichwall commented on GitHub (Nov 28, 2023):

Where are your files mounted locally (not in Docker)? Are the mounted to /downloads?

Some people have run into issues with NFS shares and fixed them by using CIFS

@nichwall commented on GitHub (Nov 28, 2023): Where are your files mounted locally (not in Docker)? Are the mounted to `/downloads`? Some people have run into issues with NFS shares and fixed them by using CIFS
Author
Owner

@PozoSer commented on GitHub (Nov 29, 2023):

Yeah, they are loaded to /downloads.

The mount works fine as in the library setup folder, when I select the /data, all content is previewed correctly.

@PozoSer commented on GitHub (Nov 29, 2023): Yeah, they are loaded to /downloads. The mount works fine as in the library setup folder, when I select the /data, all content is previewed correctly.
Author
Owner

@nichwall commented on GitHub (Dec 10, 2023):

Does updating to the latest version (2.6.0) fix this issue, or did you ever try CIFS?

@nichwall commented on GitHub (Dec 10, 2023): Does updating to the latest version (`2.6.0`) fix this issue, or did you ever try CIFS?
Author
Owner

@PozoSer commented on GitHub (Dec 10, 2023):

I actually got it working after forcing a clean install (I think it required pruning the image and redownloading it). Same version and still using NFS but now everything works fine.

Thanks!

@PozoSer commented on GitHub (Dec 10, 2023): I actually got it working after forcing a clean install (I think it required pruning the image and redownloading it). Same version and still using NFS but now everything works fine. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1555