Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Crash on adding podcast #1290

Closed
raubreywhite opened this issue Dec 19, 2022 · 2 comments
Closed

[Bug]: Crash on adding podcast #1290

raubreywhite opened this issue Dec 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@raubreywhite
Copy link

raubreywhite commented Dec 19, 2022

Describe the issue

The server crashes whenever I try to add a podcast.

2022-12-19 07:58:09 audiobookshelf-audiobookshelf-1  | 
2022-12-19 07:58:09 audiobookshelf-audiobookshelf-1  | > audiobookshelf@2.2.10 start
2022-12-19 07:58:09 audiobookshelf-audiobookshelf-1  | > node index.js
2022-12-19 07:58:09 audiobookshelf-audiobookshelf-1  | 
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | Config /config /metadata
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: === Starting Server ===
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [Server] Init v2.2.10
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 0 Collections Loaded
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 0 Playlists Loaded
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 1 Users Loaded
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 2 Libraries Loaded
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 4 Authors Loaded
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 3 Series Loaded
2022-12-19 07:58:10 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:10]  INFO: [DB] 5 Library Items Loaded
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: [BackupManager] 0 Backups Found
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: [BackupManager] Auto Backups are disabled
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: [LogManager] Init current daily log filename: 2022-12-19.txt
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: [Watcher] Initializing watcher for "Audiobooks".
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: [Watcher] Initializing watcher for "Podcasts".
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: Listening on port :80
2022-12-19 07:58:11 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:11]  INFO: [Watcher] "Podcasts" Ready
2022-12-19 07:58:12 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:12]  INFO: [Server] Socket Connected MMVeZcybrMnvIfVLAAAB
2022-12-19 07:58:12 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:12]  INFO: [Watcher] "Audiobooks" Ready
2022-12-19 07:58:13 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:13]  INFO: [Server] Socket Connected L_J36p6j7TVegardAAAD
2022-12-19 07:58:14 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:14]  INFO: [Server] Socket Connected 0wiMm90mfUskJs2iAAAF
2022-12-19 07:58:16 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:16]  INFO: [Server] Socket Connected QJPwve3JcwHxkQ3vAAAH
2022-12-19 07:58:27 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:27]  INFO: [Watcher] Re-Initializing watcher for "Podcasts".
2022-12-19 07:58:27 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:27]  INFO: [Watcher] Initializing watcher for "Podcasts".
2022-12-19 07:58:27 audiobookshelf-audiobookshelf-1  | [2022-12-19 06:58:27]  INFO: [Watcher] "Podcasts" Ready
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  | /server/libs/njodb/index.js:103
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |         throw error;
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |         ^
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  | 
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  | TypeError: Cannot read properties of null (reading 'replace')
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at ApiRouter.create (/server/controllers/PodcastController.js:33:36)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at next (/node_modules/express/lib/router/route.js:144:13)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at Route.dispatch (/node_modules/express/lib/router/route.js:114:3)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at /node_modules/express/lib/router/index.js:284:15
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at Function.process_params (/node_modules/express/lib/router/index.js:346:12)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at next (/node_modules/express/lib/router/index.js:280:10)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at expressInit (/node_modules/express/lib/middleware/init.js:40:5)
2022-12-19 07:58:40 audiobookshelf-audiobookshelf-1  |     at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)

Steps to reproduce the issue

Podcasts > Search > "Blowback"

image

Click on "Submit"

image

And then the server crashes.

image

Audiobookshelf version

v2.2.10

How are you running audiobookshelf?

Docker

@raubreywhite raubreywhite added the bug Something isn't working label Dec 19, 2022
@advplyr advplyr added the awaiting release Issue is resolved and will be in the next release label Dec 19, 2022
@advplyr
Copy link
Owner

advplyr commented Dec 20, 2022

Fixed in v2.2.11

@advplyr advplyr closed this as completed Dec 20, 2022
@advplyr advplyr removed the awaiting release Issue is resolved and will be in the next release label Dec 20, 2022
@raubreywhite
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants