[Bug]: Cannot reinstall on TrueNas Scale after successful previous installation #969

Closed
opened 2025-10-14 18:14:30 -06:00 by navan · 0 comments
Owner

Originally created by @Th3K1ngP1n on 11/19/2024

What happened?

Reinstallation crashing when trying to add library. Exits with sockets failed and continues to loop.

What did you expect to happen?

The installation to go through

Steps to reproduce the issue

  1. Install on TrueNas scale
  2. Add additional mount point /audiobooks
  3. Add library in app pointing to mount

Audiobookshelf version

2.17.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Other (list in "Additional Notes" box)

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

None

Logs

2024-11-19 11:40:11.266243+00:00Config /config /metadata
2024-11-19 11:40:11.274416+00:00[2024-11-19 13:40:11.273] INFO: === Starting Server ===
2024-11-19 11:40:11.274864+00:00[2024-11-19 13:40:11.274] INFO: [Server] Init v2.17.0
2024-11-19 11:40:11.274980+00:00[2024-11-19 13:40:11.274] INFO: [Server] Node.js Version: v20.18.0
2024-11-19 11:40:11.275162+00:00[2024-11-19 13:40:11.275] INFO: [Server] Platform: linux
2024-11-19 11:40:11.275279+00:00[2024-11-19 13:40:11.275] INFO: [Server] Arch: x64
2024-11-19 11:40:11.277825+00:00[2024-11-19 13:40:11.277] INFO: [Database] absdatabase.sqlite not found at /config/absdatabase.sqlite
2024-11-19 11:40:11.278072+00:00[2024-11-19 13:40:11.277] INFO: [Database] Initializing db at "/config/absdatabase.sqlite"
2024-11-19 11:40:11.298317+00:00[2024-11-19 13:40:11.298] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:40:11.298682+00:00[2024-11-19 13:40:11.298] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:40:11.298892+00:00[2024-11-19 13:40:11.298] INFO: [Database] Db supports unaccent and unicode foldings
2024-11-19 11:40:11.298987+00:00[2024-11-19 13:40:11.298] INFO: [Database] Db connection was successful
2024-11-19 11:40:12.225383+00:00[2024-11-19 13:40:12.225] INFO: [MigrationManager] Database is new. Skipping migrations.
2024-11-19 11:40:21.434830+00:00[2024-11-19 13:40:21.434] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare
2024-11-19 11:40:21.457756+00:00[2024-11-19 13:40:21.457] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt
2024-11-19 11:40:21.778428+00:00[2024-11-19 13:40:21.778] INFO: [BackupManager] 0 Backups Found
2024-11-19 11:40:21.778762+00:00[2024-11-19 13:40:21.778] INFO: [BackupManager] Auto Backups are disabled
2024-11-19 11:40:21.802294+00:00[2024-11-19 13:40:21.801] INFO: Listening on port :30067
2024-11-19 11:41:16.703820+00:00[2024-11-19 13:41:16.703] INFO: [Server] Initializing new server
2024-11-19 11:41:16.704202+00:00[2024-11-19 13:41:16.703] WARN: [Server] Creating root user with no password
2024-11-19 11:41:21.407380+00:00[2024-11-19 13:41:21.407] INFO: [Auth] User "root" logged in from ip ::ffff:192.168.1.214
2024-11-19 11:41:21.692003+00:00[2024-11-19 13:41:21.691] INFO: [SocketAuthority] Socket Connected 1vm20k9V1-rl8uZYAAAB
2024-11-19 11:41:40.800434+00:00[2024-11-19 13:41:40.800] INFO: [Watcher] Initializing watcher for "Audiobooks".
2024-11-19 11:41:40.817842+00:00[2024-11-19 13:41:40.817] INFO: [Watcher] "Audiobooks" Ready
2024-11-19 11:41:40.935898+00:00[2024-11-19 13:41:40.935] FATAL: [Server] Unhandled rejection: TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:41:40.935937+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:41:40.935956+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 
2024-11-19 11:41:40.935986+00:00promise: Promise {
2024-11-19 11:41:40.936001+00:00<rejected> TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:41:40.936017+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:41:40.936042+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26)
2024-11-19 11:41:40.936057+00:00}
2024-11-19 11:41:43.419831+00:00Config /config /metadata
2024-11-19 11:41:43.427808+00:00[2024-11-19 13:41:43.427] INFO: === Starting Server ===
2024-11-19 11:41:43.428260+00:00[2024-11-19 13:41:43.428] INFO: [Server] Init v2.17.0
2024-11-19 11:41:43.428380+00:00[2024-11-19 13:41:43.428] INFO: [Server] Node.js Version: v20.18.0
2024-11-19 11:41:43.428564+00:00[2024-11-19 13:41:43.428] INFO: [Server] Platform: linux
2024-11-19 11:41:43.428690+00:00[2024-11-19 13:41:43.428] INFO: [Server] Arch: x64
2024-11-19 11:41:43.431141+00:00[2024-11-19 13:41:43.431] INFO: [Database] Initializing db at "/config/absdatabase.sqlite"
2024-11-19 11:41:43.450351+00:00[2024-11-19 13:41:43.450] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:41:43.450606+00:00[2024-11-19 13:41:43.450] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:41:43.450737+00:00[2024-11-19 13:41:43.450] INFO: [Database] Db supports unaccent and unicode foldings
2024-11-19 11:41:43.450909+00:00[2024-11-19 13:41:43.450] INFO: [Database] Db connection was successful
2024-11-19 11:41:43.454084+00:00[2024-11-19 13:41:43.453] INFO: [MigrationManager] Database is already up to date.
2024-11-19 11:41:43.527907+00:00[2024-11-19 13:41:43.527] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare
2024-11-19 11:41:43.540834+00:00[2024-11-19 13:41:43.540] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt
2024-11-19 11:41:43.545485+00:00[2024-11-19 13:41:43.545] INFO: [BackupManager] 0 Backups Found
2024-11-19 11:41:43.545670+00:00[2024-11-19 13:41:43.545] INFO: [BackupManager] Auto Backups are disabled
2024-11-19 11:41:43.555577+00:00[2024-11-19 13:41:43.555] INFO: [Watcher] Initializing watcher for "Audiobooks".
2024-11-19 11:41:43.560843+00:00[2024-11-19 13:41:43.560] INFO: Listening on port :30067
2024-11-19 11:41:43.568185+00:00[2024-11-19 13:41:43.568] INFO: [Watcher] "Audiobooks" Ready
2024-11-19 11:41:44.305520+00:00[2024-11-19 13:41:44.305] INFO: [SocketAuthority] Socket Connected GstT84n4DooGpifoAAAB
2024-11-19 11:41:47.252264+00:00[2024-11-19 13:41:47.252] INFO: [LibraryScanner] Library metadata precedence changed since last scan. From [Unset] to [folderStructure,audioMetatags,nfoFile,txtFiles,opfFile,absMetadata]
2024-11-19 11:41:47.253021+00:00[2024-11-19 13:41:47.252] INFO: [LibraryScanner] Starting (forced) library scan a087d06f-a243-44cf-aa7e-8c24228c268e for Audiobooks
2024-11-19 11:41:47.263026+00:00[2024-11-19 13:41:47.261] ERROR: [LibraryScanner] Library scan a087d06f-a243-44cf-aa7e-8c24228c268e failed after 0:00.0 | 0 Added | 0 Updated | 0 Missing. TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:41:47.263060+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:41:47.263069+00:00at async LibraryScanner.scanLibrary (/server/scanner/LibraryScanner.js:146:5)
2024-11-19 11:41:47.263077+00:00at async LibraryScanner.scan (/server/scanner/LibraryScanner.js:89:24)
2024-11-19 11:41:47.263085+00:00at async ApiRouter.scan (/server/controllers/LibraryController.js:1165:5)
2024-11-19 11:41:47.263873+00:00[2024-11-19 13:41:47.263] INFO: [LibraryController] Scan complete
2024-11-19 11:41:47.264660+00:00[2024-11-19 13:41:47.264] INFO: [LibraryScan] Scan log saved "/metadata/logs/scans/2024-11-19_a087d06f-a243-44cf-aa7e-8c24228c268e.txt"
2024-11-19 11:42:20.479862+00:00[2024-11-19 13:42:20.479] INFO: [SocketAuthority] Socket GstT84n4DooGpifoAAAB disconnected from client "root" after 36174ms (Reason: transport close)
2024-11-19 11:42:21.031184+00:00[2024-11-19 13:42:21.031] INFO: [SocketAuthority] Socket Connected cazQrsST5-eMfwLvAAAD
2024-11-19 11:42:53.519503+00:00[2024-11-19 13:42:53.519] INFO: [SocketAuthority] Socket cazQrsST5-eMfwLvAAAD disconnected from client "root" after 32489ms (Reason: transport close)
2024-11-19 11:43:26.386180+00:00[2024-11-19 13:43:26.385] INFO: [SocketAuthority] Socket Connected 1EGSXmbdrNOziKP2AAAF
2024-11-19 11:43:28.509595+00:00[2024-11-19 13:43:28.509] FATAL: [Server] Unhandled rejection: TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:43:28.509644+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:43:28.509686+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 
2024-11-19 11:43:28.509702+00:00promise: Promise {
2024-11-19 11:43:28.509717+00:00<rejected> TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:43:28.509733+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:43:28.509759+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26)
2024-11-19 11:43:28.509774+00:00}
2024-11-19 11:43:32.048570+00:00Config /config /metadata
2024-11-19 11:43:32.056632+00:00[2024-11-19 13:43:32.056] INFO: === Starting Server ===
2024-11-19 11:43:32.057085+00:00[2024-11-19 13:43:32.056] INFO: [Server] Init v2.17.0
2024-11-19 11:43:32.057193+00:00[2024-11-19 13:43:32.057] INFO: [Server] Node.js Version: v20.18.0
2024-11-19 11:43:32.057367+00:00[2024-11-19 13:43:32.057] INFO: [Server] Platform: linux
2024-11-19 11:43:32.057477+00:00[2024-11-19 13:43:32.057] INFO: [Server] Arch: x64
2024-11-19 11:43:32.059611+00:00[2024-11-19 13:43:32.059] INFO: [Database] Initializing db at "/config/absdatabase.sqlite"
2024-11-19 11:43:32.078106+00:00[2024-11-19 13:43:32.077] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:43:32.078472+00:00[2024-11-19 13:43:32.078] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:43:32.078578+00:00[2024-11-19 13:43:32.078] INFO: [Database] Db supports unaccent and unicode foldings
2024-11-19 11:43:32.078762+00:00[2024-11-19 13:43:32.078] INFO: [Database] Db connection was successful
2024-11-19 11:43:32.082244+00:00[2024-11-19 13:43:32.082] INFO: [MigrationManager] Database is already up to date.
2024-11-19 11:43:32.154081+00:00[2024-11-19 13:43:32.153] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare
2024-11-19 11:43:32.166967+00:00[2024-11-19 13:43:32.166] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt
2024-11-19 11:43:32.171574+00:00[2024-11-19 13:43:32.171] INFO: [BackupManager] 0 Backups Found
2024-11-19 11:43:32.171746+00:00[2024-11-19 13:43:32.171] INFO: [BackupManager] Auto Backups are disabled
2024-11-19 11:43:32.181563+00:00[2024-11-19 13:43:32.181] INFO: [Watcher] Initializing watcher for "Audiobooks".
2024-11-19 11:43:32.186987+00:00[2024-11-19 13:43:32.186] INFO: Listening on port :30067
2024-11-19 11:43:32.194019+00:00[2024-11-19 13:43:32.193] INFO: [Watcher] "Audiobooks" Ready
2024-11-19 11:43:41.858624+00:00[2024-11-19 13:43:41.858] FATAL: [Server] Unhandled rejection: TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:43:41.858705+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:43:41.858743+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 
2024-11-19 11:43:41.858759+00:00promise: Promise {
2024-11-19 11:43:41.858775+00:00<rejected> TypeError: Cannot read properties of undefined (reading 'bookCount')
2024-11-19 11:43:41.858791+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77)
2024-11-19 11:43:41.858816+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26)
2024-11-19 11:43:41.858832+00:00}
2024-11-19 11:43:44.501079+00:00Config /config /metadata
2024-11-19 11:43:44.509261+00:00[2024-11-19 13:43:44.508] INFO: === Starting Server ===
2024-11-19 11:43:44.509697+00:00[2024-11-19 13:43:44.509] INFO: [Server] Init v2.17.0
2024-11-19 11:43:44.509798+00:00[2024-11-19 13:43:44.509] INFO: [Server] Node.js Version: v20.18.0
2024-11-19 11:43:44.509951+00:00[2024-11-19 13:43:44.509] INFO: [Server] Platform: linux
2024-11-19 11:43:44.510054+00:00[2024-11-19 13:43:44.509] INFO: [Server] Arch: x64
2024-11-19 11:43:44.512392+00:00[2024-11-19 13:43:44.512] INFO: [Database] Initializing db at "/config/absdatabase.sqlite"
2024-11-19 11:43:44.531161+00:00[2024-11-19 13:43:44.531] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:43:44.531484+00:00[2024-11-19 13:43:44.531] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so
2024-11-19 11:43:44.531617+00:00[2024-11-19 13:43:44.531] INFO: [Database] Db supports unaccent and unicode foldings
2024-11-19 11:43:44.531890+00:00[2024-11-19 13:43:44.531] INFO: [Database] Db connection was successful
2024-11-19 11:43:44.535478+00:00[2024-11-19 13:43:44.535] INFO: [MigrationManager] Database is already up to date.
2024-11-19 11:43:44.607408+00:00[2024-11-19 13:43:44.607] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare
2024-11-19 11:43:44.620312+00:00[2024-11-19 13:43:44.620] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt
2024-11-19 11:43:44.624831+00:00[2024-11-19 13:43:44.624] INFO: [BackupManager] 0 Backups Found
2024-11-19 11:43:44.625008+00:00[2024-11-19 13:43:44.624] INFO: [BackupManager] Auto Backups are disabled
2024-11-19 11:43:44.635135+00:00[2024-11-19 13:43:44.635] INFO: [Watcher] Initializing watcher for "Audiobooks".
2024-11-19 11:43:44.640558+00:00[2024-11-19 13:43:44.640] INFO: Listening on port :30067
2024-11-19 11:43:44.648547+00:00[2024-11-19 13:43:44.648] INFO: [Watcher] "Audiobooks" Ready

Additional Notes

TrueNas scale

*Originally created by @Th3K1ngP1n on 11/19/2024* ### What happened? Reinstallation crashing when trying to add library. Exits with sockets failed and continues to loop. ### What did you expect to happen? The installation to go through ### Steps to reproduce the issue 1. Install on TrueNas scale 2. Add additional mount point /audiobooks 3. Add library in app pointing to mount ### Audiobookshelf version 2.17.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Other (list in "Additional Notes" box) ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell 2024-11-19 11:40:11.266243+00:00Config /config /metadata 2024-11-19 11:40:11.274416+00:00[2024-11-19 13:40:11.273] INFO: === Starting Server === 2024-11-19 11:40:11.274864+00:00[2024-11-19 13:40:11.274] INFO: [Server] Init v2.17.0 2024-11-19 11:40:11.274980+00:00[2024-11-19 13:40:11.274] INFO: [Server] Node.js Version: v20.18.0 2024-11-19 11:40:11.275162+00:00[2024-11-19 13:40:11.275] INFO: [Server] Platform: linux 2024-11-19 11:40:11.275279+00:00[2024-11-19 13:40:11.275] INFO: [Server] Arch: x64 2024-11-19 11:40:11.277825+00:00[2024-11-19 13:40:11.277] INFO: [Database] absdatabase.sqlite not found at /config/absdatabase.sqlite 2024-11-19 11:40:11.278072+00:00[2024-11-19 13:40:11.277] INFO: [Database] Initializing db at "/config/absdatabase.sqlite" 2024-11-19 11:40:11.298317+00:00[2024-11-19 13:40:11.298] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:40:11.298682+00:00[2024-11-19 13:40:11.298] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:40:11.298892+00:00[2024-11-19 13:40:11.298] INFO: [Database] Db supports unaccent and unicode foldings 2024-11-19 11:40:11.298987+00:00[2024-11-19 13:40:11.298] INFO: [Database] Db connection was successful 2024-11-19 11:40:12.225383+00:00[2024-11-19 13:40:12.225] INFO: [MigrationManager] Database is new. Skipping migrations. 2024-11-19 11:40:21.434830+00:00[2024-11-19 13:40:21.434] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare 2024-11-19 11:40:21.457756+00:00[2024-11-19 13:40:21.457] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt 2024-11-19 11:40:21.778428+00:00[2024-11-19 13:40:21.778] INFO: [BackupManager] 0 Backups Found 2024-11-19 11:40:21.778762+00:00[2024-11-19 13:40:21.778] INFO: [BackupManager] Auto Backups are disabled 2024-11-19 11:40:21.802294+00:00[2024-11-19 13:40:21.801] INFO: Listening on port :30067 2024-11-19 11:41:16.703820+00:00[2024-11-19 13:41:16.703] INFO: [Server] Initializing new server 2024-11-19 11:41:16.704202+00:00[2024-11-19 13:41:16.703] WARN: [Server] Creating root user with no password 2024-11-19 11:41:21.407380+00:00[2024-11-19 13:41:21.407] INFO: [Auth] User "root" logged in from ip ::ffff:192.168.1.214 2024-11-19 11:41:21.692003+00:00[2024-11-19 13:41:21.691] INFO: [SocketAuthority] Socket Connected 1vm20k9V1-rl8uZYAAAB 2024-11-19 11:41:40.800434+00:00[2024-11-19 13:41:40.800] INFO: [Watcher] Initializing watcher for "Audiobooks". 2024-11-19 11:41:40.817842+00:00[2024-11-19 13:41:40.817] INFO: [Watcher] "Audiobooks" Ready 2024-11-19 11:41:40.935898+00:00[2024-11-19 13:41:40.935] FATAL: [Server] Unhandled rejection: TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:41:40.935937+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:41:40.935956+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 2024-11-19 11:41:40.935986+00:00promise: Promise { 2024-11-19 11:41:40.936001+00:00<rejected> TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:41:40.936017+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:41:40.936042+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 2024-11-19 11:41:40.936057+00:00} 2024-11-19 11:41:43.419831+00:00Config /config /metadata 2024-11-19 11:41:43.427808+00:00[2024-11-19 13:41:43.427] INFO: === Starting Server === 2024-11-19 11:41:43.428260+00:00[2024-11-19 13:41:43.428] INFO: [Server] Init v2.17.0 2024-11-19 11:41:43.428380+00:00[2024-11-19 13:41:43.428] INFO: [Server] Node.js Version: v20.18.0 2024-11-19 11:41:43.428564+00:00[2024-11-19 13:41:43.428] INFO: [Server] Platform: linux 2024-11-19 11:41:43.428690+00:00[2024-11-19 13:41:43.428] INFO: [Server] Arch: x64 2024-11-19 11:41:43.431141+00:00[2024-11-19 13:41:43.431] INFO: [Database] Initializing db at "/config/absdatabase.sqlite" 2024-11-19 11:41:43.450351+00:00[2024-11-19 13:41:43.450] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:41:43.450606+00:00[2024-11-19 13:41:43.450] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:41:43.450737+00:00[2024-11-19 13:41:43.450] INFO: [Database] Db supports unaccent and unicode foldings 2024-11-19 11:41:43.450909+00:00[2024-11-19 13:41:43.450] INFO: [Database] Db connection was successful 2024-11-19 11:41:43.454084+00:00[2024-11-19 13:41:43.453] INFO: [MigrationManager] Database is already up to date. 2024-11-19 11:41:43.527907+00:00[2024-11-19 13:41:43.527] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare 2024-11-19 11:41:43.540834+00:00[2024-11-19 13:41:43.540] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt 2024-11-19 11:41:43.545485+00:00[2024-11-19 13:41:43.545] INFO: [BackupManager] 0 Backups Found 2024-11-19 11:41:43.545670+00:00[2024-11-19 13:41:43.545] INFO: [BackupManager] Auto Backups are disabled 2024-11-19 11:41:43.555577+00:00[2024-11-19 13:41:43.555] INFO: [Watcher] Initializing watcher for "Audiobooks". 2024-11-19 11:41:43.560843+00:00[2024-11-19 13:41:43.560] INFO: Listening on port :30067 2024-11-19 11:41:43.568185+00:00[2024-11-19 13:41:43.568] INFO: [Watcher] "Audiobooks" Ready 2024-11-19 11:41:44.305520+00:00[2024-11-19 13:41:44.305] INFO: [SocketAuthority] Socket Connected GstT84n4DooGpifoAAAB 2024-11-19 11:41:47.252264+00:00[2024-11-19 13:41:47.252] INFO: [LibraryScanner] Library metadata precedence changed since last scan. From [Unset] to [folderStructure,audioMetatags,nfoFile,txtFiles,opfFile,absMetadata] 2024-11-19 11:41:47.253021+00:00[2024-11-19 13:41:47.252] INFO: [LibraryScanner] Starting (forced) library scan a087d06f-a243-44cf-aa7e-8c24228c268e for Audiobooks 2024-11-19 11:41:47.263026+00:00[2024-11-19 13:41:47.261] ERROR: [LibraryScanner] Library scan a087d06f-a243-44cf-aa7e-8c24228c268e failed after 0:00.0 | 0 Added | 0 Updated | 0 Missing. TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:41:47.263060+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:41:47.263069+00:00at async LibraryScanner.scanLibrary (/server/scanner/LibraryScanner.js:146:5) 2024-11-19 11:41:47.263077+00:00at async LibraryScanner.scan (/server/scanner/LibraryScanner.js:89:24) 2024-11-19 11:41:47.263085+00:00at async ApiRouter.scan (/server/controllers/LibraryController.js:1165:5) 2024-11-19 11:41:47.263873+00:00[2024-11-19 13:41:47.263] INFO: [LibraryController] Scan complete 2024-11-19 11:41:47.264660+00:00[2024-11-19 13:41:47.264] INFO: [LibraryScan] Scan log saved "/metadata/logs/scans/2024-11-19_a087d06f-a243-44cf-aa7e-8c24228c268e.txt" 2024-11-19 11:42:20.479862+00:00[2024-11-19 13:42:20.479] INFO: [SocketAuthority] Socket GstT84n4DooGpifoAAAB disconnected from client "root" after 36174ms (Reason: transport close) 2024-11-19 11:42:21.031184+00:00[2024-11-19 13:42:21.031] INFO: [SocketAuthority] Socket Connected cazQrsST5-eMfwLvAAAD 2024-11-19 11:42:53.519503+00:00[2024-11-19 13:42:53.519] INFO: [SocketAuthority] Socket cazQrsST5-eMfwLvAAAD disconnected from client "root" after 32489ms (Reason: transport close) 2024-11-19 11:43:26.386180+00:00[2024-11-19 13:43:26.385] INFO: [SocketAuthority] Socket Connected 1EGSXmbdrNOziKP2AAAF 2024-11-19 11:43:28.509595+00:00[2024-11-19 13:43:28.509] FATAL: [Server] Unhandled rejection: TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:43:28.509644+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:43:28.509686+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 2024-11-19 11:43:28.509702+00:00promise: Promise { 2024-11-19 11:43:28.509717+00:00<rejected> TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:43:28.509733+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:43:28.509759+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 2024-11-19 11:43:28.509774+00:00} 2024-11-19 11:43:32.048570+00:00Config /config /metadata 2024-11-19 11:43:32.056632+00:00[2024-11-19 13:43:32.056] INFO: === Starting Server === 2024-11-19 11:43:32.057085+00:00[2024-11-19 13:43:32.056] INFO: [Server] Init v2.17.0 2024-11-19 11:43:32.057193+00:00[2024-11-19 13:43:32.057] INFO: [Server] Node.js Version: v20.18.0 2024-11-19 11:43:32.057367+00:00[2024-11-19 13:43:32.057] INFO: [Server] Platform: linux 2024-11-19 11:43:32.057477+00:00[2024-11-19 13:43:32.057] INFO: [Server] Arch: x64 2024-11-19 11:43:32.059611+00:00[2024-11-19 13:43:32.059] INFO: [Database] Initializing db at "/config/absdatabase.sqlite" 2024-11-19 11:43:32.078106+00:00[2024-11-19 13:43:32.077] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:43:32.078472+00:00[2024-11-19 13:43:32.078] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:43:32.078578+00:00[2024-11-19 13:43:32.078] INFO: [Database] Db supports unaccent and unicode foldings 2024-11-19 11:43:32.078762+00:00[2024-11-19 13:43:32.078] INFO: [Database] Db connection was successful 2024-11-19 11:43:32.082244+00:00[2024-11-19 13:43:32.082] INFO: [MigrationManager] Database is already up to date. 2024-11-19 11:43:32.154081+00:00[2024-11-19 13:43:32.153] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare 2024-11-19 11:43:32.166967+00:00[2024-11-19 13:43:32.166] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt 2024-11-19 11:43:32.171574+00:00[2024-11-19 13:43:32.171] INFO: [BackupManager] 0 Backups Found 2024-11-19 11:43:32.171746+00:00[2024-11-19 13:43:32.171] INFO: [BackupManager] Auto Backups are disabled 2024-11-19 11:43:32.181563+00:00[2024-11-19 13:43:32.181] INFO: [Watcher] Initializing watcher for "Audiobooks". 2024-11-19 11:43:32.186987+00:00[2024-11-19 13:43:32.186] INFO: Listening on port :30067 2024-11-19 11:43:32.194019+00:00[2024-11-19 13:43:32.193] INFO: [Watcher] "Audiobooks" Ready 2024-11-19 11:43:41.858624+00:00[2024-11-19 13:43:41.858] FATAL: [Server] Unhandled rejection: TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:43:41.858705+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:43:41.858743+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 2024-11-19 11:43:41.858759+00:00promise: Promise { 2024-11-19 11:43:41.858775+00:00<rejected> TypeError: Cannot read properties of undefined (reading 'bookCount') 2024-11-19 11:43:41.858791+00:00at Object.getFilterData (/server/utils/queries/libraryFilters.js:616:77) 2024-11-19 11:43:41.858816+00:00at async ApiRouter.findOne (/server/controllers/LibraryController.js:198:26) 2024-11-19 11:43:41.858832+00:00} 2024-11-19 11:43:44.501079+00:00Config /config /metadata 2024-11-19 11:43:44.509261+00:00[2024-11-19 13:43:44.508] INFO: === Starting Server === 2024-11-19 11:43:44.509697+00:00[2024-11-19 13:43:44.509] INFO: [Server] Init v2.17.0 2024-11-19 11:43:44.509798+00:00[2024-11-19 13:43:44.509] INFO: [Server] Node.js Version: v20.18.0 2024-11-19 11:43:44.509951+00:00[2024-11-19 13:43:44.509] INFO: [Server] Platform: linux 2024-11-19 11:43:44.510054+00:00[2024-11-19 13:43:44.509] INFO: [Server] Arch: x64 2024-11-19 11:43:44.512392+00:00[2024-11-19 13:43:44.512] INFO: [Database] Initializing db at "/config/absdatabase.sqlite" 2024-11-19 11:43:44.531161+00:00[2024-11-19 13:43:44.531] INFO: [Database] Loading extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:43:44.531484+00:00[2024-11-19 13:43:44.531] INFO: [Database] Successfully loaded extension /usr/local/lib/nusqlite3/libnusqlite3.so 2024-11-19 11:43:44.531617+00:00[2024-11-19 13:43:44.531] INFO: [Database] Db supports unaccent and unicode foldings 2024-11-19 11:43:44.531890+00:00[2024-11-19 13:43:44.531] INFO: [Database] Db connection was successful 2024-11-19 11:43:44.535478+00:00[2024-11-19 13:43:44.535] INFO: [MigrationManager] Database is already up to date. 2024-11-19 11:43:44.607408+00:00[2024-11-19 13:43:44.607] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting, customMetadataProvider, mediaItemShare 2024-11-19 11:43:44.620312+00:00[2024-11-19 13:43:44.620] INFO: [LogManager] Init current daily log filename: 2024-11-19.txt 2024-11-19 11:43:44.624831+00:00[2024-11-19 13:43:44.624] INFO: [BackupManager] 0 Backups Found 2024-11-19 11:43:44.625008+00:00[2024-11-19 13:43:44.624] INFO: [BackupManager] Auto Backups are disabled 2024-11-19 11:43:44.635135+00:00[2024-11-19 13:43:44.635] INFO: [Watcher] Initializing watcher for "Audiobooks". 2024-11-19 11:43:44.640558+00:00[2024-11-19 13:43:44.640] INFO: Listening on port :30067 2024-11-19 11:43:44.648547+00:00[2024-11-19 13:43:44.648] INFO: [Watcher] "Audiobooks" Ready ``` ### Additional Notes TrueNas scale
navan 2025-10-14 18:14:31 -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#969
No description provided.