[Bug]: missing files in different libraries #798

Open
opened 2025-10-14 17:32:37 -06:00 by navan · 0 comments
Owner

Originally created by @Terminal-Grasshopper on 1/12/2025

What happened?

I have libraries

  • Name: All
    Folders: /path/ebooks /path/audiobooks

  • Name: Ebooks

  • Folders: /path/ebooks

  • Name: Audiobooks

  • Folders: /path/audiobooks

The "All" library is missing some audiobooks/ebooks that the niche library (audiobooks/ebooks) does detect and the json file is present

What did you expect to happen?

For items in different libraries that share a folder path, to be showing all the contents of the path

Steps to reproduce the issue

  1. create different libraries that share a common path and add multiple books/audiobooks
  2. i'm not sure of a specific way to reproduce the issue and it could be unnoticed with a huge library

Audiobookshelf version

v2.17.7

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

2025-01-12 19:31:50.540

DEBUG

[Watcher] Rename /files/E-Books/Security Risk Management Building an Information Security Risk Management Program from the Ground Up by Evan Wheeler/metadata.json => /files/E-Books/Security Risk Management Building an Information Security Risk Management Program from the Ground Up/metadata.json

2025-01-12 19:32:00.576

DEBUG

[Scanner] scanFolderUpdates fileUpdateGroup { 'New folder': [ 'Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf', 'cover.jpg' ], 'Security Risk Management Building an Information Security Risk Management Program from the Ground Up': [ 'Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf', 'cover.jpg', 'Thumbs.db', 'metadata.json' ] }

2025-01-12 19:32:00.582

ERROR

[Utils] Failed to get ino for path /files/E-Books/New folder/Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf [Error: ENOENT: no such file or directory, stat '/files/E-Books/New folder/Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf'] { errno: -2, code: 'ENOENT', syscall: 'stat', path: '/files/E-Books/New folder/Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf' }

2025-01-12 19:32:00.681

DEBUG

[LibraryScanner] Folder update group must be a new item "Security Risk Management Building an Information Security Risk Management Program from the Ground Up" in library "E-Books"

2025-01-12 19:32:00.682

DEBUG

[Scan] "Security Risk Management Building an Information Security Risk Management Program from the Ground Up": "Security Risk Management Building an Information Security Risk Management Program from the Ground Up" Getting metadata with precedence [folderStructure, audioMetatags, nfoFile, txtFiles, opfFile, absMetadata]

2025-01-12 19:32:00.682

DEBUG

[Scan] "Security Risk Management Building an Information Security Risk Management Program from the Ground Up": Found metadata file "/files/E-Books/Security Risk Management Building an Information Security Risk Management Program from the Ground Up/metadata.json"

Additional Notes

rescanning, matching, or creating a new folder for the item doesn't fix the issue (sometimes creating another folder fixes it but not always)

*Originally created by @Terminal-Grasshopper on 1/12/2025* ### What happened? I have libraries - Name: All Folders: /path/ebooks /path/audiobooks - Name: Ebooks - Folders: /path/ebooks - Name: Audiobooks - Folders: /path/audiobooks The "All" library is missing some audiobooks/ebooks that the niche library (audiobooks/ebooks) does detect and the json file is present ### What did you expect to happen? For items in different libraries that share a folder path, to be showing all the contents of the path ### Steps to reproduce the issue 1. create different libraries that share a common path and add multiple books/audiobooks 2. i'm not sure of a specific way to reproduce the issue and it could be unnoticed with a huge library ### Audiobookshelf version v2.17.7 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell 2025-01-12 19:31:50.540 DEBUG [Watcher] Rename /files/E-Books/Security Risk Management Building an Information Security Risk Management Program from the Ground Up by Evan Wheeler/metadata.json => /files/E-Books/Security Risk Management Building an Information Security Risk Management Program from the Ground Up/metadata.json 2025-01-12 19:32:00.576 DEBUG [Scanner] scanFolderUpdates fileUpdateGroup { 'New folder': [ 'Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf', 'cover.jpg' ], 'Security Risk Management Building an Information Security Risk Management Program from the Ground Up': [ 'Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf', 'cover.jpg', 'Thumbs.db', 'metadata.json' ] } 2025-01-12 19:32:00.582 ERROR [Utils] Failed to get ino for path /files/E-Books/New folder/Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf [Error: ENOENT: no such file or directory, stat '/files/E-Books/New folder/Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf'] { errno: -2, code: 'ENOENT', syscall: 'stat', path: '/files/E-Books/New folder/Security Risk Management Building an Information Security Risk Management Program from the Ground Up.pdf' } 2025-01-12 19:32:00.681 DEBUG [LibraryScanner] Folder update group must be a new item "Security Risk Management Building an Information Security Risk Management Program from the Ground Up" in library "E-Books" 2025-01-12 19:32:00.682 DEBUG [Scan] "Security Risk Management Building an Information Security Risk Management Program from the Ground Up": "Security Risk Management Building an Information Security Risk Management Program from the Ground Up" Getting metadata with precedence [folderStructure, audioMetatags, nfoFile, txtFiles, opfFile, absMetadata] 2025-01-12 19:32:00.682 DEBUG [Scan] "Security Risk Management Building an Information Security Risk Management Program from the Ground Up": Found metadata file "/files/E-Books/Security Risk Management Building an Information Security Risk Management Program from the Ground Up/metadata.json" ``` ### Additional Notes rescanning, matching, or creating a new folder for the item doesn't fix the issue (sometimes creating another folder fixes it but not always)
navan added the
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
labels 2025-10-14 17:32:39 -06:00
Sign in to join this conversation.
No labels
authentication
awaiting release
awaiting release
awaiting release
awaiting release
backlog
backlog
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
chapter editor
chapter editor
chapter editor
chapter editor
chapter editor
ebooks
ebooks
ebooks
ebooks
ebooks
ebooks
ebooks
ebooks
ebooks
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
possible plugin
progress sync
sorting/filtering/searching
sorting/filtering/searching
sorting/filtering/searching
sorting/filtering/searching
sorting/filtering/searching
sorting/filtering/searching
sorting/filtering/searching
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
unable to reproduce
upload
users & permissions
users & permissions
users & permissions
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/audiobookshelf#798
No description provided.