[Bug]: Docker container crashes without any log entry #1675

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

Originally created by @huggenknubbel on GitHub (Jan 20, 2024).

Describe the issue

container stops working after ~3-4 Minutes
the only thing i can see is a warning while strting the Container

[2024-01-20 14:41:03.760] INFO: [Server] Watcher is disabled
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.

maybe that process stops and the container is going down?

Steps to reproduce the issue

  1. cd into container
  2. docker compose up -d
  3. wait
  4. ???
  5. crash

Audiobookshelf version

v2.7.2

How are you running audiobookshelf?

Docker

Originally created by @huggenknubbel on GitHub (Jan 20, 2024). ### Describe the issue container stops working after ~3-4 Minutes the only thing i can see is a warning while strting the Container ``` [2024-01-20 14:41:03.760] INFO: [Server] Watcher is disabled Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process. ``` maybe that process stops and the container is going down? ### Steps to reproduce the issue 1. cd into container 2. docker compose up -d 3. wait 4. ??? 5. crash ### Audiobookshelf version v2.7.2 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:54:24 +02:00
adam closed this issue 2026-04-24 23:54:25 +02:00
Author
Owner

@nichwall commented on GitHub (Jan 20, 2024):

Have you set your log level to debug, and have you looked at the docker logs instead of just the ABS logs?

@nichwall commented on GitHub (Jan 20, 2024): Have you set your log level to debug, and have you looked at the docker logs instead of just the ABS logs?
Author
Owner

@huggenknubbel commented on GitHub (Jan 20, 2024):

i set the loglevel to debug. After the last entry, the container restarts

[2024-01-20 16:20:13.965] DEBUG: [SocketAuthority] User Online Huggenknubbel (SocketAuthority.js:205)
[2024-01-20 16:20:14.000] DEBUG: [ApiCacheManager] count: 1 size: 1247 (ApiCacheManager.js:29)
[2024-01-20 16:20:14.001] DEBUG: [ApiCacheManager] count: 1 size: 1247 (ApiCacheManager.js:29)
[2024-01-20 16:20:14.011] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries"} (ApiCacheManager.js:40)
[2024-01-20 16:20:14.035] DEBUG: Loaded 0 of 0 items for "Continue Listening/Reading" in 0.02s (LibraryItem.js:600)
[2024-01-20 16:20:14.050] DEBUG: Loaded 0 of 0 items for "Continue Series" in 0.01s (LibraryItem.js:617)
[2024-01-20 16:20:14.221] DEBUG: Loaded 10 of 11 items for "Recently Added" in 0.17s (LibraryItem.js:647)
[2024-01-20 16:20:14.327] DEBUG: Loaded 1 of 1 series for "Recent Series" in 0.10s (LibraryItem.js:663)
[2024-01-20 16:20:14.395] DEBUG: Loaded 1 of 1 items for "Discover" in 0.07s (LibraryItem.js:678)
[2024-01-20 16:20:14.402] DEBUG: Loaded 0 of 0 items for "Listen/Read Again" in 0.01s (LibraryItem.js:709)
[2024-01-20 16:20:14.410] DEBUG: Loaded 1 of 1 authors for "Newest Authors" in 0.01s (LibraryItem.js:725)
[2024-01-20 16:20:14.410] DEBUG: Loaded 4 personalized shelves in 0.40s (LibraryItem.js:728)
[2024-01-20 16:20:14.410] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617/personalized?i                                                       nclude=rssfeed,numEpisodesIncomplete"} (ApiCacheManager.js:40)
[2024-01-20 16:20:14.411] DEBUG: [ApiCacheManager] Caching with 1800000 ms TTL (ApiCacheManager.js:43)
[2024-01-20 16:20:49.868] DEBUG: [ApiCacheManager] count: 3 size: 49843 (ApiCacheManager.js:29)
[2024-01-20 16:20:49.869] DEBUG: [ApiCacheManager] Cache hit: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617?include=filterd                                                       ata"} (ApiCacheManager.js:32)
[2024-01-20 16:20:49.935] DEBUG: [ApiCacheManager] count: 3 size: 49843 (ApiCacheManager.js:29)
[2024-01-20 16:20:49.940] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617/narrators"} (A                                                       piCacheManager.js:40)
[2024-01-20 16:20:52.516] DEBUG: [ApiCacheManager] count: 4 size: 49979 (ApiCacheManager.js:29)
[2024-01-20 16:20:52.517] DEBUG: [ApiCacheManager] Cache hit: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617?include=filterd                                                       ata"} (ApiCacheManager.js:32)
[2024-01-20 16:20:52.621] DEBUG: [ApiCacheManager] count: 4 size: 49979 (ApiCacheManager.js:29)
[2024-01-20 16:20:52.744] DEBUG: Loaded 11 of 11 items for libary page in 0.12s (LibraryItem.js:530)
[2024-01-20 16:20:52.772] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617/items?sort=med                                                       ia.metadata.title&desc=0&limit=100&page=0&minified=1&include=rssfeed,numEpisodesIncomplete"} (ApiCacheManager.js:40)

the issue appears if i logged into the web interface. it seems to work everything fine. eccept the crashes.

@huggenknubbel commented on GitHub (Jan 20, 2024): i set the loglevel to debug. After the last entry, the container restarts ``` [2024-01-20 16:20:13.965] DEBUG: [SocketAuthority] User Online Huggenknubbel (SocketAuthority.js:205) [2024-01-20 16:20:14.000] DEBUG: [ApiCacheManager] count: 1 size: 1247 (ApiCacheManager.js:29) [2024-01-20 16:20:14.001] DEBUG: [ApiCacheManager] count: 1 size: 1247 (ApiCacheManager.js:29) [2024-01-20 16:20:14.011] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries"} (ApiCacheManager.js:40) [2024-01-20 16:20:14.035] DEBUG: Loaded 0 of 0 items for "Continue Listening/Reading" in 0.02s (LibraryItem.js:600) [2024-01-20 16:20:14.050] DEBUG: Loaded 0 of 0 items for "Continue Series" in 0.01s (LibraryItem.js:617) [2024-01-20 16:20:14.221] DEBUG: Loaded 10 of 11 items for "Recently Added" in 0.17s (LibraryItem.js:647) [2024-01-20 16:20:14.327] DEBUG: Loaded 1 of 1 series for "Recent Series" in 0.10s (LibraryItem.js:663) [2024-01-20 16:20:14.395] DEBUG: Loaded 1 of 1 items for "Discover" in 0.07s (LibraryItem.js:678) [2024-01-20 16:20:14.402] DEBUG: Loaded 0 of 0 items for "Listen/Read Again" in 0.01s (LibraryItem.js:709) [2024-01-20 16:20:14.410] DEBUG: Loaded 1 of 1 authors for "Newest Authors" in 0.01s (LibraryItem.js:725) [2024-01-20 16:20:14.410] DEBUG: Loaded 4 personalized shelves in 0.40s (LibraryItem.js:728) [2024-01-20 16:20:14.410] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617/personalized?i nclude=rssfeed,numEpisodesIncomplete"} (ApiCacheManager.js:40) [2024-01-20 16:20:14.411] DEBUG: [ApiCacheManager] Caching with 1800000 ms TTL (ApiCacheManager.js:43) [2024-01-20 16:20:49.868] DEBUG: [ApiCacheManager] count: 3 size: 49843 (ApiCacheManager.js:29) [2024-01-20 16:20:49.869] DEBUG: [ApiCacheManager] Cache hit: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617?include=filterd ata"} (ApiCacheManager.js:32) [2024-01-20 16:20:49.935] DEBUG: [ApiCacheManager] count: 3 size: 49843 (ApiCacheManager.js:29) [2024-01-20 16:20:49.940] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617/narrators"} (A piCacheManager.js:40) [2024-01-20 16:20:52.516] DEBUG: [ApiCacheManager] count: 4 size: 49979 (ApiCacheManager.js:29) [2024-01-20 16:20:52.517] DEBUG: [ApiCacheManager] Cache hit: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617?include=filterd ata"} (ApiCacheManager.js:32) [2024-01-20 16:20:52.621] DEBUG: [ApiCacheManager] count: 4 size: 49979 (ApiCacheManager.js:29) [2024-01-20 16:20:52.744] DEBUG: Loaded 11 of 11 items for libary page in 0.12s (LibraryItem.js:530) [2024-01-20 16:20:52.772] DEBUG: [ApiCacheManager] Cache miss: {"user":"Huggenknubbel","url":"/libraries/f0d039e0-0632-4986-b857-b02ad724c617/items?sort=med ia.metadata.title&desc=0&limit=100&page=0&minified=1&include=rssfeed,numEpisodesIncomplete"} (ApiCacheManager.js:40) ``` the issue appears if i logged into the web interface. it seems to work everything fine. eccept the crashes.
Author
Owner

@advplyr commented on GitHub (Jan 21, 2024):

Do you have the container set to auto restart?

@advplyr commented on GitHub (Jan 21, 2024): Do you have the container set to auto restart?
Author
Owner

@huggenknubbel commented on GitHub (Jan 21, 2024):

yes.
restart: always

@huggenknubbel commented on GitHub (Jan 21, 2024): yes. `restart: always`
Author
Owner

@huggenknubbel commented on GitHub (Jan 21, 2024):

ok maybe i found the reason.
call me a dump admin.
there was a old cronjob who tried to mount at the audiobook storage path every 5 minutes.

@huggenknubbel commented on GitHub (Jan 21, 2024): ok maybe i found the reason. call me a dump admin. there was a old cronjob who tried to mount at the audiobook storage path every 5 minutes.
Author
Owner

@advplyr commented on GitHub (Jan 21, 2024):

Is this resolved?

@advplyr commented on GitHub (Jan 21, 2024): Is this resolved?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1675