v1.6.55 doesn't work with debian #166

Closed
opened 2026-04-24 22:59:57 +02:00 by adam · 0 comments
Owner

Originally created by @szemlicka on GitHub (Jan 9, 2022).

Hi,

I tried today 1.6.55 and got the same error like I got withg 54.

root@books:/usr/share/audiobookshelf# ./audiobookshelf
production Config /usr/share/audiobookshelf/config /usr/share/audiobookshelf/metadata /usr/share/audiobookshelf/audiobooks
[2022-01-09T09:48:02.687Z] INFO: === Starting Server ===
[2022-01-09T09:48:02.687Z] INFO: [Server] Init v1.6.55
(node:1024316) UnhandledPromiseRejectionWarning: Error: Function must return a value
at validateFunction (/snapshot/audiobookshelf/node_modules/njodb/lib/validators.js:58:81)
at Database.select (/snapshot/audiobookshelf/node_modules/njodb/index.js:365:9)
at Db.load (/snapshot/audiobookshelf/server/Db.js)
at Db.init (/snapshot/audiobookshelf/server/Db.js)
at Server.init (/snapshot/audiobookshelf/server/Server.js)
at async Server.start (/snapshot/audiobookshelf/server/Server.js)
(node:1024316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(node:1024316) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Originally created by @szemlicka on GitHub (Jan 9, 2022). Hi, I tried today 1.6.55 and got the same error like I got withg 54. root@books:/usr/share/audiobookshelf# ./audiobookshelf production Config /usr/share/audiobookshelf/config /usr/share/audiobookshelf/metadata /usr/share/audiobookshelf/audiobooks [2022-01-09T09:48:02.687Z] INFO: === Starting Server === [2022-01-09T09:48:02.687Z] INFO: [Server] Init v1.6.55 (node:1024316) UnhandledPromiseRejectionWarning: Error: Function must return a value at validateFunction (/snapshot/audiobookshelf/node_modules/njodb/lib/validators.js:58:81) at Database.select (/snapshot/audiobookshelf/node_modules/njodb/index.js:365:9) at Db.load (/snapshot/audiobookshelf/server/Db.js) at Db.init (/snapshot/audiobookshelf/server/Db.js) at Server.init (/snapshot/audiobookshelf/server/Server.js) at async Server.start (/snapshot/audiobookshelf/server/Server.js) (node:1024316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7) (node:1024316) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
adam closed this issue 2026-04-24 22:59:57 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#166