Open Haplo99 opened 5 hours ago
First of all, please attach the log file (at %localappdata%\AudiobookshelfTray\logfile.txt
)
The message tells me that the server was not shut down properly and it's still running. To fix this:
Node.js JavaScript Runtime
End task
Exit
)This should resolve the EACCES issue and let you start the server again.
I'm not sure what caused the server not to shutdown properly during the update process (this is why I asked for the log), but I suspect that this is probably a transient issue, so you can safely try again to to update to the latest version. Let me know how it goes.
couldn't find "Node.js JavaScript Runtime". couldn't find it on processes or details. if it helps issue started week ago and computers reset many times since then and always pops up the error on starup. have included the log
Hmm. Ok, can you please:
cmd
, right-click on Command Prompt, and select Run as Administrator
netstat -aon | findstr :13378
Does this show any output? If so, please copy and paste here
shows nothing, just straight to another cmd line
OK, next I'd like to see if you're able to run on on port 13379.
Settings
Save
Changing server setting requires a server restart...
. Click Yes
Is the server now running?
nope, same error code 1 and unable to connect. added the most recent log logfile.txt
everything was working well, allowed it to atoupdate to 17.2 and server crashed out with "server exited with error code 1" going back a version or 2 stops the error on start but still won't allow even all the way back to 2.16
Server logs below
production Config C:\Users\Mark\AppData\Local\Audiobookshelf\config C:\Users\Mark\AppData\Local\Audiobookshelf\metadata [2024-11-25 15:53:36.069] INFO: === Starting Server === [2024-11-25 15:53:36.070] INFO: [Server] Init v2.17.2 [2024-11-25 15:53:36.070] INFO: [Server] Node.js Version: v20.18.0 [2024-11-25 15:53:36.070] INFO: [Server] Platform: win32 [2024-11-25 15:53:36.070] INFO: [Server] Arch: x64 [2024-11-25 15:53:36.107] INFO: [BinaryManager] Found valid executable ffmpeg at C:\Users\Mark\AppData\Local\Programs\Audiobookshelf\ffmpeg.exe [2024-11-25 15:53:36.107] INFO: [BinaryManager] Updating process.env.FFMPEG_PATH [2024-11-25 15:53:36.134] INFO: [BinaryManager] Found valid executable ffprobe at C:\Users\Mark\AppData\Local\Programs\Audiobookshelf\ffprobe.exe [2024-11-25 15:53:36.134] INFO: [BinaryManager] Updating process.env.FFPROBE_PATH [2024-11-25 15:53:36.135] INFO: [BinaryManager] Found valid library libnusqlite3 at C:\Users\Mark\AppData\Local\Programs\Audiobookshelf\libnusqlite3.dll [2024-11-25 15:53:36.135] INFO: [BinaryManager] Updating process.env.NUSQLITE3_PATH [2024-11-25 15:53:36.135] INFO: [Database] Initializing db at "C:\Users\Mark\AppData\Local\Audiobookshelf\config\absdatabase.sqlite" [2024-11-25 15:53:36.147] INFO: [Database] Loading extension C:\Users\Mark\AppData\Local\Programs\Audiobookshelf\libnusqlite3.dll [2024-11-25 15:53:36.148] INFO: [Database] Successfully loaded extension C:\Users\Mark\AppData\Local\Programs\Audiobookshelf\libnusqlite3.dll [2024-11-25 15:53:36.148] INFO: [Database] Db supports unaccent and unicode foldings [2024-11-25 15:53:36.148] INFO: [Database] Db connection was successful [2024-11-25 15:53:36.150] INFO: [MigrationManager] Database is already up to date. [2024-11-25 15:53:36.217] 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-25 15:53:36.230] INFO: [LogManager] Removed daily log: 2024-11-18.txt [2024-11-25 15:53:36.230] INFO: [LogManager] Init current daily log filename: 2024-11-25.txt [2024-11-25 15:53:36.235] INFO: [BackupManager] 0 Backups Found [2024-11-25 15:53:36.235] INFO: [BackupManager] Auto Backups are disabled [2024-11-25 15:53:36.242] INFO: [Watcher] Initializing watcher for "Nooobs". [2024-11-25 15:53:36.242] INFO: [Watcher] Initializing watcher for "Checker for stuff to keep". [2024-11-25 15:53:36.247] FATAL: [Server] Uncaught exception origin: uncaughtException, error: Error: listen EACCES: permission denied 0.0.0.0:13378 at Server.setupListenHandle [as _listen2] (node:net:1882:21) at listenInCluster (node:net:1961:12) at Server.listen (node:net:2063:7) at Server.start (C:\snapshot\audiobookshelf\server\Server.js) { code: 'EACCES', errno: -4092, syscall: 'listen', address: '0.0.0.0', port: 13378 } node:events:497 throw er; // Unhandled 'error' event ^ Error: listen EACCES: permission denied 0.0.0.0:13378 at Server.setupListenHandle [as _listen2] (node:net:1882:21) at listenInCluster (node:net:1961:12) at Server.listen (node:net:2063:7) at Server.start (C:\snapshot\audiobookshelf\server\Server.js) Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1940:8) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'EACCES', errno: -4092, syscall: 'listen', address: '0.0.0.0', port: 13378 } Node.js v20.18.0